Enum gtk4::ResponseType [−][src]
pub enum ResponseType {
None,
Reject,
Accept,
DeleteEvent,
Ok,
Cancel,
Close,
Yes,
No,
Apply,
Help,
Other(u16),
// some variants omitted
}
Expand description
Predefined values for use as response ids in DialogExt::add_button()
.
All predefined values are negative; GTK leaves values of 0 or greater for application-defined response ids.
Variants
Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed
Generic response id, not used by GTK dialogs
Generic response id, not used by GTK dialogs
Returned if the dialog is deleted
Returned by OK buttons in GTK dialogs
Returned by Cancel buttons in GTK dialogs
Returned by Close buttons in GTK dialogs
Returned by Yes buttons in GTK dialogs
Returned by No buttons in GTK dialogs
Returned by Apply buttons in GTK dialogs
Returned by Help buttons in GTK dialogs
Other(u16)
Tuple Fields of Other
0: u16
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 ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnwindSafe for ResponseType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.