SeekBar

Screenshot

Seekbar - Reference - Enaml-native - CodeLV

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.

create_widget()[source]

Create the underlying widget.

init_widget()[source]

Initialize the underlying widget.

No iOS implementation found.