jacket
Search the docs
/
API
Tools
Playground
0.31.0
UI module
← UI
Tree
current_ui
free_ui
begin_frame
end_frame
frame
push_ui
pop_ui
key
state
widget
begin_container
end_container
frame_allocator
frame_string
events_of
focus_node
request_frame
ui_time
On this page
See also
std
/
Extensions
/
UI
/
focus_node
focus_node
procedure · 1 overload
since 0.31.0
Source
Give keyboard focus to
node
.
ui: the UI the node belongs to.
node: the node to focus.
focus_node
:: (ui: *
UI_State
, node: *
Node
)
Give keyboard focus to
node
.
Parameters
ui
:
*
UI_State
the UI the node belongs to.
node
:
*
Node
the node to focus.
See also
frame_string
events_of
request_frame
ui_time