Skip to main content

chooser_parent

Function chooser_parent 

Source
pub fn chooser_parent(app: &AppHandle, owner: ViewportId) -> Option<ViewportId>
Expand description

The window a system chooser asked from owner is attached to: the application window owner belongs to (AppHandle::window_group) when its handles are recorded, else none. Never the main window for a choice asked from another window: attached there, the chooser would come up over the wrong window and block it.