NAME

X11::Xlib::Window - Low-level access to X11 windows

SYNOPSIS

use X11::Xlib;
my $display = X11::Xlib->new();
my $window = $display->RootWindow();
...

DESCRIPTION

This class extends .

METHODS

(inherits from X11::Xlib::XID)

get_w_h

my ($w, $h)= $window->get_w_h

Return width and height of the window by calling XGetGeometry. This means it always returns the current size of the window, which could have been altered since the time the window was created.

SEE ALSO

X11::Xlib

AUTHOR

Olivier Thauvin, <nanardon@nanardon.zarb.org>

Michael Conrad, <mike@nrdvana.net>

COPYRIGHT AND LICENSE

Copyright (C) 2009-2010 by Olivier Thauvin

Copyright (C) 2017 by Michael Conrad

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.