create_grid_layout_buttons¶
- lsst.ts.m2gui.create_grid_layout_buttons(buttons: dict[str, QPushButton] | list[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
PySide2.QtWidgets.QGridLayout
Grid layout of buttons.
- buttons