set_key_focus
Description:
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:
this |
the Stage |
actor |
the actor to set key focus to, or |