You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
2.8 KiB

  1. ## Gooey 1.0.5 Released!
  2. Gooey is now using WX 4.1.0!
  3. This change should resolve several issues in Ubuntu as well as the numerous other quirks which have been reported.
  4. ## Thank you to the current Patreon supporters!
  5. * Qteal
  6. * Joseph Rhodes
  7. # New widgets:
  8. ### FilterableDropdown
  9. ![Filterable Dropdown](https://user-images.githubusercontent.com/1408720/97120143-6649fc00-16d2-11eb-95a9-f8c49cae055f.gif)
  10. You can checkout a runnable example in the GooeyExamples repo [here](https://github.com/chriskiehl/GooeyExamples/blob/1.0.5-release/examples/FilterableDropdown.py)
  11. Example Code:
  12. ```python
  13. add_argument(
  14. choices=['a', 'b', 'c'],
  15. widget='FilterableDropdown',
  16. gooey_options={
  17. 'no_match': 'No results found!',
  18. 'placeholder': 'Type something!'
  19. })
  20. ```
  21. 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
  22. ### Elapsed Time / Estimated time remaining
  23. ![fbHcpCAGD8](https://user-images.githubusercontent.com/19178331/85913252-592d1580-b876-11ea-8def-25b12732b9cb.gif)
  24. @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.
  25. You can checkout an example [here](https://github.com/chriskiehl/GooeyExamples/blob/master/examples/example_time_remaining.py)
  26. Example Code:
  27. ```python
  28. @Gooey(timing_options={
  29. 'show_time_remaining':True,
  30. 'hide_time_remaining_on_complete':True
  31. })
  32. ```
  33. ## Breaking Changes
  34. * (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.
  35. ## Functionality
  36. * @neonbunny enabled Parsers to use configuration from parents.
  37. * @eladeyal-intel updated `RichTextConsole` to allow control+scrollwheel to zoom the text
  38. ## Language Additions / Improvements
  39. * @soleil0-0 - Additional Chinese translation
  40. * @dancergraham - Additional French translation
  41. * @ajvirSingh1313 - Hindi translation
  42. ## Bug Fixes
  43. * Fixed bug where dynamic updates to a Dropdown would cause the selection to be lost
  44. * Fixed performance issues where dynamic updates with large items would cause Gooey to hang
  45. * @rotu fixed a bug in dynamic updates related to `Popen` usage.
  46. * @neonbunny - resolved warning cause by missing return statement
  47. * Fixed bug where terminal font and colors were not being set correctly
  48. * Fixed mysterious RadioGroup issue where underlying WxWidgets would 'forget' the current selection under certain circumstances