Skip to main content

request_focus

Function request_focus 

Source
pub fn request_focus(id: FocusId)
Expand description

Request that the widget whose Widget::focus_id equals id receive focus on the next frame. Also wakes the host loop (via crate::animation::request_draw) so the request is serviced promptly.