StyleContext.resetWidgets

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.

class StyleContext
static
void
resetWidgets

Parameters

screen Screen

a GdkScreen Since 3.0

Meta