08 Oct 2006 20:24:56 UTC
- Distribution: X11-Protocol
- Module version: 0.01
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (26)
- Testers (346 / 5470 / 0)
- KwaliteeBus factor: 0
- 15.59% Coverage
- License: unknown
- Activity24 month
- Download (98.85KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
X11::Protocol::Ext::XC_MISC - Perl module for the X11 Protocol XC-MISC Extension
use X11::Protocol; $x = X11::Protocol->new(); $x->init_extension('XC-MISC');
This module is used by the programmer to pre-acquire large numbers of X resource IDs to be used with the X11::Protocol module.
If supported by the server, X11::Protocol will load this module automatically when additional resource IDs are needed via the standard new_rsrc() interface. However, if you anticipate that a program will run for a long time and allocate many resources, it would be a good idea to initialize the extension at startup to verify its existence.
This extension adds three requests, called as shown below:
$x->XCMiscGetVersion => ($major, $minor) $x->XCMiscGetXIDRange => ($start_id, $count) $x->XCMiscGetXIDList($count) => ($count, @ids)
Jay Kominek <email@example.com>.
Module Install Instructions
To install X11::Protocol, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install X11::Protocol
For more information on module installation, please visit the detailed CPAN module installation guide.