Canvas Toolkit
← Class index

CRadioButton

Widgets · extends CAbstractButton

Implements the radio button widget.

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

Declared members

constructor(text?: string, parent?: CWidget | null);

Creates a new instance.

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.

protected paintEvent(painter: CPainter): void;

Handles the paint event.