-
• #2
There's an example of this in https://github.com/espruino/BangleApps/blob/9b4d2e140b8876428fb6fff4c3a5d1b060ec0dd3/apps/widviz/widget.js
... maybe this functionality should actually be turned into a library?
-
• #3
good to know - thank you! I'll have a look into it!
As mentioned yesterday, I'm currently developing an analog clock with several configuration screens.
Widgets should only be shown while the clock is running - and hidden while any configuration screen is active. I already figured out how to (temporarily) let
Bangle.appRect
cover the whole screen, and (during configuration) I also do not actively draw any widgets.However, from time to time, some widgets still appear on the screen - presumably because that widget wants to inform about some changes (e.g., the battery widget).
How do I temporarily prevent widgets from being shown?