Method
GtkIMContextfilter_key
Declaration [src]
gboolean
gtk_im_context_filter_key (
GtkIMContext* context,
gboolean press,
GdkSurface* surface,
GdkDevice* device,
guint32 time,
guint keycode,
GdkModifierType state,
int group
)
Description [src]
Allow an input method to forward key press and release events
to another input method without necessarily having a GdkEvent
available.
Parameters
press-
Type:
gbooleanWhether to forward a key press or release event.
surface-
Type:
GdkSurfaceThe surface the event is for.
The data is owned by the caller of the function. device-
Type:
GdkDeviceThe device that the event is for.
The data is owned by the caller of the function. time-
Type:
guint32The timestamp for the event.
keycode-
Type:
guintThe keycode for the event.
state-
Type:
GdkModifierTypeModifier state for the event.
group-
Type:
intThe active keyboard group for the event.