Source repo on GitHub, and run it on Repl.it
Pygame-menu is a python-pygame library for creating menus and GUIs. It supports several widgets, such as buttons, color inputs, clock objects, drop selectors, frames, images, labels, selectors, tables, text inputs, color switches, and many more, with multiple customization options.
Comprehensive documentation for the latest version is available at https://pygame-menu.readthedocs.io
Pygame-menu requires either pygame (default) or pygame-ce to be installed. If you install pygame-menu normally, the standard pygame backend is used.
To install with the default pygame backend:
$> pip install pygame-menu -UTo install with pygame-ce (Community Edition):
$> pip install pygame-menu[ce] -UTo build the documentation from a Git repository:
$> git clone https://github.com/ppizarror/pygame-menu
$> cd pygame-menu
$> pip install -e ".[docs]"
$> pip install pygame -U # or pygame-ce if preferred
$> cd docs
$> make html