Construct the widget.
Construct the widget.
Check the check button.
Only half check the check button. This is a kind of halfway state.
Check if the check button is checked or not.
Set the value of the unchecked state.
Set the value of the checked state.
Uncheck the check button.
Mixin common commands.
Invoke the command associated with the widget.
Add a command to a widget.
Remove a previously set command.
Set the widget text.
Get the widget text.
Set the image for this widget.
Change the position of the image in relation to the text.
Set the text character width.
Destroy this widget.
Mixin common commands.
auto checkButton = new CheckButton("Text") .setCommand(delegate(CommandArgs arg){ ... }) .check() .pack();
These are injected common commands that can also be used with this widget.
Additional events that can also be bound to using the bind method.
<<Invoke>>, <<PrevWindow>>, <Alt-Key>, <B1-Enter>, <B1-Leave>, <Button-1>, <ButtonRelease-1>, <Enter>, <Key-F10>, <Key-Tab>, <Key-space>, <Leave>,
States: This widget does not respond to user input if the disabled state is set. The widget sets the selected state whenever the value is set to the widget's on-value, and clears it otherwise. The widget sets the alternate state whenever the value is unset. (The alternate state may be used to indicate a "tri-state" or "indeterminate" selection.)
Styles: Check button widgets support the Toolbutton style in all standard themes, which is useful for creating widgets for toolbars.
A checkbutton widget is used to show or change a setting. It has two states, selected and deselected. The state of the checkbutton may be linked to a value.