Class: Gtk::IMMulticontext

Inherits:
IMContext show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from IMContext

#activate_osk, #client_widget=, #cursor_location=, #delete_surrounding, #filter_key, #filter_keypress, #focus_in, #focus_out, #get_preedit_string, #get_surrounding, #get_surrounding_with_selection, #input_hints, #input_hints=, #input_purpose, #input_purpose=, #reset, #set_surrounding, #set_surrounding_with_selection, #use_preedit=

Constructor Details

#initializeGtk::IMContext

Creates a new GtkIMMulticontext.

Instance Method Details

#context_idString

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

Returns:

  • (String)

    the id of the currently active delegate

#context_id=(context_id) ⇒ nil

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-nil value overrides the system-wide IM module setting. See the [propertyGtk.Settings:gtk-im-module] property.

Parameters:

  • context_id (String)

    the id to use

Returns:

  • (nil)