Releases: ppizarror/pygame-menu
Releases · ppizarror/pygame-menu
pygame-menu v4.0.7
- Added touch click sound.
- Added
recursive
toMenu.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 andmenu.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, nowmake_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 fromTextInput
class. Dropselect
now accepts multiple formats for selected placeholder.Table
now raisesAssertionError
if packing the same Table (or Frame containing the Table).Table
now warns if adding widgets that accept events.
pygame-menu v4.0.6
- Fixed critical error on mainloop execution, #336.
pygame-menu v4.0.5
- Added
wait_for_event
kwargs for menu mainloop, #329. - Base
get_counter_attribute
does not requireincr
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
- Added
single_click
parameter toToggleSwitch
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
parameterselection
default value is nowNone
.
pygame-menu v4.0.3
pygame-menu v4.0.2
- Added
BaseImage
x4 size method, #315. - Added
cursor_size
forTextInput
class - Added
svg
image format support forBaseImage
, #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
pygame-menu v4.0.0
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.
pygame-menu v3.5.8
- Fix TextInput widget mods and non-ASCII chars, #297.
- Fix string checking if Unicode.
- Fix typos.
NOTE: pygame-menu v3 will not provide new widgets or functionalities, consider upgrading to the latest version.