Win32::GUI packages
Animation
Available options: -autoplay, -center, -transparent
Checkbox
x
Class
x
Combobox
x
ComboboxEx
x
DateTime
x
DialogBox
Just like Window, but with a predefined dialog box look: by default, a DialogBox can not be sized, has no maximize box and has -dialogui enabled (eg. interprets tab/enter/esc).
Available options: -text, -caption, -title, -left, -top, -width, -height, -menu, -font, -foreground, -background, -hscroll, -vscroll, -size, -pos, -minsize, -maxsize, -minwidth, -minheight, -maxwidth, -maxheight, -topmost, -maximizebox, -minimizebox, -sizable, -sysmenu, -accel, -accelerators, -acceleratortable
Graphic
x
Groupbox
x
Header
x
ListView
x
ProgressBar
Available options: -smooth, -vertical
RadioButton
x
Rebar
x
Slider
x
Splitter
x
StatusBar
x
Timer
The Timer object is a special kind of control: it has no appearance, its only purpose is to trigger an event every specified amount of time.
The synopsis to create a Timer object is:
new Win32::GUI::Timer( PARENT, NAME, ELAPSE )
PARENT->AddTimer( NAME, ELAPSE )
NAME-
the name for the Timer object (used to lookup the associated event).
ELAPSE-
the number of milliseconds after which the Timer() event will be triggered.
Once you've created the Timer object, you can change the ELAPSE parameter with the Interval() method, or disables it with the Kill() method. Note that Kill(), despite of its name, does not destroy the Timer object, so you can re-enable it later with Interval().
Example:
# creates a Timer that is called every 1 second
$Window->AddTimer( "Clock", 1000 );
sub Clock_Timer {
print "one second passed.\n";
}
Toolbar
x
Tooltip
x
TreeView
x
UpDown
x
Window
This is the main container of a regular GUI; also known as "top level window".
Available options: -text, -caption, -title, -left, -top, -width, -height, -menu, -font, -foreground, -background, -hscroll, -vscroll, -size, -pos, -minsize, -maxsize, -minwidth, -minheight, -maxwidth, -maxheight, -topmost, -maximizebox, -minimizebox, -sizable, -sysmenu, -accel, -accelerators, -acceleratortable
4 POD Errors
The following errors were encountered while parsing the POD:
- Around line 7:
You forgot a '=back' before '=head2'
- Around line 258:
Unknown directive: =METHODS
- Around line 260:
Unknown directive: =EVENTS
- Around line 329:
=back without =over