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¶
- buttons
dict
orlist
Buttons to put on the grid layout.
- num_column
int
Number of column on the grid layput.
Returns¶
- layout
PySide6.QtWidgets.QGridLayout
Grid layout of buttons.
- buttons