Function

GtkStyleContextreset_widgets

since: 3.0

Declaration [src]

void
gtk_style_context_reset_widgets (
  GdkScreen* screen
)

Description [src]

This function recomputes the styles for all widgets under a particular GdkScreen. This 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 color scheme changes in the related GtkSettings object.

Available since: 3.0

Parameters

screen

Type: GdkScreen

A GdkScreen.

The data is owned by the caller of the function.