Enum gtk4::Overflow [−][src]
#[non_exhaustive]
pub enum Overflow {
Visible,
Hidden,
// some variants omitted
}
Expand description
Defines how content overflowing a given area should be handled.
This is used in WidgetExt::set_overflow()
. The
property::Widget::overflow
property is modeled after the
CSS overflow property, but implements it only partially.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
No change is applied. Content is drawn at the specified position.
Content is clipped to the bounds of the area. Content outside the area is not drawn and cannot be interacted with.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
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 Overflow
impl UnwindSafe for Overflow
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.