[TBD]
Common methods apply to most windows, controls and resources.
new(PARENT, %OPTIONS)
Creates a new Checkbox object;
can also be called as PARENT->AddCheckbox(%OPTIONS)
.
%OPTIONS are the same of Button (See new Win32::GUI::Button() ).
See also the common options.
Checked([VALUE])
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).
Click()
Simulate the user clicking a button.
GetCheck()
Returns the check state of the Checkbox:
0 not checked 1 checked 2 indeterminate (grayed)
SetCheck([VALUE=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).
Common events apply to most windows and controls.
Click()
Sent when the control is selected (eg. the button pushed, the checkbox checked, etc.).
DblClick()
Sent when the user double clicks on the control.
Disable()
Sent when the button is disabled
GotFocus()
Sent when the control is activated.
LostFocus()
Sent when the control is deactivated.
Push(State)
Sent when the state button change.
Documentation for Win32::GUI v1.06 created 13 Feb 2008
This document is autogenerated by the build process. Edits made here will be lost. Edit docs/per_package.tpl instead.
Homepage: http://perl-win32-gui.sourceforge.net/.
For further support join the users mailing list(perl-win32-gui-users@lists.sourceforge.net
) from the website
at http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users. There is a searchable list archive at http://sourceforge.net/mail/.
Copyright (c) 1997..2008 Aldo Calpini. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.