IMMulticontext#
Superclasses: IMContext
, Object
GtkIMMulticontext
is an input method context supporting multiple,
switchable input methods.
Text widgets such as GtkText
or GtkTextView
use a GtkIMMultiContext
to implement their im-module
property for switching between different
input methods.
Constructors#
Methods#
- class IMMulticontext
-
- set_context_id(context_id: str | None = None) None #
Sets the context id for
context
.This causes the currently active delegate of
context
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 thegtk_im_module
property.- Parameters:
context_id – the id to use