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.

Source Distribution

kivy_garden.modernmenu-0.1.0.dev0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file kivy_garden.modernmenu-0.1.0.dev0.tar.gz.

File metadata

  • Download URL: kivy_garden.modernmenu-0.1.0.dev0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.9

File hashes

Hashes for kivy_garden.modernmenu-0.1.0.dev0.tar.gz
Algorithm Hash digest
SHA256 ff5af5f7d6da43e6f075d69d34d07b3ef5832692a6c8f9e46b5100cd5b1f2a3b
MD5 b59e34a7a65bd9410cda9d66e01d81b6
BLAKE2b-256 c06a19189c3a8f8e691c579759a886b5e346cb46c80ccebdc18172ea383313bf

See more details on using hashes here.

File details

Details for the file kivy_garden.modernmenu-0.1.0.dev0-py3-none-any.whl.

File metadata

  • Download URL: kivy_garden.modernmenu-0.1.0.dev0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.9

File hashes

Hashes for kivy_garden.modernmenu-0.1.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 0eedb692f316deed6206cbec728dbfe4c49e62ebd583b47d7aa7a656c9da922e
MD5 2c7fc64b600c61baaf27b1f58174b8f7
BLAKE2b-256 1eddd788e87de6f8f95940995ec87105a916f70331a2c479468e9425f4a90a32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page