In order to have a OS with a uniform interface, allowing better mutual interoperabilities, I'm looking for a way to build a system in which all interface would be in html5.
For example, starting from the gtk library (in order to use the existing), it could be possible to translate code such as:
gtk_window_set_title (GTK_WINDOW (window1), "the title");
in
document.title = "the title"
I would like to know if there were any tools that could help me achieve this goal
edit
to clarify my question, and let understand what I'm looking for, I found this study
The first step may be to use/build a semantic ontology of what is formerly an ui. Then I could integrate the gtk library (or another desktop gui library) and the web interface languages into a same base. So I could make bijections between gtk and web methods.
I do not see that as a simple problematic, and I'm asking for ideas, tools, which could helps me.