Enum gtk4::SystemSetting [−][src]
#[non_exhaustive]
pub enum SystemSetting {
Dpi,
FontName,
FontConfig,
Display,
IconTheme,
// some variants omitted
}
Expand description
Values that can be passed to the vfunc::Gtk::Widget::system_setting_changed
vfunc.
The values indicate which system setting has changed. Widgets may need to drop caches, or react otherwise.
Most of the values correspond to Settings
properties.
More values may be added over time.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
the property::Settings::gtk-xft-dpi
setting has changed
The property::Settings::gtk-font-name
setting has changed
The font configuration has changed in a way that
requires text to be redrawn. This can be any of the
property::Settings::gtk-xft-antialias
,
property::Settings::gtk-xft-hinting
,
property::Settings::gtk-xft-hintstyle
,
property::Settings::gtk-xft-rgba
or
property::Settings::gtk-fontconfig-timestamp
settings
The display has changed
The icon theme has changed in a way that requires icons to be looked up again
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 SystemSetting
impl Send for SystemSetting
impl Sync for SystemSetting
impl Unpin for SystemSetting
impl UnwindSafe for SystemSetting
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.