Widgets for pygame
Project description
pgwidget
pgwidget is a Python library for easy creation of GUI widgets in pygame environment (+web engine experimental).
Installation
Use the package manager pip to install pgwidget.
pip install pgwidget
Usage
import pgwidget.pgwidget_core as pgw
buttons=pgw.PgWidget()
button1=pgw.Button([800,100],[80,20],"Submit")
buttons.elements.append(button1)
pgwidgets=[buttons]
pgw.main_program_loop(pgwidgets,None)
In examples folder you can get several GUI elements.
Examples of UIs possible to create with pgwidget
Project Forloop.ai Older example
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Currently implemented
- Checkbox
- Radio button
- Button (image)
- Button (classical)
- Table (spreadsheet)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pgwidget-0.8.1.tar.gz
(24.6 kB
view hashes)
Built Distribution
pgwidget-0.8.1-py3-none-any.whl
(24.8 kB
view hashes)