TTkLayoutπΆοΈ
- class TTkLayout(**kwargs)[source]πΆοΈ
Bases:
TTkLayoutItem
TheTTkLayout
class is the base class of geometry managers. <br/>It allows free placement of the widgets in the layout area. <br/>Used mainly to have free range movingTTkWindow
because the widgets are not automatically rearranged after a layout eventββββββββββββββββββββββββββββββ β pos(4,2) β β βββββββββ pos(16,4) β β βWidget1β βββββββββββ β β β β β Widget2 β β β β β βββββββββββ β β β β β β βββββββββ β β β ββββββββββββββββββββββββββββββ
MethodsπΆοΈ
- addWidget(widget)[source]πΆοΈ
Add a widget to this Layout
- Parameters:
widget (
TTkWidgets
) β the widget to be added
- addWidgets(widgets)[source]πΆοΈ
Add a list of widgets to this Layout
- Parameters:
widgets (list of
TTkWidgets
) β the widget to be added
- removeWidget(widget)[source]πΆοΈ
Remove a widget from this Layout
- Parameters:
widget (
TTkWidgets
) β the widget to be removed
TTkLayout AttributesπΆοΈ
|
|
|
|
|
|
|
|
|
|
|