Window.activateKey

bool activateKey(gdk.event_key.EventKey event)

Activates mnemonics and accelerators for this #GtkWindow. This is normally called by the default ::key_press_event handler for toplevel windows, however in some cases it may be useful to call this directly when overriding the standard key handling for a toplevel window.

Parameters

eventa #GdkEventKey

Returns

true if a mnemonic or accelerator was found and activated.