Enum gtk4::PolicyType [−][src]
#[non_exhaustive]
pub enum PolicyType {
Always,
Automatic,
Never,
External,
// some variants omitted
}
Expand description
Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The scrollbar is always visible. The view size is independent of the content.
The scrollbar will appear and disappear as necessary.
For example, when all of a TreeView
can not be seen.
The scrollbar should never appear. In this mode the content determines the size.
Don’t show a scrollbar, but don’t force the size to follow the content. This can be used e.g. to make multiple scrolled windows share a scrollbar.
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 PolicyType
impl Send for PolicyType
impl Sync for PolicyType
impl Unpin for PolicyType
impl UnwindSafe for PolicyType
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.