pub struct FileDialogBuilder { /* private fields */ }Available on crate feature
v4_10 only.Expand description
A builder-pattern type to construct FileDialog objects.
Implementations§
Source§impl FileDialogBuilder
impl FileDialogBuilder
pub fn accept_label(self, accept_label: impl Into<GString>) -> Self
pub fn default_filter(self, default_filter: &FileFilter) -> Self
pub fn filters(self, filters: &impl IsA<ListModel>) -> Self
pub fn initial_file(self, initial_file: &impl IsA<File>) -> Self
pub fn initial_folder(self, initial_folder: &impl IsA<File>) -> Self
pub fn initial_name(self, initial_name: impl Into<GString>) -> Self
pub fn modal(self, modal: bool) -> Self
pub fn title(self, title: impl Into<GString>) -> Self
Sourcepub fn build(self) -> FileDialog
pub fn build(self) -> FileDialog
Build the FileDialog.
Auto Trait Implementations§
impl Freeze for FileDialogBuilder
impl RefUnwindSafe for FileDialogBuilder
impl !Send for FileDialogBuilder
impl !Sync for FileDialogBuilder
impl Unpin for FileDialogBuilder
impl UnwindSafe for FileDialogBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more