topbar.quickswitch#

Quick item switch menus used by the top bar.

Classes:

BaseQuickSwitchMenu(index[, parent])

A context menu used to quickly change the active bookmark or asset.

SwitchAssetMenu(index[, parent])

SwitchBookmarkMenu(index[, parent])

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.

add_switch_menu(idx, label)[source]#

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.

setup()[source]#

Creates the context menu.

class bookmarks.topbar.quickswitch.SwitchBookmarkMenu(index, parent=None)[source]#

Bases: BaseQuickSwitchMenu

Methods:

setup()

Creates the context menu.

setup()[source]#

Creates the context menu.