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.3.tar.gz (25.0 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.3-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgwidget-0.7.3.tar.gz
  • Upload date:
  • Size: 25.0 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.3.tar.gz
Algorithm Hash digest
SHA256 b87f837b99ce2e69fc050158974547fb4d1a8cc0d61b768934eff622dec55f27
MD5 0604a5e47e12eceac4bee2e630acd23b
BLAKE2b-256 a16c485ad29cdb019702f6bfee8cb9ae0dfebc578c338cc2b09d0bb2d916777d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgwidget-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 25.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a7ac528a6db5a8b4e212706e26a431f210ce3674c864c8765193aec66cf20c3
MD5 95a3ac765676e5fdc1df84b4c3c7a812
BLAKE2b-256 22e10acf3b3f19a7e53e09e7a8089d115df0e72077dfac4cdd8dddaf50214830

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