Skip to main content

Pygame menu - 2.0.3

Menu for pygame, simple, lightweight and easy to use

Pablo Pizarro
Python library that can create a simple menu for pygame application, supports: - Textual menus - Buttons - Lists of values (selectors) that can trigger functions when pressing return or changing the value - Input text


Added title shadow (#69) . Added method to get selected widget. Fixed menu back/open events (closes #71). New examples format, now the files can be called from the terminal. Fixed textinput event cursor selection (#70).


Home Page
Github repo


Pygame menu 1.5 — 20 Jun, 2017

Pygame menu 1.6 — 20 Jul, 2017

Pygame menu 1.71 — 19 Nov, 2017

Pygame menu 1.72 — 29 Jan, 2018

Pygame menu 1.9 — 8 Apr, 2018

Pygame menu 1.93 — 8 Jun, 2018

Pygame menu 1.95 — 28 Sep, 2018

Pygame menu v1.96.1 — 13 Jun, 2019

Pygame menu 2.0.4 — 16 Aug, 2019

Pygame menu 2.0.1 — 31 Jul, 2019

Pygame menu 2.0.3 — 8 Aug, 2019 account Comments

  • tom 2017-07-24 18:55:18.044132

    This is impressive!!

    Pablo Pizarro 2017-11-19 16:31:08.752559

    thanks :), any feedback is welcome
  • Marcus Bell 2017-12-01 00:43:02.257072

    Looks good. I can't figure out how to close the menu though. (Only esc key works for this, but I want to use another key)

    Pablo Pizarro 2018-01-29 03:28:59.902971

    you can use a 'function' or pygamemenu event like PYGAME_MENU_CLOSE

    Tiago Lajas 2019-05-15 19:52:39.744571

    Idk why but I can't get that function to work.
  • Ales 2018-02-02 12:10:16.054344

    Perfect job! One question: when rise menu.enable() for main menu is not impacted required aplha %. Every time is menu apear with 100% opaque. When I use only draw method it's transparent, but menu is not functional (do not catch events, when is disable problably). Please advice - How can I run single transparent menu started from my python code. starting transparent from main menu and this working. thanx Ales

    Pablo Pizarro 2018-04-11 11:44:07.540341

    that was already fixed, greetings!
  • Dmitry 2019-08-17 01:38:53.239247

    Always be sure you take a look at the best essay writers online of any writing service website you're thinking about using. The usability of the site is more than decent. Completely free services also have a plagiarism report in addition to the paper best essay writers online.