multimodule module

class MultiModule(label, module_list)

Bases: ModuleBase

Generic class for switching between modules with a label and module_layout.

If you have several modules, for an example several tables or figures, and you want them to take up less tabs/window button spaces, you can use this module. They keep the same functionality, but can be contained inside a single module instead of taking up extra space.

Parameters:
  • label (str)

  • module_list (list[Any])

icon: str | Component
implemented_as: Literal['Tab', 'Window'] | None
label: str
layout()

Create the layout of the module itself, without tab/window wrapping.

Return type:

Div

module_callbacks()

Define the callbacks for the MultiModule module.

Return type:

None

module_id: str
module_layout: Div | Tab
module_name: str
module_number: int