Signal

ClutterActor::key-press-event

Declaration

gboolean
key_press_event (
  ClutterActor* self,
  ClutterKeyEvent* event,
  gpointer user_data
)

Description [src]

The ::key-press-event signal is emitted each time a keyboard button is pressed while actor has key focus (see clutter_stage_set_key_focus()).

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since:0.6

Parameters

event ClutterKeyEvent
 

A ClutterKeyEvent.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the event has been handled by the actor, or FALSE to continue the emission.