Pygame-widgets

Latest version: v1.1.5

Safety actively analyzes 688409 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.0

Added Popup widget using Tkinter

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 <a href='https://pygamewidgets.readthedocs.io/en/latest/' target='_blank'>readthedocs.io</a>.

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.

1.0.0beta

This pre-release implements a new system for handling mouse input and widgets.

Installation
To install this pre-release use the terminal command:

0.40

Create a progress bar widget that can double up as a health bar.

0.30

Added the Toggle widget which allows you to switch between two values.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.