enthought / pyface

pyface: traits-capable windowing framework
Other
105 stars 55 forks source link

TaskWindows can only have one ToolBar #1069

Closed corranwebster closed 2 years ago

corranwebster commented 2 years ago

The model for a task window only permits one toolbar, however in Qt the underlying QMainWindow and wx AUI class allow multiple dockable toolbars. This becomes an issue when multiple extensions to a toolbar schema end up creating excessively long toolbars than cannot be re-organized by the end user.

This may require some additional machinery above the ToolBarManager class level.

corranwebster commented 2 years ago

OK, I may be wrong on this - I think that you can only have one toolbar with id "ToolBar", but you may be able to have multiple actual toolbars.