<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
<!ENTITY pi "&#960;">
<!ENTITY solidus "&#8260;">
]>
<refentry id="GtkIMMulticontext">
<refmeta>
<refentrytitle role="top_of_page" id="GtkIMMulticontext.top_of_page">GtkIMMulticontext</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkIMMulticontext</refname>
<refpurpose>An input method context supporting multiple, loadable input methods</refpurpose>
</refnamediv>

<refsect1 id="GtkIMMulticontext.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkIMContext"><returnvalue>GtkIMContext</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-im-multicontext-new">gtk_im_multicontext_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="char"><returnvalue>char</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-im-multicontext-get-context-id">gtk_im_multicontext_get_context_id</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-im-multicontext-set-context-id">gtk_im_multicontext_set_context_id</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkIMMulticontext.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="GtkIMMulticontext-struct">GtkIMMulticontext</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkIMMulticontext.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkIMContext">GtkIMContext</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkIMMulticontext
</screen>
</refsect1>

<refsect1 id="GtkIMMulticontext.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtk.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkIMMulticontext.description" role="desc">
<title role="desc.title">Description</title>

</refsect1>
<refsect1 id="GtkIMMulticontext.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-im-multicontext-new" role="function">
<title>gtk_im_multicontext_new&#160;()</title>
<indexterm zone="gtk-im-multicontext-new"><primary>gtk_im_multicontext_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkIMContext"><returnvalue>GtkIMContext</returnvalue></link>&#160;*
gtk_im_multicontext_new (<parameter><type>void</type></parameter>);</programlisting>
<para>Creates a new <link linkend="GtkIMMulticontext"><type>GtkIMMulticontext</type></link>.</para>
<refsect3 id="gtk-im-multicontext-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkIMMulticontext"><type>GtkIMMulticontext</type></link>.</para>
</refsect3></refsect2>
<refsect2 id="gtk-im-multicontext-get-context-id" role="function">
<title>gtk_im_multicontext_get_context_id&#160;()</title>
<indexterm zone="gtk-im-multicontext-get-context-id"><primary>gtk_im_multicontext_get_context_id</primary></indexterm>
<programlisting language="C">const <link linkend="char"><returnvalue>char</returnvalue></link>&#160;*
gtk_im_multicontext_get_context_id (<parameter><link linkend="GtkIMMulticontext"><type>GtkIMMulticontext</type></link> *context</parameter>);</programlisting>
<para>Gets the id of the currently active slave of the <parameter>context</parameter>
.</para>
<refsect3 id="gtk-im-multicontext-get-context-id.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>context</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkIMMulticontext"><type>GtkIMMulticontext</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-im-multicontext-get-context-id.returns" role="returns">
<title>Returns</title>
<para> the id of the currently active slave</para>
</refsect3></refsect2>
<refsect2 id="gtk-im-multicontext-set-context-id" role="function">
<title>gtk_im_multicontext_set_context_id&#160;()</title>
<indexterm zone="gtk-im-multicontext-set-context-id"><primary>gtk_im_multicontext_set_context_id</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_im_multicontext_set_context_id (<parameter><link linkend="GtkIMMulticontext"><type>GtkIMMulticontext</type></link> *context</parameter>,
                                    <parameter>const <link linkend="char"><type>char</type></link> *context_id</parameter>);</programlisting>
<para>Sets the context id for <parameter>context</parameter>
.</para>
<para>This causes the currently active slave of <parameter>context</parameter>
 to be
replaced by the slave corresponding to the new context id.</para>
<refsect3 id="gtk-im-multicontext-set-context-id.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>context</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkIMMulticontext"><type>GtkIMMulticontext</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>context_id</para></entry>
<entry role="parameter_description"><para>the id to use </para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkIMMulticontext.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkIMMulticontext-struct" role="struct">
<title>struct GtkIMMulticontext</title>
<indexterm zone="GtkIMMulticontext-struct"><primary>GtkIMMulticontext</primary></indexterm>
<programlisting language="C">struct GtkIMMulticontext;</programlisting>
</refsect2>

</refsect1>

</refentry>
