NAME

X11::Xlib::Opaque - Base class for X11 opaque structures

DESCRIPTION

Base class for the various hidden C-structs of Xlib, which are represented as a blessed opaque perl scalar, or blessed perl Hashref with the pointer tucked away in XS magic.

ATTRIBUTES

display

Find the display associated with this object. This may return undef if the opaque object was constructed from a source where the Display was unknown. (for example, accessing the "visual" in X11::Xlib::XVisualInfo when that struct itself does not have a known Display.

The storage for this attribute is contained in XS, and is a strong reference to the Display, which is released during the XS destructor for this object.

pointer_bytes

Return the raw pointer as a string of bytes (i.e. length 8 for 64-bit)

pointer_int

Return the raw pointer value as an integer

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-2023 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.