deepcave.layouts.sidebar

# SidebarLayout

This module defines layout for the sidebar.

Callbacks are registered and handled.

## Classes
  • SidebarLayout: Customize the Sidebar Layout.

Classes

SidebarLayout(categorized_plugins)

Customize the Sidebar Layout.

class deepcave.layouts.sidebar.SidebarLayout(categorized_plugins)[source]

Bases: Layout

Customize the Sidebar Layout.

Callbacks are registered and handled.

Properties

pluginsDict[str, List[Plugin]]

A dictionary of all categorized plugins.

nav_pointsDict[str, List[Tuple[str, str, str]]]

A dictionary with plugins attributes corresponding to their category.

__call__()[source]

Call self as a function.

Return type:

Union[List[Component], Component]

register_callbacks()[source]

Register the callbacks for the sidebar layout.

Return type:

None