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

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.6.2.tar.gz (23.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.6.2-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pgwidget-0.6.2.tar.gz
Algorithm Hash digest
SHA256 448bfcaadf9b9d03ef4cb46d159b7fefc7cf93bf7845298108042b3e90f899c9
MD5 990b39fe556e97f6a2c72a1a4a117076
BLAKE2b-256 e8b91ff4320e83055fe408a8dda0267af280a30e9343340590c93011f7b9e885

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgwidget-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 24.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.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 242bc6feb734ec42dac1480dc218b2ffae132a129bb438b9bcc41df63cef7ed3
MD5 2929ca22835bdfbcd908acc2cf1d846c
BLAKE2b-256 2aea049bfd68180c1bb41403faaaac0d0c309f75ed46f7fb9aac63604916adce

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