rc_reset_styles


Description:


[ Version ( deprecated = true , deprecated_since = "3.0" , since = "2.4" ) ]
public void rc_reset_styles (Settings settings)

Warning: rc_reset_styles is deprecated since 3.0.

This function recomputes the styles for all widgets that use a particular Settings object.

Note:

Use CssProvider instead.

(There is one Settings object per 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 explicitly on them with set_style.

Parameters:

settings

a Settings


Namespace: Gtk
Package: gtk+-3.0