On Tuesday, 26 May 2026 at 02:04:27 UTC, c-smile wrote:
But nevertheless you provide a sample that uses DOM and CSS 😛.
GTK3 and GTK4 are using DOM similar to W3C DOM and CSS3 as it
is. It is just instead of HTML they use XML for DOM tree
serialization, here is Glade exhaust:
```
<object class="GtkWindow">
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="1">my
app</property>
</object>
</child>
<child>
<object class="GtkSpinner">
<property name="active">True</property>
</object>
</child>
</object>
</property>
</object>
```
The only thing GTK "stole" from the web is CSS. It looks to me
like you believe GTK uses DOM - no it does not. It has own widget
tree, a strictly typed hierarchy built on GObject.
Finally, Sciter uses it on Linux it seems. So, it seems you opted
for using GTK's lower layer. I am not surprised, it is a good
choice. You could have used SDL instead, could you, but you
decided to use GTK... What is important is that it works for you
and your business!