Pygame menu - 4.0.7
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
- Added touch click sound. - Added recursive to Menu.get_submenus() method. - Fixed scrollbar touch event #347. - Fixed DropSelect touch when drop frame is not scrollable, #342. - Fix Frame selected widget positioning, #339. - Fix submenu linking issue. - Fix update list DropSelect, #340. - Fix DeprecationWarning: an integer is required (got type float) issue. - Fix TextInput key delete and menu.clear() method. - Improve tests. - Improve update frame menu management. - Improve widget event handling. - Improve widget manager docs. - Make selection drop (DropSelect) is called automatically after updating items list, now make_selection_drop is private and - requires no **kwargs argument. - Move DropSelect scrollbar style to the constructor. - Dropselect now accepts multiple formats for selected placeholder. - Table now raises AssertionError if packing the same Table (or Frame containing the Table). - Table now warns if adding widgets that accept events.
Pygame.org account Comments
Marcus Bell 2017-12-01 00:43:02.257072Looks 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:10:16.054344Perfect 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:22:44.765888New version 3, added multiple widgets, image support, scrolling, new doc website https://pygame-menu.readthedocs.io
Slava 2020-10-26 20:02:45.493664Thank you for your work!