Skip to content

FocusManager

Inherits: Node

Properties

Type Name Default
Control current_focus
bool process_input false
String refocus_on "ogui_east"
bool intercept_children_only false
FocusStack focus_stack
CustomLogger logger
Control parent

Methods

Returns Signature
void recalculate_focus()

Property Descriptions

current_focus

Control current_focus

Note

There is currently no description for this property. Please help us by contributing one!

process_input

bool process_input = false

If enabled, will intercept input and refocus on the current focus node instead

refocus_on

String refocus_on = "ogui_east"

The InputEvent that will trigger refocusing the current focus node

intercept_children_only

bool intercept_children_only = false

If true, only intercept input and refocus if a descendent node has focus

focus_stack

FocusStack focus_stack

Menus with multiple levels of focus can be part of a chain of focus

logger

CustomLogger logger

Note

There is currently no description for this property. Please help us by contributing one!

parent

Control parent

Note

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

recalculate_focus()

void recalculate_focus()

Recalculate the focus neighbors of the container's children