Enum gtk::ButtonsType [−][src]
#[non_exhaustive] pub enum ButtonsType { None, Ok, Close, Cancel, YesNo, OkCancel, // some variants omitted }
Expand description
Prebuilt sets of buttons for the dialog. If
none of these choices are appropriate, simply use None
then call gtk_dialog_add_buttons()
.
Please note that
Ok
,YesNo
andOkCancel
are discouraged by the GNOME Human Interface Guidelines.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
no buttons at all
an OK button
a Close button
a Cancel button
Yes and No buttons
OK and Cancel buttons
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 ButtonsType
impl Send for ButtonsType
impl Sync for ButtonsType
impl Unpin for ButtonsType
impl UnwindSafe for ButtonsType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.