Enum gtk4::IconSize [−][src]
#[non_exhaustive]
pub enum IconSize {
Inherit,
Normal,
Large,
// some variants omitted
}
Expand description
Built-in icon sizes.
Icon sizes default to being inherited. Where they cannot be inherited, text size is the default.
All widgets which use IconSize
set the normal-icons or
large-icons style classes correspondingly, and let themes
determine the actual size to be used with the
-gtk-icon-size
CSS property.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Keep the size of the parent element
Size similar to text size
Large size, for example in an icon view
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 IconSize
impl UnwindSafe for IconSize
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.