NAME

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

SYNOPSIS

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

DESCRIPTION

ATTRIBUTES

display

The X11::Xlib::Display where the resource is located.

xid

Return the X11 numeric ID for this window resource.

autofree

Whether this window object should control the lifespan of the remote resource, by calling XDestroyWindow if it goes out of scope.

METHODS

new

This is mostly meant to be called by Display, but you can wrap additional Window XIDs with:

my $wnd= X11::Xlib::Window->new(display => $dpy, xid => $xid)