X11::Protocol::Ext::XC_MISC - MISC Extension
use X11::Protocol;
$x = X11::Protocol->new();
$x->init_extension('XC-MISC');
User Contributed Perl Documentation Protocol::Ext::XC_MISC(3)
NAME
X11::Protocol::Ext::XC_MISC - Perl module for the X11 Protocol XC-MISC
Extension
SYNOPSIS
use X11::Protocol;
$x = X11::Protocol->new();
$x->init_extension('XC-MISC');
DESCRIPTION
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.
REQUESTS
This extension adds three requests, called as shown below:
$x->XCMiscGetVersion => ($major, $minor)
$x->XCMiscGetXIDRange => ($start_id, $count)
$x->XCMiscGetXIDList($count) => ($count, @ids)
AUTHOR
Jay Kominek <jay.kominek@colorado.edu>.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+--------------------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+--------------------------------------+
|Availability | library/perl-5/perl-x11-protocol-532 |
+---------------+--------------------------------------+
|Stability | Uncommitted |
+---------------+--------------------------------------+
SEE ALSO
perl(1), X11::Protocol, XC-MISC Extension (X Consortium Standard).
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from
http://search.cpan.org/CPAN/authors/id/S/SM/SMCCAM/X11-Protocol-0.56.tar.gz.
Further information about this software can be found on the open source
community website at http://search.cpan.org/~smccam/X11-Protocol.
perl v5.32.0 2003-05-11 Protocol::Ext::XC_MISC(3)