Class: Gtk::IMContextSimple
Instance Method Summary collapse
-
#add_compose_file(compose_file) ⇒ nil
Adds an additional table from the X11 compose file.
-
#add_table(data, max_seq_len, n_seqs) ⇒ nil
Adds an additional table to search to the input context.
-
#initialize ⇒ Gtk::IMContext
constructor
Creates a new
GtkIMContextSimple.
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
#initialize ⇒ Gtk::IMContext
Creates a new GtkIMContextSimple.
Instance Method Details
#add_compose_file(compose_file) ⇒ nil
Adds an additional table from the X11 compose file.
#add_table(data, max_seq_len, n_seqs) ⇒ nil
Adds an additional table to search to the input context. Each row of the table consists of max_seq_len key symbols followed by two #guint16 interpreted as the high and low words of a #gunicode value. Tables are searched starting from the last added.
The table must be sorted in dictionary order on the numeric value of the key symbol fields. (Values beyond the length of the sequence should be zero.)