ProgressBar¶
Screenshot¶
Example¶
from enamlnative.widgets.api import *
enamldef ContentView(Flexbox):
flex_direction = "column"
align_items = "stretch"
ProgressBar: pb:
padding = (10, 10, 10, 10)
progress = 50
SeekBar:
padding = (10, 10, 10, 10)
progress := pb.progress
Declaration¶
- class enamlnative.widgets.progress_bar.ProgressBar(parent=None, **kwargs)[source]¶
Bases:
enamlnative.widgets.view.View
A simple control for displaying a ProgressBar.
- progress¶
Sets the current progress to the specified value.
- secondary_progress¶
Sets the current progress to the specified value.
- max¶
Set the upper range of the progress bar max.
- min¶
Set the lower range of the progress bar
- proxy¶
A reference to the ProxyProgressBar object.
Android Implementation¶
- class enamlnative.android.android_progress_bar.AndroidProgressBar[source]¶
Bases:
enamlnative.android.android_view.AndroidView
,enamlnative.widgets.progress_bar.ProxyProgressBar
An Android implementation of an Enaml ProxyProgressBar.
For an indeterminate ProgressBar use the ActivityIndicator.
- widget¶
A reference to the widget created by the proxy.
- indeterminate¶
Set to True to make the progress bar an activity indicator
No iOS implementation found.