Package org.gnome.gtk
Enum Class SystemSetting
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<SystemSetting>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum SystemSetting
extends Enum<SystemSetting>
implements Enumeration
Values that can be passed to the
Widget.systemSettingChanged(org.gnome.gtk.SystemSetting)
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe display has changedtheGtk.Settings:gtk-xft-dpi
setting has changedThe font configuration has changed in a way that requires text to be redrawn.TheGtk.Settings:gtk-font-name
setting has changedThe icon theme has changed in a way that requires icons to be looked up again -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the SystemSetting classint
getValue()
Get the numeric value of this enumstatic SystemSetting
of
(int value) Create a new SystemSetting for the provided valuestatic SystemSetting
Returns the enum constant of this class with the specified name.static SystemSetting[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DPI
theGtk.Settings:gtk-xft-dpi
setting has changed -
FONT_NAME
TheGtk.Settings:gtk-font-name
setting has changed -
FONT_CONFIG
The font configuration has changed in a way that requires text to be redrawn. This can be any of theGtk.Settings:gtk-xft-antialias
,Gtk.Settings:gtk-xft-hinting
,Gtk.Settings:gtk-xft-hintstyle
,Gtk.Settings:gtk-xft-rgba
orGtk.Settings:gtk-fontconfig-timestamp
settings -
DISPLAY
The display has changed -
ICON_THEME
The icon theme has changed in a way that requires icons to be looked up again
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new SystemSetting for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-