activate_key


Description:

[ Version ( since = "2.4" ) ]
public bool activate_key (EventKey event)

Activates mnemonics and accelerators for this Window.

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:

this

a Window

event

a EventKey

Returns:

true if a mnemonic or accelerator was found and activated.




2022 vala-language.org