Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kivy-garden/garden.geartick
- Owner: kivy-garden
- License: mit
- Created: 2013-12-12T16:44:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-05-06T05:29:09.000Z (over 5 years ago)
- Last Synced: 2023-03-30T18:26:04.368Z (over 1 year ago)
- Language: Python
- Size: 552 KB
- Stars: 6
- Watchers: 9
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)