Canvas Toolkit
← Class index

CWidgetItem

Layouts · extends CLayoutItem

Layout item that wraps a widget.

Module layouts/CWidgetItem.js. This class is available through the browser modules in the download.

Declared members

constructor(widget: CWidget | null);

Creates a layout item for the specified widget. @param widget Widget represented by the item, or `null`.

widget(): CWidget | null;

Returns the widget represented by this item.