From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA21759; Fri, 22 Feb 2002 13:37:12 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA21963 for ; Fri, 22 Feb 2002 13:37:11 +0100 (MET) Received: from maties2.sun.ac.za (maties2.sun.ac.za [146.232.128.10]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g1MCb8125825 for ; Fri, 22 Feb 2002 13:37:08 +0100 (MET) Received: from bywoner.sun.ac.za ([146.232.129.121] helo=localhost) by maties2.sun.ac.za with esmtp (Exim 3.34 #1) id 16eEwj-0001z6-00 for caml-list@inria.fr; Fri, 22 Feb 2002 14:37:05 +0200 Received: from js by localhost with local (Exim 3.34 #1 (Debian)) id 16eEwj-0006LM-00 for ; Fri, 22 Feb 2002 14:37:05 +0200 Date: Fri, 22 Feb 2002 14:37:04 +0200 From: Johann Spies To: caml-list@inria.fr Subject: Re: [Caml-list] LablGtk Message-ID: <20020222123704.GC24228@adept.co.za> Mail-Followup-To: Johann Spies , caml-list@inria.fr References: <20020221231045.1b6a6988.nicolas.francois@free.fr> <20020222081012.GD19387@adept.co.za> <20020222181429X.garrigue@kurims.kyoto-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020222181429X.garrigue@kurims.kyoto-u.ac.jp> User-Agent: Mutt/1.3.27i X-Scanner: exiscan *16eEwj-0001z6-00*ZuutLQI0f.I* http://duncanthrax.net/exiscan/ Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Feb 22, 2002 at 06:14:29PM +0900, Jacques Garrigue wrote: > > I have the same problem: I want to see how thing are handled in > > LablGtk. I recently searched for an example of a notebook in LablGtk > > but could not find one. > > Here it is, as an example of interactive session using the threaded > toplevel. I just looked at the types with OCamlBrowser, and did the > "evident" thing. ... > This is not too say that you didn't search enough. In fact it may take > a while to get used to the basic concepts of typeful programming: look > for the function with the right type. > In the ideal, lablgtk is just intended to work as GTK+true types. 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. 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. I then selecte "name" and nothing happened. There is no lablgtk module listed by Ocamlbrowser. But lablgtk is on my system in /usr/lib/ocaml/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. I learn mostly through examples illustrating a principle. > Can you give me a URL ? > I've got a look at the wxPyton online tutorial, but except for using > HTML it didn't strike me as much more informative than the short but > dense lablgtk README. Note also that Python doesn't have types. No I could find an url. On my system it is part of the wxPython/wxWindows-docmentation: file:///usr/share/doc/wxwin2.2-doc/wxWindows-manual.html/wxwin471.htm#wxPython > What about writing a FAQ. If you have questions without answers, I or > others on the lablgtk list may fill them. I might try and do that. I have a lot more questions than answers. Regards. Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch "The LORD bless thee, and keep thee; The LORD make his face shine upon thee, and be gracious unto thee; The LORD lift up his countenance upon thee, and give thee peace." Numbers 6:24-26 ------------------- 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