Skip to content

v3.0.0 Release.

Compare
Choose a tag to compare
@definite-d definite-d released this 03 Nov 13:09
· 1 commit to main since this release
77711eb

This release brings major improvements and minor breaking changes to Reskinner, mainly:

  • The exempt_element_keys, target_element_keys and honor_previous parameters have been removed from the reskin and animated_reskin functions. An element_filter parameter has been added instead, which takes any callable that takes individual PySimpleGUI elements and is expected to return either True or False, and if given, only elements that cause it to return True will be reskinned. This enables more complex element selection, like filtering or selecting even elements with no key.
  • COLOR_SYSTEM_DEFAULT shouldn't be a problem anymore; Reskinner now makes use of actual default elements behind the scenes to obtain the right colors.
  • The interpolation logic has been reworked; it no longer does any weird colordict manipulation.
  • The color selection logic has been reworked as well, with caching as an added feature.

Future releases will focus more on performance and optimization, and possibly the return of the honor_previous parameter.

In the meantime, enjoy.