pub fn scope<R>(
ui: &mut Ui,
panel: &str,
inert: bool,
add: impl FnOnce(&mut Ui) -> R,
) -> RExpand description
Draws add as the content of panel: the areas it registers name the
panel, and its edit areas are inert when inert (the panel’s state is
not current).