Gtk.IMContext.prototype.filter_keypress
function filter_keypress(event:Gdk.EventKey):Boolean { // Gjs wrapper for gtk_im_context_filter_keypress() }
Allow an 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.
- event
the key event
- Returns
true if the input method handled the key event.