X11::WindowHierarchyWrapper around X11::Protocol for retrieving the current window hierarchy | |
Download |
X11::WindowHierarchy Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tom Molesworth
- Publisher web site:
- http://search.cpan.org/~team/
X11::WindowHierarchy Tags
X11::WindowHierarchy Description
X11::WindowHierarchy is a Perl module that provides a couple of helper functions based on X11::Protocol for extracting the current window hierarchy.SYNOPSIS use X11::WindowHierarchy; # Returns a list of all windows with at least one 'word' character in the # window title, using the current $ENV{DISPLAY} to select the display and # screen my @windows = x11_filter_hierarchy( filter => qr/\w/ ); printf "Found window (id %d)%s\n", $_->{title}, $_->{id}, $_->{pid} ? ' pid ' . $_->{pid} : '' for @windows; # Dump all information we have about all windows on display :1 use Data::TreeDumper; print DumpTree(x11_hierarchy(display => ':1'));Product's homepage
X11::WindowHierarchy Related Software