Signal

ClutterActor::key-press-event

Declaration

gboolean
key_press_event (
  ClutterActor* self,
  const ClutterEvent* event,
  gpointer user_data
)

Description [src]

The 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().

Parameters

event

Type: ClutterEvent

A key ClutterEvent.

The data is owned by the caller of the function.

Return value

Type: gboolean

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