update(repaint_enabled)

Class: Separator. Method inherited from UIComponent.

Description:

When called without arguments it flushes message queue and revalidates and repaints the component.
When the first argument is true, it enables repainting (enabled by default) and flushes the message queue.
When the first argument is false, it disables repainting.

Parameters:

Name Type Description

repaint_enabled

boolean

false to pause repainting this element. true to resume repainting

Returns:

Returns this component.

Type: this