- o
- Event sender.
- args
- Event arguments.
The Widget.KeyPressEvent event utilizes this delegate:
Event data is passed via the Gtk.KeyPressEventArgs parameter.
To attach a Gtk.KeyPressEventHandler to an event, add the KeyPressEventHandler instance to the event. The methods referenced by the KeyPressEventHandler instance are invoked whenever the event is raised, until the KeyPressEventHandler is removed from the event.