Gtk.KeyPressEventHandler Delegate
Event handler.

Syntax

public delegate void KeyPressEventHandler (object o, KeyPressEventArgs args)

Parameters

o
Event sender.
args
Event arguments.

Remarks

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.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: 2.12.0.0