Trait relm4_components::open_dialog::Select
source · pub trait Select: Debug {
type Selection: Debug;
const SELECT_MULTIPLE: bool;
// Required method
fn select(dialog: &FileChooserNative) -> Self::Selection;
}
Expand description
Type of selection used for the open dialog.
Required Associated Types§
Required Associated Constants§
sourceconst SELECT_MULTIPLE: bool
const SELECT_MULTIPLE: bool
Whether to select multiple files inside the dialog.
Required Methods§
sourcefn select(dialog: &FileChooserNative) -> Self::Selection
fn select(dialog: &FileChooserNative) -> Self::Selection
Construct selection from the file chooser.