Back to the Packages
Constructor
new Win32::GUI::Checkbox(PARENT, %OPTIONS)
Methods
Checked([VALUE])
GetCheck()
SetCheck([VALUE])
Events
Click()
DblClick()
GotFocus()
LostFocus()
MouseDown()
MouseUp()
Creates a new Checkbox object; can also be called as PARENT->AddCheckbox(%OPTIONS). %OPTIONS are the same of Button (see new Win32::GUI::Button() ).
Gets or sets the check state of the Checkbox; if called without arguments, returns the current state:
0 not checked 1 checked 2 indeterminate (grayed)
If a VALUE is specified, it can be one of these (eg. 0 to uncheck the Checkbox, 1 to check it).
GetCheck() Returns the check state of the Checkbox: 0 not checked 1 checked 2 indeterminate (grayed) SetCheck([VALUE]) Sets the check state of the Checkbox; for a list of possible values, see GetCheck(). If called without arguments, it checks the Checkbox (eg. state = 1).
Returns the check state of the Checkbox:
SetCheck([VALUE]) Sets the check state of the Checkbox; for a list of possible values, see GetCheck(). If called without arguments, it checks the Checkbox (eg. state = 1).
Sets the check state of the Checkbox; for a list of possible values, see GetCheck(). If called without arguments, it checks the Checkbox (eg. state = 1).
Sent when the control is selected (eg. the button pushed, the checkbox checked, etc.).
DblClick() Sent when the user double clicks on the control. GotFocus() Sent when the control is activated. LostFocus() Sent when the control is deactivated. MouseDown() Sent when the user down clicks on the control. MouseUp() Sent when the user releases a down click on the control.
Sent when the user double clicks on the control.
GotFocus() Sent when the control is activated. LostFocus() Sent when the control is deactivated. MouseDown() Sent when the user down clicks on the control. MouseUp() Sent when the user releases a down click on the control.
Sent when the control is activated.
LostFocus() Sent when the control is deactivated. MouseDown() Sent when the user down clicks on the control. MouseUp() Sent when the user releases a down click on the control.
Sent when the control is deactivated.
MouseDown() Sent when the user down clicks on the control. MouseUp() Sent when the user releases a down click on the control.
Sent when the user down clicks on the control.
MouseUp() Sent when the user releases a down click on the control.
Sent when the user releases a down click on the control.
3 POD Errors
The following errors were encountered while parsing the POD:
You can't have =items (as at line 79) unless the first thing after the =over is an =item
You can't have =items (as at line 95) unless the first thing after the =over is an =item
You can't have =items (as at line 139) unless the first thing after the =over is an =item
To install Win32::GUI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::GUI
CPAN shell
perl -MCPAN -e shell install Win32::GUI
For more information on module installation, please visit the detailed CPAN module installation guide.