pyface.action.i_menu_bar_manager module¶
The interface for a menu bar manager.
- class pyface.action.i_menu_bar_manager.IMenuBarManager(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]¶
Bases:
IActionManager
The interface for a menu bar manager.
- create_menu_bar(parent, controller=None)[source]¶
Creates a menu bar representation of the manager.
- Parameters
parent (toolkit control) – The toolkit control that owns the menubar.
controller (pyface.action.action_controller.ActionController) – An optional ActionController for all items in the menubar.