TTkMenuBarLayout🌶️
- class TTkMenuBarLayout(**kwargs)[source]🌶️
Bases:
TTkHBoxLayoutSlots🌶️
Methods🌶️
- addMenu(text: TTkString, data: object = None, checkable: bool = False, checked: bool = False, alignment=Alignment.LEFT_ALIGN)[source]🌶️
Methods Inherited from:
TTkGridLayoutaddItem(item[, row, col, rowspan, colspan, ...])Add the item to this
TTkGridLayoutaddItems(items[, row, col, rowspan, ...])Add the items to this
TTkGridLayoutaddWidget(widget[, row, col, rowspan, ...])Add the widget to this
TTkGridLayout, this function usesaddItem()addWidgets(widgets[, row, col, rowspan, ...])Add the widgets to this
TTkGridLayout, this function usesaddItem()columnMinWidth()getSizes()gridItems()gridSize()insertColumn(col)insertRow(row)itemAtPosition(row, col)maximumColWidth(gridCol)maximumHeight()process the widgets and get the min size
maximumRowHeight(gridRow)maximumWidth()process the widgets and get the min size
minimumColWidth(gridCol)minimumHeight()process the widgets and get the min size
minimumRowHeight(gridRow)minimumWidth()process the widgets and get the min size
removeItem(item)removeItems(items)removeWidget(widget)Remove a widget from this Layout
removeWidgets(widgets)Remove a list of widget from this Layout
repack()replaceItem(item, index)rowMinHeight()setColumnMinWidth(cmw)setRowMinHeight(rmh)update(*args, **kwargs)Methods Inherited from:
TTkLayoutaddItem(item[, row, col, rowspan, colspan, ...])Add the item to this
TTkGridLayoutaddItems(items[, row, col, rowspan, ...])Add the items to this
TTkGridLayoutaddWidget(widget[, row, col, rowspan, ...])Add the widget to this
TTkGridLayout, this function usesaddItem()addWidgets(widgets[, row, col, rowspan, ...])Add the widgets to this
TTkGridLayout, this function usesaddItem()children()clear()count()fullWidgetAreaGeometry()insertItem(index, item)insertItems(index, items)insertWidget(index, widget)insertWidgets(index, widgets)itemAt(index)iterWidgets([onlyVisible, recurse])lowerWidget(widget)parentWidget()raiseWidget(widget)removeItem(item)removeItems(items)removeWidget(widget)Remove a widget from this Layout
removeWidgets(widgets)Remove a list of widget from this Layout
replaceItem(item, index)setGeometry(x, y, w, h)setParent(parent)update(*args, **kwargs)
TTkMenuBarLayout Attributes🌶️
|
|
|
|
|
|
|
|
|
|
|