Skip to main content

region

Function region 

Source
pub fn region<R>(
    ui: &mut Ui,
    region: &Region,
    add: impl FnOnce(&mut Ui) -> R,
) -> R
Expand description

A scope that F6 goes to: a part of the window (an area, a palette, the status bar), see regions. Don’t draw one inside another.