Re: [Vala] Graphic toolkits for Vala?
- From: CaStarCo <castarco gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Graphic toolkits for Vala?
- Date: Tue, 6 Jul 2010 23:51:54 +0200
Ok, to simplify the development i'm goint to use the JavaScriptCore library
that's inside webkit. It's slower than tracemonkey and V8 but, in any case,
if I choose the other ones i'll suffer to combine it with webkit.
Some interesting info to make bindings to JavaScript of C functions using
JavaScriptCore:
[ 0 ]
http://uselessbyte.blogspot.com/2009/12/adding-custom-javascript-bindings-to.html
<http://uselessbyte.blogspot.com/2009/12/adding-custom-javascript-bindings-to.html>The
documentation about JavaScriptCore:
[ 1 ]
http://developer.apple.com/mac/library/documentation/Carbon/Reference/WebKit_JavaScriptCore_Ref/index.html
Bye :) .
2010/7/6 CaStarCo <castarco gmail com>
I was searching about javascript engines and now i have this info:
· The V8 engine is programmed into C++ language, and i don't know any
binding to C or other languages .
· The Webkit project have many ways to work with javascript, but the
documentations is very poor U_U .
· The SpiderMonkey/TraceMonkey JavaScript engine (from Mozilla) is written
in C, and allows javascript to call C native functions (this could help to
send info from the canvas area to the gtk gui). The problem (right now) is
that i don't know how to make a mix of webkit and spidermonkey.
2010/7/6 George Farris <farrisg shaw ca>
On Wed, 2010-07-07 at 01:04 +0530, Martin DeMello wrote:
On Sat, Jul 3, 2010 at 2:14 AM, Martin Olsson <mnemo minimum se> wrote:
Checkout all the ones listed on this page:
http://live.gnome.org/ProjectRidley/CanvasOverview
Also take a moment a serious consider doing it using
open web standards rendered via a WebKit webview
or similar (inside you can use SVG or HTML Canvas etc).
The benefit of this is that you can probably deliver
your app both as a webapp and a rich client app.
The rich client version will of course have better
desktop integration etc which is nice sometimes but
on the go you can use the web app instead.
Is it possible to render an svg image into a webkit canvas and
receiving click/drag events on it from vala? Could someone post a
quick example if so? The available documentation is rather thin on the
ground.
How about printing?
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
--
- Per la llibertat del coneixement -
- Per la llibertat de la ment... -
--
- Per la llibertat del coneixement -
- Per la llibertat de la ment... -
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]