Method

ClutterStageset_key_focus

Declaration [src]

void
clutter_stage_set_key_focus (
  ClutterStage* stage,
  ClutterActor* actor
)

Description [src]

Sets the key focus on actor. An actor with key focus will receive all the key events. If actor is NULL, the stage will receive focus.

Parameters

actor ClutterActor
 

The actor to set key focus to, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.