Package: gtk

Function gtk-entry-im-context-filter-keypress

Lambda List

gtk-entry-im-context-filter-keypress (entry event)

Arguments

entry -- a gtk-entry widget
event -- a gdk-event key event

Return Value

True if the input method handled the key event.

Details

Allow the entry input method to internally handle key press and release events. If this function returns true, then no further processing should be done for this key event. See the gtk-im-context-filter-keypress function.

Note that you are expected to call this function from your handler when overriding key event handling. This is needed in the case when you need to insert your own key handling between the input method and the default key event handling of the entry. See the gtk-text-view-reset-im-context function for an example of use.
 

See also

2021-11-3