Package: gtk
Class gtk:im-context
Superclassesgobject:object, common-lisp:standard-object, common-lisp:t Documented SubclassesDirect SlotsDetails The gtk:im-context class defines the interface for GTK input
methods. An input method is used by GTK text input widgets like the gtk:entry
widget to map from key events to Unicode character strings. An input method may consume multiple key events in sequence before finally outputting the composed result. This is called preediting, and an input method may provide feedback about this process by displaying the intermediate composition states as preedit text. To do so, the gtk:im-context object will emit the "preedit-start", "preedit-changed" and "preedit-end" signals. For instance, the built-in GTK gtk:im-context-simple input method implements the input of arbitrary Unicode code points by holding down the Control and Shift keys and then typing u followed by the hexadecimal digits of the code point. When releasing the Control and Shift keys, preediting ends and the character is inserted as text. For example, Ctrl+Shift+u 2 0 A Cresults in the € sign. Additional input methods can be made available for use by GTK widgets as loadable modules. An input method module is a small shared library which provides a GIOExtension for the extension point named gtk-im-module. To connect a widget to the users preferred input method, you should use the gtk:im-multicontext class. Signal DetailsThe "commit" signallambda (context str) :run-last
The "delete-surrounding" signallambda (context offset n-chars) :run-last
The "preedit-changed" signallambda (context) :run-last
The "preedit-end" signallambda (context) :run-last
The "preedit-start" signallambda (context) :run-last
The "retrieve-surrounding" signallambda (context) :run-last
| Slot Access FunctionsInherited Slot Access FunctionsSee also |
2023-8-29