Widget.getSettings

gtk.settings.Settings getSettings()

Gets the settings object holding the settings used for this widget.

Note that this function can only be called when the [gtk.widget.Widget] is attached to a toplevel, since the settings object is specific to a particular [gdk.display.Display]. If you want to monitor the widget for changes in its settings, connect to the notify::display signal.

Returns

the relevant [gtk.settings.Settings] object