KeySnoopFunc


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate int KeySnoopFunc (Widget grab_widget, EventKey event)

Key snooper functions are called before normal event delivery.

They can be used to implement custom key event handling.

Parameters:

grab_widget

the widget to which the event will be delivered

event

the key event

func_data

data supplied to key_snooper_install

Returns:

true to stop further processing of event, false to continue.


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org