A program is a model, an update and a view. A view is a Bjolang value; an event finds its message in the view its control was last given, and the next view is compared with the last so only what differs is changed. Controls are made with plain constructors and changed with SetValue, so nothing is subclassed, and a program never names an Avalonia type. Text, button, text input, checkbox, column and row. tests/app.bjo drives an app through its real controls with no window. 🤖 Generated with [ECA](https://eca.dev) (anthropic/claude-opus-4-8) Co-Authored-By: eca-agent <git@eca.dev>
12 lines
461 B
Text
12 lines
461 B
Text
(package
|
|
(name (bjogui))
|
|
(version "0.1.0")
|
|
(description "Desktop programs as a model, an update and a view, shown with Avalonia.")
|
|
(license "MPL-2.0")
|
|
|
|
;; Avalonia draws the controls. Avalonia.Desktop picks the platform: X11 on
|
|
;; Linux, Win32 on Windows, Cocoa on macOS.
|
|
(packages
|
|
(nuget (id "Avalonia") (version "11.3.2"))
|
|
(nuget (id "Avalonia.Desktop") (version "11.3.2"))
|
|
(nuget (id "Avalonia.Themes.Fluent") (version "11.3.2"))))
|