Delivered-To: lablgtk at yquem.inria.fr To: lablgtk at math.nagoya-u.ac.jp From: Dawid Toton Date: Wed, 05 Sep 2007 23:06:52 +0200 Lines: 34 Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Lablgtk] No destroy signal? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Length: 1227 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 It should have the method according to following excerpts from sources: gContainer.ml: class type container_signals = container_signals_impl --- class container_signals_impl obj = object inherit widget_signals_impl obj inherit container_sigs end --- gObj.ml: class widget_signals_impl (obj : [>Gtk.widget] obj) = gtkobj_signals_impl obj --- class gtkobj_signals_impl obj = object (self) inherit ['a] gobject_signals obj method destroy = self#connect Object.S.destroy end When I remove the offending line, the program works (and doesn't stop when closing the window). Is it possible that binaries I've produced are somewhat broken? Is there a way to get listed all methods of GContainer.container_signals as seen by the compiler? Currently I have no idea how to investigate the problem. Dawid Toton _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk