enaml.widgets.progress_bar

Classes

ProgressBar

A control which displays a value as a ticking progress bar.

class enaml.widgets.progress_bar.ProgressBar(parent=None, **kwargs)[source]

Bases: enaml.widgets.control.Control

A control which displays a value as a ticking progress bar.

minimum

The minimum progress value. If the minimum value is changed such that it becomes greater than the current value or the maximum value, then those values will be adjusted. The default is 0.

maximum

The maximum progress value. If the maximum value is changed such that it becomes smaller than the current value or the minimum value, then those values will be adjusted. The default is 100.

value

The position value of the Slider. The value will be clipped to always fall between the minimum and maximum.

percentage

A read only cached property which computes the integer percentage.

text_visible

Whether or not to display progress percentage on the control. This may not be supported by all toolkits and platforms.

hug_width

How strongly a component hugs it’s content. ProgressBars expand to fill the available horizontal space by default.

proxy

A reference to the ProxyProgressBar object.

get_percentage()[source]

The getter function for the read only percentage property.