Function

Gtkrc_reset_styles

deprecated: 3.0 since: 2.4

Declaration [src]

void
gtk_rc_reset_styles (
  GtkSettings* settings
)

Description [src]

This function recomputes the styles for all widgets that use a particular GtkSettings object. (There is one GtkSettings object per GdkScreen, see gtk_settings_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 gtk_widget_set_style().

Available since: 2.4

Deprecated since: 3.0

Use GtkCssProvider instead.

Parameters

settings

Type: GtkSettings

A GtkSettings.

The data is owned by the caller of the function.