IMMulticontext

class IMMulticontext(**properties: Any)

Superclasses: IMContext, Object

Constructors:

IMMulticontext(**properties)
new() -> Gtk.IMContext

Constructors

class IMMulticontext
classmethod new() IMContext

Creates a new GtkIMMulticontext.

Methods

class IMMulticontext
get_context_id() str

Gets the id of the currently active delegate of the context.

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 the gtk_im_module property.

Parameters:

context_id – the id to use

Fields

class IMMulticontext
object
priv