GtkWindow::activate_key

bool activate_key(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.

Returns true if a mnemonic or accelerator was found and activated.