Skip to main content

Widgets for pygame

Project description

pgwidget

pgwidget is a Python library for easy creation of GUI widgets in pygame environment.

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

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.7.4.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pgwidget-0.7.4-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgwidget-0.7.4.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for pgwidget-0.7.4.tar.gz
Algorithm Hash digest
SHA256 dce47503297282756bf7a076496567e6c51c1cf00671d4237e5b72568d89114a
MD5 8d2df67ab2638b2f9d82f126f78d76d6
BLAKE2b-256 605ba9922b27ab74b386279f8bd26b16efeae4d0d6a77afcec17c7acd53fdfa5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgwidget-0.7.4-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for pgwidget-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ffdefe1e5780cfcfe68d8c80f06e8c64adb9aa619600d679540dac617d7ac994
MD5 a74fa8f1f13c01b321bd909a7503ed3a
BLAKE2b-256 1fe09b670b2286fb193fd4c09c469c87f5c4ab53c834e53c8c6dc51e1a2dc600

See more details on using hashes here.

Supported by

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