SeekBar¶
Screenshot¶
Example¶
from enamlnative.widgets.api import *
enamldef ContentView(Flexbox):
flex_direction = "column"
align_items = "stretch"
margin = (10, 10, 10, 10)
SeekBar: seekbar:
progress = 12
max = 20
TextView:
text << f"Value {seekbar.progress}"
Declaration¶
- class enamlnative.widgets.seek_bar.SeekBar(parent=None, **kwargs)[source]¶
Bases:
enamlnative.widgets.progress_bar.ProgressBar
A simple control for displaying read-only text.
- key_progress_increment¶
Sets the amount of progress changed via the arrow keys.
- split_track¶
Specifies whether the track should be split by the thumb.
- proxy¶
A reference to the SeekBar object.
Android Implementation¶
- class enamlnative.android.android_seek_bar.AndroidSeekBar[source]¶
Bases:
enamlnative.android.android_progress_bar.AndroidProgressBar
,enamlnative.widgets.seek_bar.ProxySeekBar
An Android implementation of an Enaml ProxySeekBar.
- widget¶
A reference to the widget created by the proxy.
No iOS implementation found.