]> matita.cs.unibo.it Git - helm.git/commitdiff
Small interface improvement: the menu is now in an handle_box (i.e. it is
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 18 Nov 2002 17:59:09 +0000 (17:59 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 18 Nov 2002 17:59:09 +0000 (17:59 +0000)
detachable).

helm/gTopLevel/gTopLevel.ml

index de49a48517ddf2ea75692e51b63546d3dc50d761..04acbe2fac73c83a3408250387f9248322a1e7a2 100644 (file)
@@ -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 *)