Canvas Toolkit
← Class index

CCheckBox

Widgets · extends CAbstractButton

Implements the check box widget.

import { CCheckBox } from "canvas-toolkit-lib";

Declared members

constructor(parent?: CWidget | null);

Creates a new instance.

protected paintEvent(painter: CPainter): void;

Handles the paint event.

protected mousePressEvent(event: CMouseEvent): void;

Handles the mouse press event.

protected mouseReleaseEvent(event: CMouseEvent): void;

Handles the mouse release event.

protected keyPressEvent(event: CKeyEvent): void;

Handles the key press event.