From: Claudio Sacerdoti Coen Date: Mon, 18 Nov 2002 17:59:09 +0000 (+0000) Subject: Small interface improvement: the menu is now in an handle_box (i.e. it is X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=cc1698821a40a29b02d7f5c5f60ab63542511d32;p=helm.git Small interface improvement: the menu is now in an handle_box (i.e. it is detachable). --- diff --git a/helm/gTopLevel/gTopLevel.ml b/helm/gTopLevel/gTopLevel.ml index de49a4851..04acbe2fa 100644 --- a/helm/gTopLevel/gTopLevel.ml +++ b/helm/gTopLevel/gTopLevel.ml @@ -2396,11 +2396,13 @@ end class rendering_window output (notebook : notebook) = let window = - GWindow.window ~title:"MathML viewer" ~border_width:2 + GWindow.window ~title:"MathML viewer" ~border_width:0 ~allow_shrink:false () in let vbox_for_menu = GPack.vbox ~packing:window#add () in (* menus *) - let menubar = GMenu.menu_bar ~packing:vbox_for_menu#pack () in + let handle_box = GBin.handle_box ~border_width:2 + ~packing:(vbox_for_menu#pack ~padding:0) () in + let menubar = GMenu.menu_bar ~packing:handle_box#add () in let factory0 = new GMenu.factory menubar in let accel_group = factory0#accel_group in (* file menu *)