v3.0.0 Release.
This release brings major improvements and minor breaking changes to Reskinner, mainly:
- The
exempt_element_keys
,target_element_keys
andhonor_previous
parameters have been removed from thereskin
andanimated_reskin
functions. Anelement_filter
parameter has been added instead, which takes any callable that takes individual PySimpleGUI elements and is expected to return eitherTrue
orFalse
, and if given, only elements that cause it to returnTrue
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.