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 *)