This would be much more interesting if the GTK components map to real HTML elements.
GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
11–20 of 21 posts
Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
#12Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
#13Are there demos anywhere, or does this need to be run locally?
Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
#14Are there demos anywhere, or does this need to be run locally?
Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
#15About the HTML support: This only simply draws to a HTML canvas. This is mostly just a nice and simple hack but I doubt that people would use GTK now as an alternative to real web frameworks. I have seen similar hacks for VNC, X11 and other stuff. This would be much more interesting if the GTK components map to real HTML elements.
This is where we're eventually headed, the mozilla project "chromeless" is an interesting experiment down the path. IIRC It gets rid of XUL for the application chrome and uses html/js for the entire program gui.
Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
#16Does it compile to native HTML5+Javascript? From looking at it, it seems that it doesn't - that it is running the app in the server and updating the screen in HTML5 canvas. It would be cool if it compiles the code to Javascript though... so that you get complete client side platform independent apps out of the current entire Gnome repository!
GTK itself will probably never do that, because it doesn't include any sort of language-processing code (as I understand it). Adding code to GTK that could translate programs between languages would be a huge increase in complexity and scope. However, a project like GCC could certainly do that. If someone really wanted that to happen, they could add a Javascript code generator to GCC and pair that with GTK's HTML5 ba…
Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
#17I've recently been looking for ways to do powerful admin interfaces quickly. I've been looking at Cappuccino since it does support stuff like tables with > 10.000 entries and 'complex' controls. Now with GTK+ HTML5 support this might also be an avenue to explore.
Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
#18Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
#19About the HTML support: This only simply draws to a HTML canvas. This is mostly just a nice and simple hack but I doubt that people would use GTK now as an alternative to real web frameworks. I have seen similar hacks for VNC, X11 and other stuff. This would be much more interesting if the GTK components map to real HTML elements.
This is really hard to do wrt skinning. The only thing you really want is text selection to work properly for cut-and-paste. A good question to ask is what does the Canvas backend for GTK for cut-and-paste now?
Re: GTK+ 3.2 released - allows rendering applications in HTML5-capable web browsers
#20About the HTML support: This only simply draws to a HTML canvas. This is mostly just a nice and simple hack but I doubt that people would use GTK now as an alternative to real web frameworks. I have seen similar hacks for VNC, X11 and other stuff. This would be much more interesting if the GTK components map to real HTML elements.