Gtk.IMMulticontext¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
object |
r |
Class Details¶
- class Gtk.IMMulticontext(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GtkIMMulticontext
is an input method context supporting multiple, switchable input methods.Text widgets such as
GtkText
orGtkTextView
use aGtkIMMultiContext
to implement theirim-module
property for switching between different input methods.- classmethod new()[source]¶
- Returns:
a new
GtkIMMulticontext
.- Return type:
Creates a new
GtkIMMulticontext
.
- get_context_id()[source]¶
- Returns:
the id of the currently active delegate
- Return type:
Gets the id of the currently active delegate of the self.
- set_context_id(context_id)[source]¶
-
Sets the context id for self.
This causes the currently active delegate of self to be replaced by the delegate corresponding to the new context id.
Setting this to a non-
None
value overrides the system-wide IM module setting. See the [property`Gtk`.Settings:gtk-im-module] property.