Pygame-menu

Latest version: v4.4.8

Safety actively analyzes 688568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 16

4.1.2

- Added ``_keyboard_ignore_nonphysical`` to Menu and Widgets for ``PyAutoGUI`` support, 358, 359.

4.1.1

- Fixes value assertion on ``RangeSlider``, 356.

4.1.0

- 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.

4.0.7

- 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 ``TextInput``class.
- ``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.

4.0.6

- Fixed critical error on mainloop execution, 336.

4.0.5

- 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.

Page 6 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.