Skip to main content

Widgets for use with Pygame

Project description

Pygame Widgets

A helper module for common widgets that may be required in developing applications with Pygame. It supports fully customisable buttons, collections of buttons, textboxes, sliders and many more! If there are any widgets that you would like to see added, please create an issue!

NEW FEATURES

  • Combo Box: Select options from a list that appears when typing into a search bar
  • Dropdown: Select options from a list that appears when hovered over
  • Progress Bar: Shows a percentage of completeness, great for loading screens and health bars
  • Toggle: Allows switching between two values, great for settings
  • Animations: Create an animation that changes a widgets attributes over some time, running on a separate thread

Prerequisites

Installation

Ensure that Python 3 and pip are installed and added to your environment PATH.

python -m pip install pygame-widgets

Open a Python console and run the following command.

import pygame_widgets

If you receive no errors, the installation was successful.

Usage

How to Contribute

Any contribution to this project would be greatly appreciated. This can include:

  • Finding errors or bugs and creating a new issue
  • Addressing active issues
  • Adding functionality
  • Improving documentation

If applicable, you should make any changes in a forked repository and then create a pull request once the changes are complete and preferably tested if possible.

Note: If writing any code, please attempt to follow the Code Style Guide

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygame-widgets-1.0.0b0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

pygame_widgets-1.0.0b0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file pygame-widgets-1.0.0b0.tar.gz.

File metadata

  • Download URL: pygame-widgets-1.0.0b0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for pygame-widgets-1.0.0b0.tar.gz
Algorithm Hash digest
SHA256 7db9a0f120adb6bfad55d0bf077a3407fc4adc786369e8d95bd79b42ca9698f4
MD5 dc1e25655f02c101ca9dcbc4a73b68d1
BLAKE2b-256 9753d3a18c2600e185c430e21adf3ee7f5db7ff9139c42e84b1f7c9aaed7542e

See more details on using hashes here.

File details

Details for the file pygame_widgets-1.0.0b0-py3-none-any.whl.

File metadata

  • Download URL: pygame_widgets-1.0.0b0-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for pygame_widgets-1.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 a46c4898369645db4a8d828bf56bef98178d13332a4fd5dca3ac61a982bd99d9
MD5 35fd367b4bf07e43f4bf64f8246eb229
BLAKE2b-256 ea2667d85070f2186e22772321fb704d152b38c1be8f97f4149b85a66b14b2d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page