Enum gtk::ButtonBoxStyle [−][src]
#[non_exhaustive] pub enum ButtonBoxStyle { Spread, Edge, Start, End, Center, Expand, // some variants omitted }
Expand description
Used to dictate the style that a ButtonBox
uses to layout the buttons it
contains.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Buttons are evenly spread across the box.
Buttons are placed at the edges of the box.
Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox).
Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox).
Buttons are centered in the box. Since 2.12.
Buttons expand to fill the box. This entails giving
buttons a “linked” appearance, making button sizes homogeneous, and
setting spacing to 0 (same as calling BoxExt::set_homogeneous()
and
BoxExt::set_spacing()
manually). Since 3.12.
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 ButtonBoxStyle
impl Send for ButtonBoxStyle
impl Sync for ButtonBoxStyle
impl Unpin for ButtonBoxStyle
impl UnwindSafe for ButtonBoxStyle
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.