Migration Guide - v2 to v3

  • Removed from library
    • Renamed library pygameMenu to pygame_menu
    • Removed all configuration variables from pygameMenu.config.
    • Removed TextMenu, use Menu and add_label() method instead
  • New Menu behaviour
    • Menu manage the event loop and drawing using Menu.mainloop(surface,bgfun,disable_loop=False,fps_limit=0)
    • User’s application manage the event loop, using Menu.update(events)` and `Menu.draw(surface)
  • Removed from Menu class
  • Renamed Menu method parameters
    • element_name and element from add_button() to title and action
    • values from add_selector() to items
    • widget_id from add_button() to button_id