Skip to main content

surface

Function surface 

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

Draws add in the selection’s focus surface (SURFACE): a widget of the application’s bound to the selection (a canvas) opens it so Alt+Left and Alt+Right walk the selection’s history while it has the focus.