create_grid_layout_buttons

lsst.ts.m2gui.create_grid_layout_buttons(buttons: dict[str, PySide6.QtWidgets.QPushButton] | list[PySide6.QtWidgets.QPushButton], num_column: int) QGridLayout

Create the grid layout of buttons.

Parameters

buttonsdict or list

Buttons to put on the grid layout.

num_columnint

Number of column on the grid layput.

Returns

layoutPySide6.QtWidgets.QGridLayout

Grid layout of buttons.