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. 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.3.4

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.3.4.tar.gz (15.8 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.3.4-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgwidget-0.3.4.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for pgwidget-0.3.4.tar.gz
Algorithm Hash digest
SHA256 13d3a6176b5fece9ed786c14c6b458b47eb6fbb1c875c8a69dddfc19e0cebe41
MD5 656a1fba896d82b6f372e5430b0f2627
BLAKE2b-256 e850183cebb7e4b233f651632f6d681e4c49f4ad4577b8da577c3023af303ab0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgwidget-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for pgwidget-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6ec2260282df99a37811564a4fd40bdbfa491b33a2f308b5e10fb008f7d13656
MD5 7b2912df09653b3e1a5d9b2ca8d83f69
BLAKE2b-256 bdc3d8cfab05faf56f29a356057f370398bc0e648b2b4c9c4d1bd196df3c6739

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