TTkLayoutItem🌶️
- class TTkLayoutItem(*, x: int = 0, y: int = 0, z: int = 0, pos: tuple = None, width: int = 0, height: int = 0, size: tuple = None, row: int = 0, col: int = 0, rowspan: int = 1, colspan: int = 1, layoutItemType: LayoutItemTypes = 0, maxWidth: int = 65536, maxHeight: int = 65536, maxSize: tuple = None, minWidth: int = 0, minHeight: int = 0, minSize: tuple = None, **kwargs)[source]🌶️
Bases:
object
TTkLayoutItem
is the base class of layout Items inherited byTTkLayout
,TTkWidgetItem
, and all the derived layout managers.- Parameters:
row (int) – (used only in the
TTkGridLayout
), the row of the grid, optional, defaults to Nonecol (int) – (used only in the
TTkGridLayout
), the col of the grid, optional, defaults to Nonerowspan (int) – (used only in the
TTkGridLayout
), the rows used by this, optional, defaults to 1colspan (int) – (used only in the
TTkGridLayout
), the cols used by this, optional, defaults to 1layoutItemType (
TTkConstant.LayoutItemTypes
) – The Type of this class, optional, defaults to TTkK.NONEalignment (
TTkConstant.Alignment
) – The alignment of this item in the layout (not yet used)
Methods🌶️
TTkLayoutItem Attributes🌶️
|
|
|
|
|
|
|
|
|