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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgwidget-0.3.3.tar.gz
  • Upload date:
  • Size: 15.6 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.3.tar.gz
Algorithm Hash digest
SHA256 31931aa88a3ef1f1844c8016f199354e79d522ac052ce55777b9c3fc036dc15a
MD5 921cb4ef3d5d577285ff24ae488be437
BLAKE2b-256 b97bec970e7ad42b2f99c7f58b4a9cc20575b5a0dcbfd6f6eba782a43757e105

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgwidget-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 18ee20bc3b6d101222d4fb9a477c2f3b7f65fce521ae77773ca4e07fc2b81fa3
MD5 c8c9f67c7edd7e12334df390ec10a99d
BLAKE2b-256 9d520182c933f34d33740e8e8bb8d0e77bfaa0f44c1b1f8e5fd7bb9d4d234851

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