Delivered-To: garrigue at math.nagoya-u.ac.jp Delivered-To: lablgtk at yquem.inria.fr Date: Tue, 6 Jul 2010 09:09:07 +0100 To: Serge Le Huitouze , lablgtk@yquem.inria.fr Subject: Re: [Lablgtk] Background image Message-ID: <20100706080907.GA14192 at annexia.org> References: <20100705212208.GA28008@annexia.org> <20100706080805.GA13249@annexia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100706080805.GA13249 at annexia.org> From: Richard Jones Status: U On Tue, Jul 06, 2010 at 05:21:34AM +0200, Serge Le Huitouze wrote: > But from many exhausting searches on the web, it seems that documentaiton > for lablgtk2 is a recurring request. Have a look at: http://plus.kaist.ac.kr/~shoh/ocaml/lablgtk2/lablgtk2-tutorial/ But also have a look at the main Gtk documentation starting here: http://library.gnome.org/devel/gtk/unstable/index.html in particular: http://library.gnome.org/devel/gtk/unstable/gtkobjects.html Lablgtk implements nearly all of Gtk, just doing a direct mapping of the C calls. Gtk itself is not so easy, but I suggest looking at the lablgtk tutorial above and also at C Gtk tutorials and examples and just translating those into lablgtk. That's how I learned it anyway ... As I said before, drawing_area / GtkDrawingArea is a particularly complex widget to start with. It might be better to start with some simple buttons and labels to get the feel for it instead of jumping in at the deep end. > Could you send me some working code like what you mentioned above? Unfortunately it is proprietary code so I cannot share it. If you want to see some code that I'm writing at the moment (not using drawing_area unfortunately) have a look at: http://git.annexia.org/?p=guestfs-browser.git;a=summary Rich. -- Richard Jones Red Hat _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk