Skip to main content

simplepygamemenus

A package for making simple menus for your python games!

  • By Leonardo Ferrisi

Installation

Install using

pip install simplepygamemenus


Documentation / API

local

webpage

Demo / Example:

See our Demo File


Features:

  • Make simple pygame menus

Usage:

Create a main menu using the 'Menu()' construtor

Example:
    myMenu = Menu(title="MyMainMenu")

Add buttons using:

myMenu.add_button(label='button text', x, y, fontsize, function=<function to perform>)

Example:
    if you have added a second menu, you can switch to it using your new button using the:
        
    `menuName.run_menu` function

Example2:

   myMenu = Menu(title="MyMainMenu")
   myOtherMenu = Menu(title="myOtherMenu")
   myMenu.add_button(label='button text', x, y, fontsize, function=myOtherMenu.run_main)

I'll add more soon, see the example below!

  • Leonardo

Extra Info:

Metadata

Release files for simplepygamemenus 0.1.4

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

Source distribution (sdist)

Source distribution for simplepygamemenus 0.1.4
File Size Uploaded Provenance Actions
simplepygamemenus-0.1.4.tar.gz 42.4 kB Without provenance Details for simplepygamemenus-0.1.4.tar.gz

Release files / simplepygamemenus-0.1.4.tar.gz

Download URL simplepygamemenus-0.1.4.tar.gz
Size 42.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4f6adaa304191b5443028420bdfbb4675af8aa2a2750f0028cdccf03cc9f3170
BLAKE2b-256 checksum
How to use checksums
9728e9fc188aa63b23aa02ff03b742bb4fc966385bb0c7f1d441ea956505495a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for simplepygamemenus 0.1.4

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