Skip to main content

redraw

Function redraw 

Source
pub fn redraw<R>(window: WindowId, paint: impl FnOnce() -> R) -> R
Expand description

Around eframe’s handling of window’s RedrawRequested: the pass that begins in it is that window’s viewport; no pass at all, an immediate viewport’s window (eframe repaints its parent instead).