Re: Background image
Maxence Guesdon <[email protected]> Tue, 6 Jul 2010 12:23:57 +0200
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
Le Tue, 6 Jul 2010 09:09:07 +0100, Richard Jones <[email protected]> a écrit : > 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. Maybe the gnomecanvas could be easier to use ? Regards, Maxence