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 FAA22664; Tue, 23 Mar 2004 05:53:45 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA23593 for ; Tue, 23 Mar 2004 05:53:44 +0100 (MET) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i2N4sGKW028581 for ; Tue, 23 Mar 2004 05:54:17 +0100 Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3p2-20030924/3.7W) with ESMTP id NAA25315; Tue, 23 Mar 2004 13:53:37 +0900 (JST) To: briand@aracnet.com Cc: caml-list@inria.fr Subject: Re: [Caml-list] lablgtk questions In-Reply-To: <16479.46764.331135.624194@soggy.deldotd.com> References: <16479.46764.331135.624194@soggy.deldotd.com> X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20040323135337G.garrigue@kurims.kyoto-u.ac.jp> Date: Tue, 23 Mar 2004 13:53:37 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 lablgtk:01 jacques:01 lablgtk:01 gwindow:01 callback:01 widgets:01 callback:01 widget:01 motazaar:01 malc:01 motazaar:01 lablgl:01 widgets:01 jacques:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 318 From: briand@aracnet.com > Is there a lablgtk list ? I found a link to one, sent e-mail to what > I assume was the subscription adress and did not hear anything back. Please send again. Your mail may have been mistaken for spam, but I cannot find it. > If I'm in the right place I have a couple of what are probably easy > questions : > > The following > > let w = GWindow.window ~title:title () in > ... > area#event#add [`BUTTON_PRESS]; > w#event#connect#button_press ~callback: ... > > will connect the window w to a button press event. > > How do I disconnect it ?! I can't seem to find an example anywhere > (except for widgets, but it seems to be different for windows). let id = w#event#connect#button_press ~callback: ... in ... w#misc#disconnect id > Does anyone know where I can find example code which uses the usual > widget suspects (menus, etc..) with an opengl area. What about motazaar? http://www.boblycat.org/~malc/motazaar/ > The examples in the lablgtk and lablgl dir's don't seem to provide > such an example. The opengl examples only use opengl and vice versa. True, but there's actually nothing special to mixing the two: openGL drawing occurs only in GlArea widgets. 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