Simple slider with value in label

Mathieu Virbel edited this page Sep 27, 2013 · 1 revision

Simple interaction within .kv file:


Label:
    text: 'Slider value is %s' % int(s1.value) if s1.value else 'Slider not set'
Slider:
    id: s1
    value: 3
    range: (0,20)
    step: 1
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.