1.99 <GtkIMMulticontext>

Class: <GtkIMMulticontext>

It derives from <GtkIMContext>.

Supports switching between multiple input methods.

Text widgets such as <GtkText> or <GtkTextView> use a GtkIMMultiContext to implement their im-module property for switching between different input methods.

Fields

object

Procedures

Method: immulticontext:get-context-id self ⇒ %return
Method: get-context-id self ⇒ %return

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

self

Passed: a <GtkIMMulticontext>.

a <GtkIMMulticontext>

%return

Returned: a string.

the id of the currently active delegate

Procedure: immulticontext:new ⇒ %return

Creates a new <GtkIMMulticontext>.

%return

Returned: a <GtkIMContext>.

a new <GtkIMMulticontext>.

Method: immulticontext:set-context-id self [context-id]
Method: set-context-id self [context-id]

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-#f value overrides the system-wide IM module setting. See the settings:gtk-im-module property.

self

Passed: a <GtkIMMulticontext>.

a <GtkIMMulticontext>

context-id

Passed, or left out: a string, or #f.

the id to use