-
-
21 Oct 2021 06:32:51 UTC
- Distribution: X11-Xlib
- Module version: 0.23
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (137 / 0 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (137.71KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Carp
- Scalar::Util
- Try::Tiny
- strict
- warnings
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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 doesn't 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-2021 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.
Module Install Instructions
To install X11::Xlib, copy and paste the appropriate command in to your terminal.
cpanm X11::Xlib
perl -MCPAN -e shell install X11::Xlib
For more information on module installation, please visit the detailed CPAN module installation guide.