reset_widgets


Description:

[ Version ( since = "3.0" ) ]
public static void reset_widgets (Screen screen)

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