topbar.quickswitch#
Quick item switch menus used by the top bar.
Classes:
|
A context menu used to quickly change the active bookmark or asset. |
|
|
|
- class bookmarks.topbar.quickswitch.BaseQuickSwitchMenu(index, parent=None)[source]#
Bases:
BaseContextMenu
A context menu used to quickly change the active bookmark or asset.
Methods:
add_switch_menu
(idx, label)Adds the items needed to quickly change bookmarks or assets.
Adds the items needed to quickly change bookmarks or assets.
- class bookmarks.topbar.quickswitch.SwitchAssetMenu(index, parent=None)[source]#
Bases:
BaseQuickSwitchMenu
Methods:
setup
()Creates the context menu.