enum Gtk::SystemSetting

Overview

Values that can be passed to the 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.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

Dpi = 0_u32

the [property@Gtk.Settings:gtk-xft-dpi] setting has changed

FontName = 1_u32

The [property@Gtk.Settings:gtk-font-name] setting has changed

FontConfig = 2_u32

The font configuration has changed in a way that requires text to be redrawn. This can be any of the [property@Gtk.Settings:gtk-xft-antialias], [property@Gtk.Settings:gtk-xft-hinting], [property@Gtk.Settings:gtk-xft-hintstyle], [property@Gtk.Settings:gtk-xft-rgba] or [property@Gtk.Settings:gtk-fontconfig-timestamp] settings

Display = 3_u32

The display has changed

IconTheme = 4_u32

The icon theme has changed in a way that requires icons to be looked up again

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def display? #

[View source]
def dpi? #

[View source]
def font_config? #

[View source]
def font_name? #

[View source]
def icon_theme? #

[View source]