Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] LablGtk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] LablGtk
Hi Johann,

> OK.  I tried to look for an example of the use of notebook by using
> rgrep *.ml on /usr/share/doc/lablgtk and could not find anything.  It
> was also not in testgtk.ml.

It seems that I am bad at explaining myself: there is no example with
notebooks in the distribution. This will change in a near future :-)

> After your message I tried to search with Ocamlbrowser (which I do not
> use regularly - maybe because I don't know it well). So I typed in
> "notebook", clicked on "type" and pressed enter.  And nothing
> happened.

You have to add extra paths when calling ocamlbrowser:

    ocamlbrowser -I +lablgtk

> I did try and read the source of GPack but although that helped me a
> little bit, I do not know enough of functional programming to always
> understand the practical use of a function by looking at it's type.

Well, you also have to look at GTK's documentation.
But once used to reading types, you will often find them informative
enough to avoid refering too often to the documentation. Or at least
to let you find a usable function before looking it up.

Cheers,

Jacques Garrigue
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners