Skip to main content

set_native_window

Function set_native_window 

Source
pub fn set_native_window(ctx: &Context, viewport: ViewportId, handle: isize)
Expand description

Records a window’s native handle (an HWND on Windows), for the frame’s hit testing. AppBuilder::run_native does it for the main window; an application starting eframe itself calls it from its creation context.