View on
MetaCPAN
Michael Conrad > X11-Xlib > X11::Xlib::Opaque

Download:
X11-Xlib-0.16.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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.

(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.)

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

syntax highlighting: