Gtk.SettingsΒΆ
Gtk4 API documentation | Gtk3 API documentation
In Gtk3, Gtk.Settings checks the following sources, in order:
XSettings (mapping)
The
settings.ini
In Gtk4 prior to Gtk 4.22, Gtk.Settings checks the following sources, in order:
If on X11, XSettings (mapping)
If on Wayland:
If the portal was inaccessible, from GSettings (dconf)
The mapping for both is the same
The
settings.ini
In Gtk 4.22, the GSettings fallback will be removed. However, most desktops will configure a fallback to xdg-desktop-portal-gtk, which will proxy the requests to GSettings.
Note that not all Gtk.Settings can be configured via XSettings or the Settings portal.