MQWidget.CheckBox class

A check box class.

Super classes: MQWidget.WidgetBase

Property

get set Type Name Description
x x string text a displayed string
x x bool checked a checked status
x x MQWidget.Color fontColor a font color
x x bool shadowText a shadow displaying behide a text

Method

Member Description
CheckBox Constructor.
addChangedEvent Add an event for changing a checked status.

CheckBox([parent])

Constructor.

Parameters:
MQWidget.WidgetBase parent - A parent widget

addChangedEvent(callback)

Add an event for changing a checked status.

Parameters:
function(sender) callback - callback function