Re: libseed-list Exposing GObjects in a Webview JS context



Opps,, the patch is here : https://bugzilla.gnome.org/show_bug.cgi?id=612590

On Thu, Mar 11, 2010 at 6:12 PM, Alexandre Mazari <scaroo gmail com> wrote:
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


_______________________________________________
libseed-list mailing list
libseed-list gnome org
http://mail.gnome.org/mailman/listinfo/libseed-list




--
"If you open your mind too much, you brain will fall out"
Tim Minchin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]