Skip to main content

open_panel

Function open_panel 

Source
pub fn open_panel(
    window: &NSWindow,
    options: OpenOptions,
    on_done: impl FnOnce(Option<Vec<PathBuf>>) + 'static,
)
Expand description

Shows the Open panel as a sheet on window; on_done gets the chosen paths, or None if cancelled.