StyleContext.resetWidgets

This function recomputes the styles for all widgets under a particular gdk.Screen 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 gtk.Settings object.

class StyleContext
static
void
resetWidgets

Parameters

screen Screen

Meta