[ Version ( since = "0.6" ) ]
public void set_key_focus (Actor? actor)
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.
this |
the Stage |
actor |
the actor to set key focus to, or |