Layer.focus

Function/Meaning

Focus setting

Type
Layerclassmethod of
Syntax
focus(direction=true)
Arguments
direction

The value passed to the direction argument of the Layer.onBeforeFocus and Layer.onFocus events.

Return value
None (void)
Explanation

Specifies the focus on the layer.
Keyboard input is possible when the layer receives focus.