1package X11::Xlib::XWindowAttributes;
2require X11::Xlib::Struct;
3__END__
4
5=head1 NAME
6
7X11::Xlib::XWindowAttributes - Struct defining window attributes
8
9=head1 DESCRIPTION
10
11This struct contains various attributes of a window, which can be retrieved
12with L<XGetWindowAttributes|X11::Xlib/XGetWindowAttributes>.
13
14=head1 ATTRIBUTES
15
16(copied from X11 docs)
17
18    int x, y;                     /* location of window */
19    int width, height;            /* width and height of window */
20    int border_width;             /* border width of window */
21    int depth;                    /* depth of window */
22    Visual *visual;               /* the associated visual structure */
23    Window root;                  /* root of screen containing window */
24    int class;                    /* InputOutput, InputOnly*/
25    int bit_gravity;              /* one of the bit gravity values */
26    int win_gravity;              /* one of the window gravity values */
27    int backing_store;            /* NotUseful, WhenMapped, Always */
28    unsigned long backing_planes; /* planes to be preserved if possible */
29    unsigned long backing_pixel;  /* value to be used when restoring planes */
30    Bool save_under;              /* boolean, should bits under be saved? */
31    Colormap colormap;            /* color map to be associated with window */
32    Bool map_installed;           /* boolean, is color map currently installed*/
33    int map_state;                /* IsUnmapped, IsUnviewable, IsViewable */
34    long all_event_masks;         /* set of events all people have interest in*/
35    long your_event_mask;         /* my event mask */
36    long do_not_propagate_mask;   /* set of events that should not propagate */
37    Bool override_redirect;       /* boolean value for override-redirect */
38    Screen *screen;               /* back pointer to correct screen */
39
40=head1 METHODS
41
42See parent class L<X11::Xlib::Struct>
43
44=head1 AUTHOR
45
46Olivier Thauvin, E<lt>nanardon@nanardon.zarb.orgE<gt>
47
48Michael Conrad, E<lt>mike@nrdvana.netE<gt>
49
50=head1 COPYRIGHT AND LICENSE
51
52Copyright (C) 2009-2010 by Olivier Thauvin
53
54Copyright (C) 2017 by Michael Conrad
55
56This library is free software; you can redistribute it and/or modify
57it under the same terms as Perl itself, either Perl version 5.10.0 or,
58at your option, any later version of Perl 5 you may have available.
59
60=cut
61