Delivered-To: lablgtk at yquem.inria.fr Message-ID: <17665252.post at talk.nabble.com> Date: Thu, 5 Jun 2008 01:58:06 -0700 (PDT) From: imedul To: lablgtk at yquem.inria.fr Subject: [Lablgtk] Problem with GBin.frame MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Content-Length: 997 Hello, I try to build a menu with lablgtk, especially with the frame widget. Hereby the code of an example :=20 open GMain let main () =3D let fenetre =3D GWindow.window ~width:800 ~height:640 ~title:"Fen=C3=AAtr= e" () in fenetre#connect#destroy ~callback:fenetre#destroy; let cadre =3D GBin.frame ~border_width:10 ~width:200 ~height:50 ~packing:fenetre#add() in fenetre#show (); Main.main () ;; main () It runs but the ~width and ~height are not used. The frame fills the whole window. I have no error message. Is there anyone to understand the problem and help me ?=20 Thanks Environnment : Linux(Fedora and ubuntu) - Ocaml's beginner --=20 View this message in context: http://www.nabble.com/Problem-with-GBin.frame= -tp17665252p17665252.html Sent from the Lablgtk - France mailing list archive at Nabble.com. _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk