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

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.4.6.tar.gz (23.3 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.4.6-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pgwidget-0.4.6.tar.gz
Algorithm Hash digest
SHA256 a5f11a718a366d3804b77b5a8fa0d54e776ae5027019ea2046fcfc809ec1099a
MD5 965fe79f76d6c632f531f6fb2036c5f2
BLAKE2b-256 02d4531982a5a5b38b0a560c60d5dfc74baa3bda25d3da0a2981c377154ba9a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgwidget-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 24.2 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.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b52b6f92bf30264a31927c34d5fef35c12577512def676ad8a051201b1d22372
MD5 2d6eef87b72f3c509bf4eee16ae80615
BLAKE2b-256 0bcde44bc9e1a6b3e1150021ffa0f5dbeece655a81aa439e0f5c840f527d54f1

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