Layout widgets allow you to control the arrangement of other widgets in your notebook interface.
Row Layout
key
: string optional unique identifier for the widgetitems
: list[BaseWidget] list of widgets to arrange horizontallyColumn Layout
key
: string optional unique identifier for the widgetitems
: list[BaseWidget] list of widgets to arrange verticallyGrid Layout
key
: string optional unique identifier for the widgetcolumns
: int number of columns in the gridrows
: int optional number of rows in the grid. If not specified, rows will be created as needed.add()
method:item
: BaseWidget the widget to add to the gridcol_span
: int number of columns the item should span (default: 1)row_span
: int number of rows the item should span (default: 1)