Delivered-To: garrigue at math.nagoya-u.ac.jp Authentication-Results: mailhost.math.nagoya-u.ac.jp sender=lablgtk-bounces at yquem.inria.fr; domainkey=neutral (no query protocol specified; no policy for yquem.inria.fr) Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=6A67w856w3XDNSCAysitXKjemH32PpABpwVFSCbDQeg=; b=tMw2xFeODTmhP91xaUZuwMb4BWJ8Oh5wcyPPCDZ1vTdAWWB64wQl3zNLaBCqYQG8xS 61neonfVhKhYv0PHKikNmbz8ugOmSgVdyY0wgZ0hZs412KPNL+gZIvzrS6LVUUoBpPml vnlWsbEf1YaR6usZuGojwvKsWO1hX0rKorPlU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bO1lsj+DfdM2ka1eApb4/kL/RjB9bDGCBjn3A06mwijoLQhv9ubrrrX8+24AzbWvAJ gK0lLTJpAVlwlXopM3QJpN1bYJIXXzXGhFiwtWRDs1Sjh04/53dF/8n2j+DLwRMMiNs+ 1apkcxOWaaxQ9Lv2NWDpRwVsFFEr9RzxBM7sA= MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 10 Sep 2010 15:57:29 +0200 Message-ID: Subject: Re: [Lablgtk] Lablgtk interface to GtkCurve From: Johan Mazel To: lablgtk at yquem.inria.fr Content-Type: multipart/mixed; boundary="===============0320469375==" Mime-version: 1.0 Status: U --===============0320469375== Content-Type: multipart/alternative; boundary=0015175d0a82a4d0af048fe8204d --0015175d0a82a4d0af048fe8204d Content-Type: text/plain; charset=ISO-8859-1 Hi I dug a bit more inside cairo, GTK and lablgtk. >From what I can understand, cairo can be used to draw any kind of geometrical form (including in my case, curves). Since GTK can itself handle widget and any type of windows, does your suggestion include a combination between GTK and cairo in order to draw curves ? Of course, that would suppose a bit of Ocaml code from my part in order to handle the cairo primitives and make them draw curves. In this case, does anyone have heard of such a combination and its ability to work ? My instincts tells me that since such a combination exists in python (http://www.ralph-glass.homepage.t-online.de/clock/readme.html), this combination should be available in Ocaml, but I'm not totally sure. Thanks again for your suggestions and for the fast introduction of GTKCurve bindings in lablgtk. Regards. Johan Mazel 2010/9/8 Adrien > Hi, > > Very little time to expand, but have you checked cairo[1]? > > Also, maybe it won't survive gtk3 which is due very soon now. > > [1] http://cairographics.org/ > [2] http://en.wikipedia.org/wiki/Cairo_(graphics) > > -- > > Adrien Nader > > On 08/09/2010, Johan Mazel wrote: > > Hi > > I want to draw several curve using GTK+ and Lablgtk. > > According to my research, the most appropriate class for this is the > class > > called GtkCurve (http://library.gnome.org/devel/gtk/2.16/GtkCurve.html). > > However, in GTK+ documentation (cf previous link), this class is > considered > > "too specialized/little-used for GTK+". > > Plus, according to the Lablgtk documentation, there is no interface for > this > > class. > > Is this fact about Lablgtk linked to the current status of GtkCurve > inside > > the whole GTK+ ensemble (ie, the maintainers don't want to maintain an > > interface for a class that will disappear from GTK+) or is this a > deliberate > > choice, or have I not searched enough ? > > Thanks in advance for your time. > > Johan Mazel > > > --0015175d0a82a4d0af048fe8204d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi
I dug a bit more inside cairo, GTK and lablgtk.
From what I can un= derstand, cairo can be used to draw any kind of geometrical form (including= in my case, curves).

Since GTK can itself handle widget and any typ= e of windows, does your suggestion include a combination between GTK and ca= iro in order to draw curves ?
Of course, that would suppose a bit of Ocaml code from my part in order to = handle the cairo primitives and make them draw curves.

In this case,= does anyone have heard of such a combination and its ability to work ? My = instincts tells me that since such a combination exists in python (http://w= ww.ralph-glass.homepage.t-online.de/clock/readme.html), this combinatio= n should be available in Ocaml, but I'm not totally sure.

Thanks again for your suggestions and for the fast introduction of GTKC= urve bindings in lablgtk.

Regards.
Johan Mazel

2010/9/8 Adrien <camaradetux@gmail.com>
Hi,

Very little time to expand, but have you checked cairo[1]?

Also, maybe it won't survive gtk3 which is due very soon now.

[1] http://cairogra= phics.org/
[2] http://en.wikipedia.org/wiki/Cairo_(graphics)

--

Adrien Nader

On 08/09/2010, Johan Mazel <joh= an.mazel@gmail.com> wrote:
> Hi
> I want to draw several curve using GTK+ and Lablgtk.
> According to my research, the most appropriate class for this is the c= lass
> called GtkCurve (http://library.gnome.org/devel/gtk/2.16/GtkC= urve.html).
> However, in GTK+ documentation (cf previous link), this class is consi= dered
> "too specialized/little-used for GTK+".
> Plus, according to the Lablgtk documentation, there is no interface fo= r this
> class.
> Is this fact about Lablgtk linked to the current status of GtkCurve in= side
> the whole GTK+ ensemble (ie, the maintainers don't want to maintai= n an
> interface for a class that will disappear from GTK+) or is this a deli= berate
> choice, or have I not searched enough ?
> Thanks in advance for your time.
> Johan Mazel
>

--0015175d0a82a4d0af048fe8204d-- --===============0320469375== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk --===============0320469375==--