WidgetSpecific

These are common commands that apply to all widgets that have them injected.

Members

Functions

getHeight
int getHeight()

Get the widget height.

getWidget
Widget getWidget()

Get the widget.

getWidth
int getWidth()

Get the widget width.

setHeight
auto setHeight(H height)

Specifies the height to assign to the item's widget. If this option is not specified, or if it is specified as zero, then the widget is given whatever height it requests internally.

setWidget
auto setWidget(Widget widget)

Specifies the widget to associate with this item. The widget specified must either be a child of the canvas widget or a child of some ancestor of the canvas widget.

setWidth
auto setWidth(W width)

Specifies the width to assign to the item's widget. If this option is not specified, or if it is specified as zero, then the widget is given whatever width it requests internally.

Meta