Releases: AustL/PygameWidgets
Popups
Pygame Widgets v1.0.0
Pygame Widgets v1.0.0
This is the official new release of Pygame Widgets!
Installation
To install the new version, run the following command in a terminal window.
pip install pygame-widgets==1.0.0
Usage
After creating your widgets the usual way, you no longer need to call their listen and draw methods every loop. Instead, simply add:
pygame_widgets.update(events)
at the end of the main loop and this will handle all of that. Simply call the disable or hide method if you don't want the widget to listen or draw:
widget.disable()
or widget.hide()
Note: Documentation is now available on readthedocs.io.
Pygame Widgets v1.0.0-beta
Pygame Widgets v1.0.0-beta
This pre-release implements a new system for handling mouse input and widgets.
Installation
To install this pre-release use the terminal command:
pip install pygame_widgets==1.0.0b0
Usage
After creating your widgets the usual way, you no longer need to call their listen and draw methods every loop. Instead, simply add:
pygame_widgets.update(events)
at the end of the main loop and this will handle all of that. Simply call the disable or hide method if you don't want the widget to listen or draw:
widget.disable()
or widget.hide()
Note: Documentation will be made available as soon as possible.
Combo Box
Dropdown
Progress Bar
Create a progress bar widget that can double up as a health bar.
Toggle
Animations
Added animations