pub fn set_window_source<W>(
ctx: &Context,
options: Options,
source: impl Fn(ViewportId) -> Option<W> + Send + Sync + 'static,
)where
W: HasWindowHandle + HasDisplayHandle + 'static,Expand description
Says where the handles of a window opened after install are read
(egui_pop::api::runner::window on egui-pop’s runner), and how such
windows are built (options): a window drawing the image gets its own
image surface the first frame its handles are known, freed when it
closes. A window whose builder said how it was built
(egui_pop_core::window_surface::set_transparency) is taken as said:
transparent, it gets a surface whatever options say; opaque, none,
with the builder’s reason.