Gtk.Widget.prototype.get_settings
function get_settings():Gtk.Settings { // Gjs wrapper for gtk_widget_get_settings() }
Gets the settings object holding the settings used for this widget.
Note that this function can only be called when the Gtk.Widget is attached to a toplevel, since the settings object is specific to a particular Gdk.Screen.
- Returns
the relevant Gtk.Settings object