Enum gtk::ToolbarStyle [−][src]
#[non_exhaustive] pub enum ToolbarStyle { Icons, Text, Both, BothHoriz, // some variants omitted }
Expand description
Used to customize the appearance of a Toolbar
. Note that
setting the toolbar style overrides the user’s preferences
for the default toolbar style. Note that if the button has only
a label set and GTK_TOOLBAR_ICONS is used, the label will be
visible, and vice versa.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Buttons display only icons in the toolbar.
Buttons display only text labels in the toolbar.
Buttons display text and icons in the toolbar.
Buttons display icons and text alongside each other, rather than vertically stacked
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 ToolbarStyle
impl Send for ToolbarStyle
impl Sync for ToolbarStyle
impl Unpin for ToolbarStyle
impl UnwindSafe for ToolbarStyle
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.