Gooey v1.0.5 Release Notes
Release Date: 2020-11-08 // over 3 years ago-
๐ Gooey 1.0.5 Released!
Gooey is now using WX 4.1.0!
This change should resolve several issues in Ubuntu as well as the numerous other quirks which have been reported.
๐ Thank you to the current Patreon supporters!
- Qteal
- Joseph Rhodes
๐ New widgets:
FilterableDropdown
๐ You can checkout a runnable example in the GooeyExamples repo here
Example Code:
add\_argument( choices=['a', 'b', 'c'], widget='FilterableDropdown', gooey\_options={ 'no\_match': 'No results found!', 'placeholder': 'Type something!'})
This introduces a new language translation key: "no_matches_found" to handle the case where the user's input doesn't match any of the choices. This is used by default, but can be overridden via gooey options
Elapsed Time / Estimated time remaining
@JackMcKew put in a herculean effort and introduced a new feature where elapsed and estimated remaining time can be shown in addition to the standard progress bar.
You can checkout an example here
Example Code:
@Gooey(timing\_options={'show\_time\_remaining':True,'hide\_time\_remaining\_on\_complete':True})
๐ฅ Breaking Changes
- (documentation breaking)
terminal_font_weight
's public documented API allowed the strings "NORMAL" and "BOLD" while its internal implementation relied on numeric font weights (light=200, normal=300, etc..). The documentation was updated to show the correct usage and a constants file was added to the public API.
Functionality
- ๐ง @neonbunny enabled Parsers to use configuration from parents.
- โก๏ธ @eladeyal-intel updated
RichTextConsole
to allow control+scrollwheel to zoom the text
Language Additions / Improvements
- ๐ @soleil0-0 - Additional Chinese translation
- ๐ @dancergraham - Additional French translation
- ๐ @ajvirSingh1313 - Hindi translation
๐ Bug Fixes
- ๐ Fixed bug where dynamic updates to a Dropdown would cause the selection to be lost
- ๐ Fixed performance issues where dynamic updates with large items would cause Gooey to hang
- โก๏ธ @rotu fixed a bug in dynamic updates related to
Popen
usage. - โ @neonbunny - resolved warning cause by missing return statement
- ๐ Fixed bug where terminal font and colors were not being set correctly
- ๐ Fixed mysterious RadioGroup issue where underlying WxWidgets would 'forget' the current selection under certain circumstances