lablgtk2

Asma Tafat <[email protected]> Mon, 25 Oct 2010 14:29:52 +0200
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
Hello, 

I'm using lablgtk2 on Mac OS (Snow Leopard). Until now, it woks correctly (actually i use a platform that uses lablgtk2) and without doing any thing it does not. 

For example, when i wrote this code 

	(* file: base.ml *)

	let main () =
  	let window = GWindow.window () in
  	window#show ();
  	GMain.Main.main ()

	let _ = main ()
It compiles correctly with : 
	ocamlc -I +lablgtk2 -o base lablgtk.cma gtkInit.cmo base.ml

But when I try to execute it (./base), it does not do any think as though with an infinite  loop.
Can any one help me to resolve this.
PS: my english is not well. I'm sorry

_______________________________________________
Lablgtk mailing list
[email protected]
http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk