To: lablgtk at kaba.or.jp Subject: How to receive configure events of non toplevel widgets ? Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010220181814U.Jun.Furuse at inria.fr> Date: Tue, 20 Feb 2001 18:18:14 +0100 From: Jun Furuse Lines: 22 Hello, I wrote the following code, intending to catch configure events of a non-toplevel widget (button) to detect its size changes, but the program never receives configure events. Do I miss something ? Does anyone know a solution ? Jun -- open GMain let window = GWindow.window ~show:true () let button = GButton.button ~label: "test" ~packing: window#add () let _ = button#connect#event#configure ~callback:(fun _ -> prerr_endline "received a configure event"; true); Main.main ()