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 and sliders. If there are any widgets that you would like to see added, please create an issue!

NEW FEATURES

  • 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

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-0.5.2.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

pygame_widgets-0.5.2-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file pygame-widgets-0.5.2.tar.gz.

File metadata

  • Download URL: pygame-widgets-0.5.2.tar.gz
  • Upload date:
  • Size: 13.6 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-0.5.2.tar.gz
Algorithm Hash digest
SHA256 77d8a88d3485c42f64028e8e7eeee07a396fc0a012c1b25b5ec33f7c31fd9a04
MD5 b68f2fb31edc58ca915369f15a334c46
BLAKE2b-256 dfe915009e6c67783906ce3c32f1c234da19480b93d0ebee23bf7ed3c00e5432

See more details on using hashes here.

File details

Details for the file pygame_widgets-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: pygame_widgets-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 19.3 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-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a1f82e26675fecb0f6de379f8c81b490a4fda85ef04194c6405f34284b441f0a
MD5 4957da38c01029b8b77ae5003dfcbb2b
BLAKE2b-256 34b639cb67a053f309ee95a39a40a85e3da5c1a64a062d1a1858b199cf930f6f

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