reset_widgets
Description:
This function recomputes the styles for all widgets under a particular 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 Settings object.
Parameters:
screen |
a Screen |