Skip to main content

set_active_focus_target

Function set_active_focus_target 

Source
pub fn set_active_focus_target(node_id: Option<usize>)
Expand description

Re-export the UI crate so applications can depend on a single crate. Sets the currently active focus target.

This mirrors Kotlin’s FocusOwner.activeFocusTargetNode and allows the focus system to track which node currently has focus.