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)
Metadata
Release files for pgwidget 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pgwidget-0.8.1.tar.gz | 24.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pgwidget-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.4 kB
Release files / pgwidget-0.8.1.tar.gz
| Download URL | pgwidget-0.8.1.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87f2591692199d642ec47ba4bd2892c369569e6eaae2fe0ffa7ebc9b08174614
|
|
BLAKE2b-256 checksum How to use checksums |
a49595dfd76b65932c1ea6e6be5cf476625480d05f51f800230dac28d590ec2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.5
|
Release files / pgwidget-0.8.1-py3-none-any.whl
| Download URL | pgwidget-0.8.1-py3-none-any.whl |
|---|---|
| Size | 24.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9a9838b9fd0681a8c8c23d9602b0b44781cd8a320ec208dafae2b8e1279c69f
|
|
BLAKE2b-256 checksum How to use checksums |
81fe57cbad1e0c953ad3923492f3b4d414fd98254f722e78b8fa8fda01be6759
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.5
|