Hi, I just submited a patch against Seed allowing its initialization within an existing JSGlobalContext. The main usecase is to give a Webview js context access to Seed-binded GObject libraries. This way, it will be possible to fully define our UIs in HTML5/JS/CSS3 on top of our rich ecosystem of libraries and daemons.
As a proof of concept, a small app is also provided in bugzilla, binding within th HTML file a DOM event to a native GObject call (for instance, a call to libnotify). The actual Seed initialization happens at the Webview "window-object-cleared" signal reception, giving us a hold on a JSGlobalContext reference. So any comment, remark on the patch and the design is appreciated :) -- "If you open your mind too much, you brain will fall out" Tim Minchin Alexandre Mazari
_______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
