Skip to main content

A modern contextmenu for Kivy

Project description

Kivy ModernMenu

A context menu for Kivy with modern look and feel.

Please see the garden instructions for how to use kivy garden flowers.

Flower information

This set of widgets allows you to build a flexible set of modern looking menus. 3 widgets are provided, conceived in a way to allow both tweaking and subclassing for maximum flexibility in representation.

The MenuSpawner is a very simple widget allowing you to create a widget for a long touch (arbitrary time) staying in a short distance of its origin point, i.e: "long press" actions.

The ModernMenu widget is a configurable menu based on a circle with the arious options appearing around. It animates the transitions to submenus and provides a nice "back/close" button in the center.

The ModernMenuLabel is the default class used to display the elements of the menu.

A simple mecanism allow passing options from each widget to the one it builds, making customization for each instance of the menu easy if needed.

An example of usage is provided in the module (run the module as a python program), you can see a result of this example here.

Install

pip install kivy_garden.modernmenu

Contributing

Check out our contribution guide and feel free to improve the flower.

License

This software is released under the terms of the MIT License. Please see the LICENSE.txt file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kivy-garden.modernmenu, version 0.1.0.dev0
Filename, size File type Python version Upload date Hashes
Filename, size kivy_garden.modernmenu-0.1.0.dev0-py3-none-any.whl (7.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size kivy_garden.modernmenu-0.1.0.dev0.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page