rc_reset_styles

function rc_reset_styles(settings:Gtk.Settings):void {
    // Gjs wrapper for gtk_rc_reset_styles()
}

This function recomputes the styles for all widgets that use a particular Gtk.Settings object. (There is one Gtk.Settings object per Gdk.Screen, see get_for_screen); It is useful when some global parameter has changed that affects the appearance of all widgets, because when a widget gets a new style, it will both redraw and recompute any cached information about its appearance. As an example, it is used when the default font size set by the operating system changes. Note that this function doesn't affect widgets that have a style set explicitely on them with Gtk.Widget.prototype.set_style.

Since 2.4

settings

a Gtk.Settings