Skip to main content

set_x11_window

Function set_x11_window 

Source
pub fn set_x11_window(ctx: &Context, window: u64)
Expand description

Records the main window’s X11 id (Linux, the window on X11 or Xwayland): what a native view inside it, such as the viewer’s web view, is made a child of. AppBuilder::run_native does it; an application starting eframe itself calls record_native_window.