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 #GtkWidget is attached to a toplevel, since the settings object is specific to a particular #GdkScreen.

Returns

the relevant #GtkSettings object