X11::Xlib::Opaque - Base class for X11 opaque structures
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.
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 doesn't have a known Display.
(all display references are stored in a private hashref in X11::Xlib package namespace, keyed by refaddr. All objects with a display attached in that manner should have a DESTROY that removes the reference.)
Return the raw pointer as a string of bytes (i.e. length 8 for 64-bit)
Return the raw pointer value as an integer
Olivier Thauvin, <nanardon@nanardon.zarb.org>
Michael Conrad, <mike@nrdvana.net>
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.
To install X11::Xlib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm X11::Xlib
CPAN shell
perl -MCPAN -e shell install X11::Xlib
For more information on module installation, please visit the detailed CPAN module installation guide.