/usr/share/gtk-doc/html/pygtk/class-gtkimmulticontext.html is in python-gtk2-doc 2.24.0-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.IMMulticontext</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkimcontextsimple.html" title="gtk.IMContextSimple"><link rel="next" href="class-gtkinfobar.html" title="gtk.InfoBar"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.IMMulticontext</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkimcontextsimple.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtkinfobar.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.IMMulticontext"><a name="class-gtkimmulticontext"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.IMMulticontext</h2><p>gtk.IMMulticontext — an input method context object that manages the use of
multiple input method contexts for a widget</p></div><div class="refsect1" title="Synopsis"><a name="id3762710"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.IMMulticontext</span></span>(<span class="ooclass"><span class="classname"><a class="link" href="class-gtkimcontext.html" title="gtk.IMContext">gtk.IMContext</a></span></span>):
<code class="constructorsynopsis"> <span class="methodname"><a class="link" href="class-gtkimmulticontext.html#constructor-gtkimmulticontext" title="Constructor">gtk.IMMulticontext</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkimmulticontext.html#method-gtkimmulticontext--append-menuitems" title="gtk.IMMulticontext.append_menuitems">append_menuitems</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>menushell</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkimmulticontext.html#method-gtkimmulticontext--get-context-id" title="gtk.IMMulticontext.get_context_id">get_context_id</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtkimmulticontext.html#method-gtkimmulticontext--set-context-id" title="gtk.IMMulticontext.set_context_id">set_context_id</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>context_id</code></strong></span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="id3762836"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-gtkobject.html" title="gtk.Object">gtk.Object</a>
+-- <a class="link" href="class-gtkimcontext.html" title="gtk.IMContext">gtk.IMContext</a>
+-- <a class="link" href="class-gtkimmulticontext.html" title="gtk.IMMulticontext">gtk.IMMulticontext</a>
</pre></div><div class="refsect1" title="gtk.IMMulticontext Signal Prototypes"><a name="signal-prototypes-gtkimmulticontext"></a><h2>gtk.IMMulticontext Signal Prototypes</h2><p><PYGTKDOCLINK HREF="signal-prototypes-gobject">gobject.GObject Signal Prototypes</PYGTKDOCLINK></p><p><a class="link" href="class-gtkimcontext.html#signal-prototypes-gtkimcontext" title="gtk.IMContext Signal Prototypes">gtk.IMContext Signal Prototypes</a></p></div><div class="refsect1" title="Description"><a name="id3762901"></a><h2>Description</h2><p>The <a class="link" href="class-gtkimmulticontext.html" title="gtk.IMMulticontext"><code class="classname">gtk.IMMulticontext</code></a>
class is a subclass of <a class="link" href="class-gtkimcontext.html" title="gtk.IMContext"><code class="classname">gtk.IMContext</code></a>
that manages the use of multiple input method contexts for a widget
including the ability to switch between contexts on the fly. A <a class="link" href="class-gtkimmulticontext.html" title="gtk.IMMulticontext"><code class="classname">gtk.IMMulticontext</code></a>
object will proxy the method calls and signals to and from the object
implementing the input method.</p></div><div class="refsect1" title="Constructor"><a name="constructor-gtkimmulticontext"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">gtk.IMMulticontext</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtkimmulticontext.html" title="gtk.IMMulticontext"><code class="classname">gtk.IMMulticontext</code>
object</a>.</td></tr></tbody></table><p>Creates a new <a class="link" href="class-gtkimmulticontext.html" title="gtk.IMMulticontext"><code class="classname">gtk.IMMulticontext</code></a>
object.</p></div><div class="refsect1" title="Methods"><a name="id3763010"></a><h2>Methods</h2><div class="refsect2" title="gtk.IMMulticontext.append_menuitems"><a name="method-gtkimmulticontext--append-menuitems"></a><h3>gtk.IMMulticontext.append_menuitems</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">append_menuitems</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>menushell</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>menushell</code></strong> :</span></p></td><td>a <a class="link" href="class-gtkmenushell.html" title="gtk.MenuShell"><code class="classname">gtk.MenuShell</code></a>
widget</td></tr></tbody></table><p>The <code class="methodname">append_menuitems</code>() method adds
menuitems for various available input methods to a menu; the menuitems, when
selected, will switch the input method for the context and the global
default input method.</p></div><div class="refsect2" title="gtk.IMMulticontext.get_context_id"><a name="method-gtkimmulticontext--get-context-id"></a><h3>gtk.IMMulticontext.get_context_id</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">get_context_id</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>The id of the currently active slave.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">get_context_id</code>() method gets the id of the
currently active slave of the context. </p></div><div class="refsect2" title="gtk.IMMulticontext.set_context_id"><a name="method-gtkimmulticontext--set-context-id"></a><h3>gtk.IMMulticontext.set_context_id</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_context_id</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>context_id</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>context_id</code></strong> :</span></p></td><td>The id to use.</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This method is available in PyGTK 2.16 and above.</p></div><p>The <code class="methodname">set_context_id</code>() method sets the context id
for context.</p><p>This causes the currently active slave of context to be replaced by the
slave corresponding to the new context id.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkimcontextsimple.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtkinfobar.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.IMContextSimple </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.InfoBar</td></tr></table></div></body></html>
|