|
FVWM::Tracker::WindowList
Section: FVWM Perl library (3) Updated: 2005-08-24 Source: FVWM/Tracker/WindowList.pm
This page contents
- Return to main index
DESCRIPTION
This is a subclass of FVWM::Tracker that enables to read the window
information.
This tracker defines the following observables:
"window added",
"window deleted",
"window properties updated",
"window moved",
"window resized",
"window iconified",
"window deiconified",
"window name updated",
"window stack updated",
"window icon updated",
SYNOPSYS
Using FVWM::Module $module object:
my $tracker = $module->track("WindowList");
my @windows = $tracker->windows;
foreach my $window ($tracker->windows) {
print "+$window->{x}+$window->{y}, $window->{name}\n";
}
or:
my $tracker = $module->track("WindowList", "winfo");
my $x = $tracker->data("0x230002a")->{x};
or:
my $tracker = $module->track("WindowList", $options);
my $data = $tracker->data;
while (my ($winId, $window) = each %$data) {
next unless $window->match("CurrentPage, Iconified");
$module->send("Iconify off", $winId);
}
Default $options string is: ``!stack !icons names winfo''
OVERRIDDEN METHODS
- new module params
-
It is possible the kind of window list.
To be written.
- data [window-id]
-
Returns array ref of window hash refs. or one window hash ref if
window-id is given.
- dump [window-id]
-
Works similarly to data, but returns debug lines for one or all windows.
METHODS
- pageInfo [field]
-
Returns hash ref of page/desk info, or actual hash value using field as a key (if specified).
AUTHORS
- Mikhael Goikhman <migo@homemail.com>
-
- Scott Smedley
-
SEE ALSO
For more information, see FVWM::Module and FVWM::Tracker.
Index
- DESCRIPTION
-
- SYNOPSYS
-
- OVERRIDDEN METHODS
-
- METHODS
-
- AUTHORS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 00:51:35 GMT, August 27, 2005
|