Entry.imContextFilterKeypress

Allow the GtkEntry 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 gtk_im_context_filter_keypress(). 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 GtkEntry. See gtk_text_view_reset_im_context() for an example of use. Since 2.22

class Entry
int
imContextFilterKeypress

Parameters

event GdkEventKey*

the key event. [type Gdk.EventKey]

Return Value

Type: int

TRUE if the input method handled the key event.

Meta