Site Navigation

User Guide

Reference

Packages

 

DESCRIPTION

[TBD]

METHODS

Common methods apply to most windows, controls and resources.

new

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

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

Click()

Simulate the user clicking a button.

GetCheck

GetCheck()

Returns the check state of the Checkbox:

  0 not checked
  1 checked
  2 indeterminate (grayed)

SetCheck

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).

EVENTS

Common events apply to most windows and controls.

Click (Win32::GUI::Button)

Click()

Sent when the control is selected (eg. the button pushed, the checkbox checked, etc.).

DblClick (Win32::GUI::Button)

DblClick()

Sent when the user double clicks on the control.

Disable (Win32::GUI::Button)

Disable()

Sent when the button is disabled

GotFocus (Win32::GUI::Button)

GotFocus()

Sent when the control is activated.

LostFocus (Win32::GUI::Button)

LostFocus()

Sent when the control is deactivated.

Push (Win32::GUI::Button)

Push(State)

Sent when the state button change.

VERSION

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.

SUPPORT

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 and LICENCE

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.