main_layout module¶
- main_layout(window_list, tab_list, variable_list=None, default_values=None)¶
Generates the main layout for the Dash application.
- Parameters:
window_list (
list[WindowModule]) – A list of modal components to be included in the sidebar.tab_list (
list[Tab|TabModule]) – A list of tab objects, each containing a layout method and a label attribute.variable_list (
list[str] |None) – A list of variable selection components to be included in the main layout. Defaults to all existing VariableSelectorOptions.default_values (
dict[str,Any] |None) – Default values for the variable selector. Defaults to None.
- Return type:
Container- Returns:
A Dash Container component representing the app’s main layout.
Notes
The function includes an alert handler modal and a toggle button for the variable selector.
Each tab in tab_list must implement a layout() method and have a label attribute.