Show HN: Owlkettle – A Declarative user interface framework based on GTK 4
github.com
github.com
I wrote a framework which makes building native linux applications more ergonomic. Similar to many web frameworks, it automatically updates the GUI when the state of the application changes.
Let me know what you think!
Of course it's not only "similar to many web frameworks", but also similar to how Tcl/Tk GUIs have been built in the last 30 years.
Also it looks like this follows the elm architecture but that isn't usually necessary described as "delarative."
I have only used Elm briefly, but as far as I know, a major part of the Elm architecture is the usage of an Msg type which facilitates the communication between the view and the controller (https://guide.elm-lang.org/architecture/). Owlkettle does not require you to use this pattern.
Owlkettle is declarative because the GUI is automatically updated when the widget state changes. In this way it is similar to web frameworks such as React or Mithril.js. React also uses the term "declarative" to describe this behavior (https://reactjs.org/).
Nonetheless, I would love to see something that would simplify or abstract GTK4 development that I could actually use.