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:

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

Instance Method Summary

Instance Method Detail

def display? #

def dpi? #

def font_config? #

def font_name? #

def icon_theme? #