X11::Xlib::Window - XID wrapper for Window
use X11::Xlib; my $display = X11::Xlib->new(); my $window = $display->RootWindow(); ...
(inherits from X11::Xlib::XID)
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.
$win->show; $win->show(1); $win->show(0); # equivalent to 'hide'
Calls XMapWindow to request that the X server display the window.
You can pass a boolean argument to conditionally call "hide" instead.
Calls XUnmapWindow to request the window be hidden.
Olivier Thauvin, <email@example.com>
Michael Conrad, <firstname.lastname@example.org>
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.