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.circulardatetimepicker

Android-like date & time picker for Kivy
https://github.com/kivy-garden/garden.circulardatetimepicker

Last synced: about 1 month ago
JSON representation

Android-like date & time picker for Kivy

Awesome Lists containing this project

README

        

Circular Date & Time Picker for Kivy
====================================

(currently only time, date coming soon)

Based on [CircularLayout](https://github.com/kivy-garden/garden.circularlayout).
The main aim is to provide a date and time selector similar to the
one found in Android KitKat+.

![Screenshot](screenshot.png)

Simple usage
------------

Import the widget with

```python
from kivy.garden.circulardatetimepicker import CircularTimePicker
```

then use it! That's it!

```python
c = CircularTimePicker()
c.bind(time=self.set_time)
root.add_widget(c)
```

in Kv language:

```
:
BoxLayout:
orientation: "vertical"

CircularTimePicker

Button:
text: "Dismiss"
size_hint_y: None
height: "40dp"
on_release: root.dismiss()
```