Gtk.Widget.OnKeyPressEvent Method
Default handler for the Widget.KeyPressEvent event.

Syntax

protected virtual bool OnKeyPressEvent (Gdk.EventKey evnt)

Parameters

evnt
a Gdk.EventKey

Returns

a bool

Remarks

Override this method in a subclass to provide a default handler for the Widget.KeyPressEvent event.

Requirements

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