An input method context supporting table-based input methods
<gtk-im-context>
)Creates a new
<gtk-im-context-simple>
.
- ret
- a new
<gtk-im-context-simple>
.
<gtk-im-context-simple>
) (max_seq_len int
) (n_seqs int
) ⇒ (data unsigned-int16
)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.)
- context-simple
- A
<gtk-im-context-simple>
- data
- the table
- max-seq-len
- Maximum length of a sequence in the table (cannot be greater than
<gtk-max-compose-len>
)- n-seqs
- number of sequences in the table