Package org.gnome.gtk
Enum Class SystemSetting
- All Implemented Interfaces:
Serializable,Comparable<SystemSetting>,Constable,Enumeration
@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 ConstantsEnum ConstantDescriptionThe display has changedtheGtk.Settings:gtk-xft-dpisetting has changedThe font configuration has changed in a way that requires text to be redrawn.TheGtk.Settings:gtk-font-namesetting has changedThe icon theme has changed in a way that requires icons to be looked up again -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TypegetType()Get the GType of the SystemSetting classintgetValue()Get the numeric value of this enumstatic SystemSettingof(int value) Create a new SystemSetting for the provided valuestatic SystemSettingof(MemorySegment address) Create a new SystemSetting for the value in the provided memory address.static SystemSettingReturns 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-dpisetting has changed -
FONT_NAME
TheGtk.Settings:gtk-font-namesetting 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-rgbaorGtk.Settings:gtk-fontconfig-timestampsettings -
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:
getValuein interfaceEnumeration- Returns:
- the enum value
-
of
Create a new SystemSetting for the value in the provided memory address.- Parameters:
address- the memory address holding a enum value- Returns:
- the enum for the value in the provided memory address
-
getType
-