Skip to main content

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 obrazek obrazek Older example alt text

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Currently implemented

  • Checkbox
  • Radio button
  • Button (image)
  • Button (classical)
  • Table (spreadsheet)

Project details


Release history Release notifications | RSS feed

This version

0.8.1

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 details)

Uploaded Source

Built Distribution

pgwidget-0.8.1-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file pgwidget-0.8.1.tar.gz.

File metadata

  • Download URL: pgwidget-0.8.1.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for pgwidget-0.8.1.tar.gz
Algorithm Hash digest
SHA256 87f2591692199d642ec47ba4bd2892c369569e6eaae2fe0ffa7ebc9b08174614
MD5 fe94f95705137ff4eabfbd7a123c4c1a
BLAKE2b-256 a49595dfd76b65932c1ea6e6be5cf476625480d05f51f800230dac28d590ec2c

See more details on using hashes here.

File details

Details for the file pgwidget-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: pgwidget-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for pgwidget-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9a9838b9fd0681a8c8c23d9602b0b44781cd8a320ec208dafae2b8e1279c69f
MD5 d1a74bf3ed76f64a2252bb855c24920f
BLAKE2b-256 81fe57cbad1e0c953ad3923492f3b4d414fd98254f722e78b8fa8fda01be6759

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page