Enum gtk::FileChooserConfirmation [−][src]
#[non_exhaustive] pub enum FileChooserConfirmation { Confirm, AcceptFilename, SelectAgain, // some variants omitted }
Expand description
Used as a return value of handlers for the
signal::FileChooser::confirm-overwrite
signal of a FileChooser
. This
value determines whether the file chooser will present the stock
confirmation dialog, accept the user’s choice of a filename, or
let the user choose another filename.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The file chooser will present its stock dialog to confirm about overwriting an existing file.
The file chooser will terminate and accept the user’s choice of a file name.
The file chooser will continue running, so as to let the user select another file name.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for FileChooserConfirmation
impl Send for FileChooserConfirmation
impl Sync for FileChooserConfirmation
impl Unpin for FileChooserConfirmation
impl UnwindSafe for FileChooserConfirmation
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.