GridLayout (hwx.gui)¶
Layout widgets in rows and columns.
- Inherits:
Public Methods¶
addChildren (self, children, nrows=None, ncols=None)
Method Details¶
-
addChildren
(self, children, nrows=None, ncols=None)¶
Add the children in the grid layout.
param children: | The items to be added in the layout. |
---|---|
type children: | Union[Widget, list[Widget] |
param nrows: | The number of rows in the grid. |
type nrows: | int, optional |
param ncols: | The number of columns in the grid. |
type ncols: | int, optional |