key_press_event


Description:

[ Version ( since = "0.6" ) ]
public virtual signal bool key_press_event (KeyEvent event)

The key_press_event signal is emitted each time a keyboard button is pressed while actor has key focus (see set_key_focus).

Parameters:

event

a KeyEvent

Returns:

true if the event has been handled by the actor, or false to continue the emission.