New upstream version 3.24.5
This commit is contained in:
@ -60,7 +60,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkIMContext.html#gtk-im-context-filter-keypress" title="gtk_im_context_filter_keypress ()">gtk_im_context_filter_keypress</a> <span class="c_punctuation">()</span>
|
||||
@ -116,7 +116,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkIMContext.html#gtk-im-context-get-surrounding" title="gtk_im_context_get_surrounding ()">gtk_im_context_get_surrounding</a> <span class="c_punctuation">()</span>
|
||||
@ -124,7 +124,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkIMContext.html#gtk-im-context-delete-surrounding" title="gtk_im_context_delete_surrounding ()">gtk_im_context_delete_surrounding</a> <span class="c_punctuation">()</span>
|
||||
@ -167,32 +167,32 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkIMContext.html#GtkIMContext-commit" title="The “commit” signal">commit</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
|
||||
<td class="signal_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
||||
<td class="signal_name"><a class="link" href="GtkIMContext.html#GtkIMContext-delete-surrounding" title="The “delete-surrounding” signal">delete-surrounding</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkIMContext.html#GtkIMContext-preedit-changed" title="The “preedit-changed” signal">preedit-changed</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkIMContext.html#GtkIMContext-preedit-end" title="The “preedit-end” signal">preedit-end</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkIMContext.html#GtkIMContext-preedit-start" title="The “preedit-start” signal">preedit-start</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
|
||||
<td class="signal_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
||||
<td class="signal_name"><a class="link" href="GtkIMContext.html#GtkIMContext-retrieve-surrounding" title="The “retrieve-surrounding” signal">retrieve-surrounding</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -222,7 +222,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkIMContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> GtkIMContext
|
||||
<span class="lineart">├──</span> <a class="link" href="GtkIMContextSimple.html" title="GtkIMContextSimple">GtkIMContextSimple</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkIMMulticontext.html" title="GtkIMMulticontext">GtkIMMulticontext</a>
|
||||
@ -273,9 +273,9 @@ these four functions:</p>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
This function should register the <span class="type">GType</span> of the <a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> subclass which
|
||||
implements the input method by means of <code class="function">g_type_module_register_type()</code>. Note
|
||||
that <code class="function">g_type_register_static()</code> cannot be used as the type needs to be
|
||||
This function should register the <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of the <a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> subclass which
|
||||
implements the input method by means of <a href="https://developer.gnome.org/gobject/unstable/GTypeModule.html#g-type-module-register-type"><code class="function">g_type_module_register_type()</code></a>. Note
|
||||
that <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#g-type-register-static"><code class="function">g_type_register_static()</code></a> cannot be used as the type needs to be
|
||||
registered dynamically.</p>
|
||||
<div class="informalexample">
|
||||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||||
@ -302,7 +302,7 @@ Here goes any cleanup code your input method might require on module unload.</p>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="type">void</span><span class="normal"> </span><span class="function">im_module_list</span><span class="symbol">(</span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">GtkIMContextInfo</span><span class="normal"> </span><span class="symbol">***</span><span class="normal">contexts</span><span class="symbol">,</span><span class="normal"> </span><span class="type">int</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">n_contexts</span><span class="symbol">)</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="symbol">*</span><span class="normal">contexts </span><span class="symbol">=</span><span class="normal"> info_list</span><span class="symbol">;</span>
|
||||
<span class="normal"> </span><span class="symbol">*</span><span class="normal">n_contexts </span><span class="symbol">=</span><span class="normal"> </span><span class="function">G_N_ELEMENTS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">info_list</span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="symbol">*</span><span class="normal">n_contexts </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#G-N-ELEMENTS:CAPS">G_N_ELEMENTS</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">info_list</span><span class="symbol">);</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -362,7 +362,7 @@ also be used for purposes internal to the input method.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>window</p></td>
|
||||
<td class="parameter_description"><p>the client window. This may be <code class="literal">NULL</code> to indicate
|
||||
<td class="parameter_description"><p>the client window. This may be <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to indicate
|
||||
that the previous client window no longer exists. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
@ -375,9 +375,9 @@ that the previous client window no longer exists. </p></td>
|
||||
<a name="gtk-im-context-get-preedit-string"></a><h3>gtk_im_context_get_preedit_string ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_im_context_get_preedit_string (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><span class="type">gchar</span> **str</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **str</code></em>,
|
||||
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#PangoAttrList-struct"><span class="type">PangoAttrList</span></a> **attrs</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *cursor_pos</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *cursor_pos</code></em>);</pre>
|
||||
<p>Retrieve the current preedit string for the input context,
|
||||
and a list of attributes to apply to the string.
|
||||
This string should be displayed inserted at the insertion
|
||||
@ -399,7 +399,7 @@ point.</p>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>str</p></td>
|
||||
<td class="parameter_description"><p>location to store the retrieved
|
||||
string. The string retrieved must be freed with <code class="function">g_free()</code>. </p></td>
|
||||
string. The string retrieved must be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -422,11 +422,11 @@ within the preedit string. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-im-context-filter-keypress"></a><h3>gtk_im_context_filter_keypress ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_im_context_filter_keypress (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gdk3/gdk3-Event-Structures.html#GdkEventKey"><span class="type">GdkEventKey</span></a> *event</code></em>);</pre>
|
||||
<p>Allow an input method to internally handle key press and release
|
||||
events. If this function returns <code class="literal">TRUE</code>, then no further processing
|
||||
events. If this function returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then no further processing
|
||||
should be done for this key event.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-im-context-filter-keypress.parameters"></a><h4>Parameters</h4>
|
||||
@ -452,7 +452,7 @@ should be done for this key event.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-im-context-filter-keypress.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the input method handled the key event.</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the input method handled the key event.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -566,7 +566,7 @@ window.</p>
|
||||
<a name="gtk-im-context-set-use-preedit"></a><h3>gtk_im_context_set_use_preedit ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_im_context_set_use_preedit (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> use_preedit</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_preedit</code></em>);</pre>
|
||||
<p>Sets whether the IM context should use the preedit string
|
||||
to display feedback. If <em class="parameter"><code>use_preedit</code></em>
|
||||
is FALSE (default
|
||||
@ -600,9 +600,9 @@ feedback, such as displaying it in a child of the root window.</p>
|
||||
<a name="gtk-im-context-set-surrounding"></a><h3>gtk_im_context_set_surrounding ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_im_context_set_surrounding (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> len</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> cursor_index</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> len</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> cursor_index</code></em>);</pre>
|
||||
<p>Sets surrounding context around the insertion point and preedit
|
||||
string. This function is expected to be called in response to the
|
||||
GtkIMContext::retrieve_surrounding signal, and will likely have no
|
||||
@ -649,10 +649,10 @@ is nul-terminated</p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-im-context-get-surrounding"></a><h3>gtk_im_context_get_surrounding ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_im_context_get_surrounding (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><span class="type">gchar</span> **text</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *cursor_index</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **text</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *cursor_index</code></em>);</pre>
|
||||
<p>Retrieves context around the insertion point. Input methods
|
||||
typically want context in order to constrain input text based on
|
||||
existing text; this is important for languages such as Thai where
|
||||
@ -682,8 +682,8 @@ methods must be prepared to function without context.</p>
|
||||
<td class="parameter_name"><p>text</p></td>
|
||||
<td class="parameter_description"><p>location to store a UTF-8 encoded
|
||||
string of text holding context around the insertion point.
|
||||
If the function returns <code class="literal">TRUE</code>, then you must free the result
|
||||
stored in this location with <code class="function">g_free()</code>. </p></td>
|
||||
If the function returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then you must free the result
|
||||
stored in this location with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -698,17 +698,17 @@ cursor within <em class="parameter"><code>text</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-im-context-get-surrounding.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if surrounding text was provided; in this case
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if surrounding text was provided; in this case
|
||||
you must free the result stored in *text.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-im-context-delete-surrounding"></a><h3>gtk_im_context_delete_surrounding ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_im_context_delete_surrounding (<em class="parameter"><code><a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> offset</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> n_chars</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
|
||||
<p>Asks the widget that the input context is attached to to delete
|
||||
characters around the cursor position by emitting the
|
||||
GtkIMContext::delete_surrounding signal. Note that <em class="parameter"><code>offset</code></em>
|
||||
@ -755,7 +755,7 @@ a negative value means start before the cursor.</p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-im-context-delete-surrounding.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the signal was handled.</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal was handled.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -868,10 +868,10 @@ this method to provide feedback.</p></td>
|
||||
<td class="struct_member_description"><p>Called via <a class="link" href="GtkIMContext.html#gtk-im-context-filter-keypress" title="gtk_im_context_filter_keypress ()"><code class="function">gtk_im_context_filter_keypress()</code></a> on every
|
||||
key press or release event. Every non-trivial input method needs to
|
||||
override this in order to implement the mapping from key events to text.
|
||||
A return value of <code class="literal">TRUE</code> indicates to the caller that the event was
|
||||
A return value of <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> indicates to the caller that the event was
|
||||
consumed by the input method. In that case, the <a class="link" href="GtkIMContext.html#GtkIMContext-commit" title="The “commit” signal"><span class="type">“commit”</span></a>
|
||||
signal should be emitted upon completion of a key sequence to pass the
|
||||
resulting text back to the input widget. Alternatively, <code class="literal">FALSE</code> may be
|
||||
resulting text back to the input widget. Alternatively, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> may be
|
||||
returned to indicate that the event wasn’t handled by the input method.
|
||||
If a builtin mapping exists for the key, it is used to produce a
|
||||
character.</p></td>
|
||||
@ -958,27 +958,27 @@ by the subsequent invocation of <em class="parameter"><code>get_surrounding</cod
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p>const <span class="type">gchar</span> *<em class="structfield"><code><a name="GtkIMContextInfo.context-id"></a>context_id</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GtkIMContextInfo.context-id"></a>context_id</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The unique identification string of the input method.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p>const <span class="type">gchar</span> *<em class="structfield"><code><a name="GtkIMContextInfo.context-name"></a>context_name</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GtkIMContextInfo.context-name"></a>context_name</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>The human-readable name of the input method.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p>const <span class="type">gchar</span> *<em class="structfield"><code><a name="GtkIMContextInfo.domain"></a>domain</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GtkIMContextInfo.domain"></a>domain</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Translation domain to be used with <code class="function">dgettext()</code></p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p>const <span class="type">gchar</span> *<em class="structfield"><code><a name="GtkIMContextInfo.domain-dirname"></a>domain_dirname</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GtkIMContextInfo.domain-dirname"></a>domain_dirname</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>Name of locale directory for use with <code class="function">bindtextdomain()</code></p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p>const <span class="type">gchar</span> *<em class="structfield"><code><a name="GtkIMContextInfo.default-locales"></a>default_locales</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GtkIMContextInfo.default-locales"></a>default_locales</code></em>;</p></td>
|
||||
<td class="struct_member_description"><p>A colon-separated list of locales where this input method
|
||||
should be the default. The asterisk “*” sets the default for all locales.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
@ -1011,8 +1011,8 @@ should be the default. The asterisk “*” sets the default for all locales.</p
|
||||
<a name="GtkIMContext-commit"></a><h3>The <code class="literal">“commit”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context,
|
||||
<span class="type">gchar</span> *str,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::commit signal is emitted when a complete input sequence
|
||||
has been entered by the user. This can be a single character
|
||||
immediately after a key press or the final result of preediting.</p>
|
||||
@ -1043,16 +1043,16 @@ immediately after a key press or the final result of preediting.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkIMContext-delete-surrounding"></a><h3>The <code class="literal">“delete-surrounding”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
user_function (<a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context,
|
||||
<span class="type">gint</span> offset,
|
||||
<span class="type">gint</span> n_chars,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::delete-surrounding signal is emitted when the input method
|
||||
needs to delete all or part of the context surrounding the cursor.</p>
|
||||
<div class="refsect3">
|
||||
@ -1091,16 +1091,16 @@ the cursor.</p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="GtkIMContext-delete-surrounding.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the signal was handled.</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal was handled.</p>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkIMContext-preedit-changed"></a><h3>The <code class="literal">“preedit-changed”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::preedit-changed signal is emitted whenever the preedit sequence
|
||||
currently being entered has changed. It is also emitted at the end of
|
||||
a preedit sequence, in which case
|
||||
@ -1127,14 +1127,14 @@ a preedit sequence, in which case
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkIMContext-preedit-end"></a><h3>The <code class="literal">“preedit-end”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::preedit-end signal is emitted when a preediting sequence
|
||||
has been completed or canceled.</p>
|
||||
<div class="refsect3">
|
||||
@ -1159,14 +1159,14 @@ has been completed or canceled.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkIMContext-preedit-start"></a><h3>The <code class="literal">“preedit-start”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::preedit-start signal is emitted when a new preediting sequence
|
||||
starts.</p>
|
||||
<div class="refsect3">
|
||||
@ -1191,14 +1191,14 @@ starts.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkIMContext-retrieve-surrounding"></a><h3>The <code class="literal">“retrieve-surrounding”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
user_function (<a class="link" href="GtkIMContext.html" title="GtkIMContext"><span class="type">GtkIMContext</span></a> *context,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::retrieve-surrounding signal is emitted when the input method
|
||||
requires the context surrounding the cursor. The callback should set
|
||||
the input method surrounding context by calling the
|
||||
@ -1227,9 +1227,9 @@ the input method surrounding context by calling the
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="GtkIMContext-retrieve-surrounding.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the signal was handled.</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the signal was handled.</p>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user