WidgetSpecific.setWidget

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.

mixintemplate WidgetSpecific()
setWidget
(
this T
)
(
Widget widget
)

Parameters

widget Widget

The widget.

Return Value

Type: auto

This item to aid method chaining.

Meta