bjogui/examples
Linus Björnstam 5127fbac13 Windows besides the main one, and dialogs of the program's own
run-app's #:windows gives the windows a model has. The app opens a window
when it is first in the list, patches its view and title while it stays,
and closes it when it is gone. A click on its close button sends its
on-close message, and the model closes it. A #:modal window is a dialog
over the main window, so a dialog of the program's own is a window whose
state is in the model.

Windows wait for the main window to be shown, because a dialog cannot
belong to a hidden one, and the program ends when the main window closes.
Key shortcuts and commands such as focus reach the other windows too, and
#:screenshot saves a picture of each one beside the main window's.

🤖 Generated with [ECA](https://eca.dev) (anthropic/claude-opus-4-8)

Co-Authored-By: eca-agent <git@eca.dev>
2026-10-25 21:21:09 +01:00
..
contacts.bjo Windows besides the main one, and dialogs of the program's own 2026-10-25 21:21:09 +01:00
counter.bjo Commands and subscriptions, and gui-update 2026-10-25 17:02:02 +01:00
mixer.bjo Controls of the program's own, drawn with a pen 2026-10-25 20:34:19 +01:00
sketch.bjo Components with view-map, and canvases with shapes and the pointer 2026-10-25 19:26:37 +01:00
stopwatch.bjo Commands and subscriptions, and gui-update 2026-10-25 17:02:02 +01:00
styles.bjo Tree views, a styles example, and the Readme for all of it 2026-10-25 18:10:53 +01:00
todo.bjo A todo example, and its picture in the Readme 2026-10-25 17:24:32 +01:00