Skip to main content

pygame_button

A very simple button class for pygame. Supports different background and font colors for idle, hover, and clicked modes. Can be linked to a function and set to either run on down-click, or click release.

It is stylable to a degree (see example). The easiest way to do this is to create a style dictionary and then pass this with the **kwarg unpacking syntax.

Many things that could still be added.

Installation

pip install pygame_button

Usage

See example

Metadata

Release files for pygame-button 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygame-button 0.0.3
File Size Uploaded Provenance Actions
pygame_button-0.0.3.tar.gz 2.6 kB Without provenance Details for pygame_button-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pygame-button 0.0.3
File Interpreter ABI Platform Actions
pygame_button-0.0.3-py3-none-any.whl Python 3 none any Details for pygame_button-0.0.3-py3-none-any.whl

Total release size: 5.4 kB

Release files / pygame_button-0.0.3.tar.gz

Download URL pygame_button-0.0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
471fd63db8cf9d0acc23c974cf1b119eadacb7c0afd07ef4531c6bc03863f722
BLAKE2b-256 checksum
How to use checksums
3eeafeee321bd7ef860b8d61c708b59ad963f75862e97ad0c915360a3e4d98a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.8

Release files / pygame_button-0.0.3-py3-none-any.whl

Download URL pygame_button-0.0.3-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
716689552beb3c40c2adf690cdee8bfd42348e8faa9f9adc9f7565e20eec9a8e
BLAKE2b-256 checksum
How to use checksums
038235111458eb091f40ee3373402d856aebbd3d1fc6b2fcff9ff6edd6341d2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.8

Security for pygame-button 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page