pub fn set_parent_window(
ctx: &Context,
viewport: ViewportId,
window: Arc<dyn ParentWindow>,
)Expand description
Records window’s native handles as the window viewport’s: a system
chooser asked from that window (or a panel detached from it) is
attached to it. AppBuilder::run_native records the main window’s
(frame::record_native_window); an application that has another
window’s handles records them, and forgets them when it closes
(forget_parent_window). Without a window’s handles, its chooser
is attached to no window, never to another one.