Main classes and methods¶
A widget that tries to mimic menu of Microsoft Office 2010. Cf. Ribbon Bar.
>>> from openalea.oalab.gui.menu import PanedMenu >>> menu = PanedMenu()
Parameters: - pane_name -- name of pane. type:String.
- group_name -- name of group inside the pane. type:String.
- action -- to add (with a name and an icon)
- btn_type -- type of button to add. 0 = Big Button. 1 = Small Button, smallwidget = Small Widget, bigwidget = Big Widget. Default=0.
Returns: created button. type:QToolButton