Struct gtk4::builders::FileChooserNativeBuilder
source · [−]pub struct FileChooserNativeBuilder { /* private fields */ }
Expand description
A builder-pattern type to construct FileChooserNative
objects.
Implementations
sourceimpl FileChooserNativeBuilder
impl FileChooserNativeBuilder
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new FileChooserNativeBuilder
.
sourcepub fn build(self) -> FileChooserNative
pub fn build(self) -> FileChooserNative
Build the FileChooserNative
.
pub fn accept_label(self, accept_label: &str) -> Self
pub fn cancel_label(self, cancel_label: &str) -> Self
pub fn modal(self, modal: bool) -> Self
pub fn title(self, title: &str) -> Self
pub fn transient_for(self, transient_for: &impl IsA<Window>) -> Self
pub fn visible(self, visible: bool) -> Self
pub fn action(self, action: FileChooserAction) -> Self
pub fn create_folders(self, create_folders: bool) -> Self
pub fn filter(self, filter: &FileFilter) -> Self
pub fn select_multiple(self, select_multiple: bool) -> Self
Trait Implementations
sourceimpl Clone for FileChooserNativeBuilder
impl Clone for FileChooserNativeBuilder
sourcefn clone(&self) -> FileChooserNativeBuilder
fn clone(&self) -> FileChooserNativeBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for FileChooserNativeBuilder
impl Default for FileChooserNativeBuilder
sourcefn default() -> FileChooserNativeBuilder
fn default() -> FileChooserNativeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for FileChooserNativeBuilder
impl !Send for FileChooserNativeBuilder
impl !Sync for FileChooserNativeBuilder
impl Unpin for FileChooserNativeBuilder
impl UnwindSafe for FileChooserNativeBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more