Back to the Packages
Constructor
new Win32::GUI::AcceleratorTable(%ACCELERATORS)
Events
Click()
Creates an AcceleratorTable object. %ACCELERATORS is an associative array of key combinations and accelerator names, in pair: Example:
$A = new Win32::GUI::AcceleratorTable( "Ctrl-X" => "Close", "Shift-N" => "New", "Ctrl-Alt-Del" => "Reboot", );
The AcceleratorTable object can be associated to a window with the -accel option; then, when an accelerator is used, a corresponding <name>_Click event is fired. Keyboard combinations currently support the following modifier :
Shift Ctrl (or Control) Alt
and the following keys:
A..Z, 0..9 Left, Right, Up, Down Home, End, PageUp, PageDown (or PgUp/PgDn) Space, Ins, Del, Esc, Backspace, Tab, Return F1..F12
Sent when the users triggers an Accelerator object.
2 POD Errors
The following errors were encountered while parsing the POD:
You can't have =items (as at line 39) unless the first thing after the =over is an =item
You can't have =items (as at line 79) 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.