Term::Stool::MeUserrContributed Perl DocumTerm::Stool::MenuBar(r) NAME Term::Stool::MenuBar - a menubar DESCRIPTION A MenuBar holds one or more menus, and stretches all the way across the top of its container. Term::Stool::ButtonBar is the parent of this class. FIELDS wasactive Set this to point to the widget that was active before the menubar was activated. When the menubar is done, focus is returned to this widget. METHODS init Initializes fields to reasonable defaults. resize Positions the menubar accross the top of the screen, then calls SUPER to resize its contents. keypress F10 moves focus back to where it was before the menus were activated. display Draws a bar encompassing the size of the widget, then calls SUPER to draw contents. move_focus_fallback This makes focus loop; so the item after the last item is the first item, and the item before the first item is the last item. AUTHOR Joey Hess <joey@kitenet.net> 2001-05-23 perl v5.6.1 Term::Stool::MenuBar(r)