Menu.menubarSourceMenubar widget.
This widget inherited from Pack.box, with horizontal orientation by default, but vertical orientation is supported.
inherit Stk.Pack.boxmethod add_item : ?pos:int -> menuitem -> unitMenu items must be added using this method rather than (inherited) #pack. pos can be used to specify the 0-based position of the item among items already present. Default is to insert after all existing items.
method append_item : menuitem -> unitSame as menubar.add_item but insert item as last item.
method prepend_item : menuitem -> unitSame as menubar.add_item but insert item as first item.
method remove_item : menuitem -> unitMenu items must be removed using this method rather than (inherited) #unpack.