betrayal 1.2.2
betrayal: ^1.2.2 copied to clipboard
Integrate your app into the system tray and add custom icons and react to user input. Use widget wrappers to treat the notification area as part of your UI.
Changelog #
1.2.2 - 2022-04-18 #
1.2.1 - 2022-04-18 #
1.2.0 - 2022-04-18 #
1.1.0 - 2022-04-17 #
⚠ BREAKING CHANGES #
BetrayalPlugin()andBetrayalLogConfig()have been replaced with.instancerespectively.
Bug Fixes #
- remove unused import (bb52101)
Documentation #
- example:
add_manyvisualize all icons as a grid (315aa0f) - example: refactor add_many example. (cca1c42)
- readme: add short section about hot restart (0e52401)
Miscellaneous #
1.0.0 - 2022-04-15 #
1.0.0-dev.7 - 2022-04-14 #
⚠ BREAKING CHANGES #
- The internal API for _TrayIconInteraction changed by introducing the new [rawEvent].
Features #
- retrieve the correct icon dimensions (e8fed3b)
Bug Fixes #
- ensure that setting onTap on a not-yet-realized icon is safe (5d2a1d6)
- make getter for large image size return "" (f01d655)
Miscellaneous #
- update some lock file (393759d)
Documentation #
1.0.0-dev.6 - 2022-04-12 #
1.0.0-dev.5 - 2022-04-10 #
1.0.0-dev.4 - 2022-04-10 #
1.0.0-dev.2 - 2022-04-10 #
1.0.0-dev.1 - 2022-04-10 #
⚠ BREAKING CHANGES #
- plugin: remove
TrayIconData - api: make
TrayIconImageDelegatenamed parameter name insetIconless verbose - plugin:
image,pictureandfreeRessourceshave been removed. Users have to pass aByteBuffernow instead. - plugin: disable image cleanup per default
- example: turn
builderfrom a positional parameter into an optional named parameter - example: the
ElementSelectorrelated widgets need to be imported now. - example: The
Element Selectorwidget api changed a bit. - basically everything 🤏
Features #
- add logging (89360e9)
- api: make
TrayIconImageDelegatepublic (64d945f) - example: add labels to
Selectorview (e5b8a24) - example: allow subclassing
ElementSelectorDatato add additional fields (b816880) - example: change tray icon when selection changes (8b0fdae)
- example: hide icon when every
Selectablehas been removed (6eaaf73) - example: make tooltip / label text changeable (786cf5a)
- example: move example specific logic out of
ElementSelector. (16875ea) - example: set loaded image as icon image (20f3fcd)
- introduce widgets api (74c1d31)
- make logging customizable (439909a)
Bug Fixes #
- example: animate label out after removing icon (07dcdc6)
- example: don't hide icon after every removal (5410e5d)
- example: keep the last element selected, when the current view is the plus icon (d5d03d8)
- example: make
Selectablewidget immutable (5faecae) - example: select the correct element after removing the selection (9d12e73)
- example: show tray icon immediately. The user does not have to change their selection first (7ad2993)
- example: update configuration / dependencies (471c171)
- plugin: call
updateon icon after changing tooltip (ed3b9fe) - plugin: clear icons on hot restart (bc9484d)
- plugin: disable image cleanup per default (b0f4447)
- windows: call
icon->updatewhenever any property is being changed (50ee78e)
Code Refactoring #
- plugin: remove
TrayIconData(743a2b5)
Miscellaneous Chores #
- api: make
TrayIconImageDelegatenamed parameter name insetIconless verbose (6195752) - example: move the
ElementSelectorrelated classes into seperate files (ca93fa8) - example: turn
builderfrom a positional parameter into an optional named parameter (3f51b06) - make an initial commit (2628331)
- plugin: delegate setting the icon image to new
TrayIconImageDelegate(dd7690e) - prepare publishing a preview version (420db07)