[webkit-gtk] libseed-list Exposing GObjects in a Webview JS context

Alexandre Mazari scaroo at gmail.com
Thu Mar 11 09:41:37 PST 2010


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 at 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 at gnome.org
> http://mail.gnome.org/mailman/listinfo/libseed-list
>
>


-- 
"If you open your mind too much, you brain will fall out"
Tim Minchin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20100311/17fd935e/attachment.html>


More information about the webkit-gtk mailing list