Tweet
Replying to @josecastillo
Example of a widget. It all happens in four functions: setup (called @ boot), activate (prepare to go on screen), loop (handle events, update the display) and resign (prepare to go away). You can pick which widgets you want in a config file when you build. https://github.com/joeycastillo/Sensor-Watch/blob/83192b3a580c19eb694ca7951650db87eeb582ad/launcher/widgets/clock/simple_clock_widget.c
(original)