New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simplepygamemenus

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simplepygamemenus

A package for making simple menus for your python games!

  • 0.1.4
  • PyPI
  • Socket score

Maintainers
1

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:

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc