Skip to content

Releases: ppizarror/pygame-menu

pygame-menu v4.1.1

15 Jun 01:13
cde28c2
Compare
Choose a tag to compare
  • Fixes value assertion on RangeSlider, #356.

pygame-menu v4.1.0

06 Jun 21:53
0788c18
Compare
Choose a tag to compare
  • Added ProgressBar widget.
  • Added RangeSlider widget.
  • Added KEY_TAB to controls.
  • Avoid recursive Frame.set_frame and Frame.set_scrollarea.
  • Fix MOD CTRL events in TextInput widget.
  • Fix render after set value for drop select and toggle switch widgets.
  • Fix widget set_frame assertion Frame class.
  • Improve tests and docs.
  • New menu event onwidgetchange.
  • New widget method value_changed.
  • New Image.get_angle method.
  • Removed v3 compatibility.
  • Transformation not implemented exception.
  • Widget set_position_relative_to_frame method now is private.
  • Image widget implements set_max_height and set_max_width transformations.

pygame-menu v4.0.7

29 May 20:41
Compare
Choose a tag to compare
  • Added touch click sound.
  • Added recursive to Menu.get_submenus() method.
  • Fixed scrollbar touch event, #347.
  • Fixed DropSelect touch when drop frame is not scrollable, #342.
  • Fix submenu linking issue.
  • Fix update list DropSelect, #340.
  • Fix widget _apply_transforms as padding induced recursive rendering in some cases.
  • Fix DeprecationWarning: an integer is required (got type float) issue.
  • Fix Frame selected widget positioning, #339.
  • Fix Menu.clear() method.
  • Fix TextInput key delete and menu.clear() method.
  • Improve tests.
  • Improve update frame menu management.
  • Improve widget event handling.
  • Improve widget manager docs.
  • Make selection drop (DropSelect) is called automatically after updating items list, now make_selection_drop is private and requires no **kwargs argument.
  • Move DropSelect scrollbar style to the constructor.
  • Reduce TextInput.repeat_keys_interval_ms from 100 to 50 ms.
  • Removed unused repeat_touch_interval_ms constructor parameter from TextInputclass.
  • Dropselect now accepts multiple formats for selected placeholder.
  • Table now raises AssertionError if packing the same Table (or Frame containing the Table).
  • Table now warns if adding widgets that accept events.

pygame-menu v4.0.6

18 May 14:51
3d8ef71
Compare
Choose a tag to compare
  • Fixed critical error on mainloop execution, #336.

pygame-menu v4.0.5

16 May 22:14
Compare
Choose a tag to compare
  • Added wait_for_event kwargs for menu mainloop, #329.
  • Base get_counter_attribute does not require incr parameter as 0 is default.
  • Fix ColorInput cursor_switch_ms constructor parameter.
  • Fixed get_cursor for SDL2 compatibility, #330.
  • Improve docs and tests.
  • Menu events accept empty callbacks, #333.
  • New decoration is_enabled method.
  • New menu get_submenus method.
  • Relax assertion on touchscreen option, #332.

pygame-menu v4.0.4

29 Apr 15:08
Compare
Choose a tag to compare
  • Added single_click parameter to ToggleSwitch widget, #326.
  • Fixed selection effect color, #324.
  • Improved widget's scale, max width and max height warn messages.
  • Improve selection classes output type for method draw.
  • New SimpleSelection widget selection effect.
  • Test improvements.
  • Theme class validates when copying.
  • Widget.set_selection_effect parameter selection default value is now None.

pygame-menu v4.0.3

26 Apr 16:20
867ed8a
Compare
Choose a tag to compare
  • Fix selection, dropselect, and switch widgets touch finger events, #323.
  • Menu and table docs improvements, #320.

pygame-menu v4.0.2

02 Apr 19:15
Compare
Choose a tag to compare
  • Added BaseImage x4 size method, #315.
  • Added cursor_size for TextInput class
  • Added svg image format support for BaseImage, #314.
  • Fix docs and tests.
  • Fix sound and image errors for Macs M1 ARM architecture under pygame 1.9.x and pygame 2.0.x.
  • Improved controls, now the constants can be changed during execution time, #316.
  • New MenuLink class, #313.

pygame-menu v4.0.1

22 Mar 15:04
1a3389c
Compare
Choose a tag to compare
  • Fixed typing error.
  • Fix macOS mixer error.
  • Added origin_position to Widget float, #310.
  • Added widgets example to the gallery, #310.

pygame-menu v4.0.0

15 Mar 23:21
6169478
Compare
Choose a tag to compare

New v4 release

v4 version comes out with many new features. The most important ones are:

  • All menu objects now support decorations.
  • Colors now can be defined using pygame color object, string hex, integers, or string names.
  • Cursor support + mouse over/leave events.
  • New column/row layout.
  • New examples: Calculator and Solar System.
  • New typing support; now the library only supports python 3.6+.
  • New widgets: Frame (widget containers), Table, DropSelect, DropSelectMultiple, SurfaceWidget.
  • New widget transformations: scale, resize, rotate, flip and translate.