Skip to main content

scope

Function scope 

Source
pub fn scope<R>(
    ui: &mut Ui,
    name: &str,
    keys: &[(&str, &str)],
    add: impl FnOnce(&mut Ui) -> R,
) -> R
Expand description

Draws add inside a named scope that sets keys (and <name>Focus) while the focus is in it.