Canvas Toolkit
← Class index

CToolTipWidget

Widgets · extends CWidget

Implements the tool tip widget widget.

Module widgets/CToolTipWidget.js. This class is available through the browser modules in the download.

Declared members

constructor(parent?: CWidget | null);

Creates a new instance.

text(): string;

Provides text behavior.

setText(text: string): void;

Sets the text.

sizeHint(): CSize;

Returns the preferred size of the widget.

protected paintEvent(painter: CPainter): void;

Handles the paint event.