Pygame menu - 2.0.1
Menu for pygame, simple, lightweight and easy to use
Python library that can create a simple menu for pygame application: - Scroll support - Widgets: buttons, images, text input, selectors - Multiple themes - Sound support
pygame-menu has been completely rewritten this version. Core changes All menu elements were converted to Widgets. Added TextInput widget. New locals definitions. New element position within menu. Improved rendering methods. Improved library documentation. Added support for both python 2.7+ and 3.4+. Events Added mouse support. Renamed all events. Fonts Added system fonts. Added 4 new open source fonts. Sounds Sound support are added in v2.0.0, both Menu and Widgets implements different types of sounds. This version introduces 8 different sound types. Tests Added tests to the library. Added Travis-CI.
Pygame.org account Comments
Marcus Bell 2017-12-01 00:43Looks good. I can't figure out how to close the menu though. (Only esc key works for this, but I want to use another key)
Ales 2018-02-02 12:10Perfect job! One question: when rise menu.enable() for main menu is not impacted required aplha %. Every time is menu apear with 100% opaque. When I use only draw method it's transparent, but menu is not functional (do not catch events, when is disable problably). Please advice - How can I run single transparent menu started from my python code. example.py starting transparent from main menu and this working. thanx Ales
Pablo Pizarro 2020-05-03 21:22New version 3, added multiple widgets, image support, scrolling, new doc website https://pygame-menu.readthedocs.io
Slava 2020-10-26 20:02Thank you for your work!