Delivered-To: lablgtk at yquem.inria.fr Date: Thu, 06 Sep 2007 09:15:10 +0900 (JST) Message-Id: <20070906.091510.113010632.garrigue at math.nagoya-u.ac.jp> To: d0 at wp.pl Subject: Re: [Lablgtk] No destroy signal? From: Jacques Garrigue In-Reply-To: References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: lablgtk at math.nagoya-u.ac.jp Content-Type: Text/Plain; charset=us-ascii Content-Length: 895 From: Dawid Toton > I've compiled current SVN version of LablGTK with Cygwin+mingw. > When compiling hello.ml from LablGTK tutorial I get this message: > > window#connect#destroy ~callback:destroy; > ^^^^^^^^^^^^^^ > This expression has type GContainer.container_signals > It has no method destroy After checking, here is the explanation: for whatever reason, you have no gContainer.cmi in your library path (but you have at least gMain.cmi, gButton.cmi and gWindow.cmi, otherwise nothing would work). In that case, the ocaml compiler assumes that GContainer.container_signals is an abstract type, hence the above error message, which could probably be improved. I'm sometimes wondering whether this behaviour is correct... Jacques _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk