Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kivy-garden/garden.geartick

A gear based Ticker for use in rotating sliders
https://github.com/kivy-garden/garden.geartick

Last synced: about 1 month ago
JSON representation

A gear based Ticker for use in rotating sliders

Awesome Lists containing this project

README

        

Module GearTick
===============

A circular Slider.

Usage::

Python::

from kivy.garden.geartick import GearTick
parent.add_widget(GearTick(range=(0, 100)))

kv::

BoxLayout:
orientation: 'vertical'
GearTick:
id: gear_tick
zoom_factor: 1.1
# uncomment the following to use non default values
#max: 100
#background_image: 'background.png'
#overlay_image: 'gear.png'
on_release:
Animation.stop_all(self)
Animation(value=0).start(self)
Label:
size_hint: 1, None
height: '22dp'
color: 0, 1, 0, 1
text: ('value: {}').format(gear_tick.value)

![ScreenShot](https://raw.github.com/kivy-garden/garden.geartick/master/snapshot.jpeg)