man-pages/man3/X11::Protocol::Ext::XC_MISC.3pm.html
2021-03-31 01:06:50 +01:00

100 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Protocol::Ext::XC_MISC</TITLE>
</HEAD><BODY>
<H1>Protocol::Ext::XC_MISC</H1>
Section: User Contributed Perl Documentation (3pm)<BR>Updated: 2003-05-11<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
X11::Protocol::Ext::XC_MISC - Perl module for the X11 Protocol XC-MISC Extension
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<PRE>
use X11::Protocol;
$x = X11::Protocol-&gt;new();
$x-&gt;init_extension('XC-MISC');
</PRE>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
This module is used by the programmer to pre-acquire large numbers of
X resource IDs to be used with the X11::Protocol module.
<P>
If supported by the server, X11::Protocol will load this module
automatically when additional resource IDs are needed via the standard
<I>new_rsrc()</I> 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.
<A NAME="lbAE">&nbsp;</A>
<H2>REQUESTS</H2>
This extension adds three requests, called as shown below:
<P>
<PRE>
$x-&gt;XCMiscGetVersion =&gt; ($major, $minor)
$x-&gt;XCMiscGetXIDRange =&gt; ($start_id, $count)
$x-&gt;XCMiscGetXIDList($count) =&gt; ($count, @ids)
</PRE>
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHOR</H2>
Jay Kominek &lt;<A HREF="mailto:jay.kominek@colorado.edu">jay.kominek@colorado.edu</A>&gt;.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<I><A HREF="/cgi-bin/man/man2html?1+perl">perl</A></I>(1),
X11::Protocol,
<I>XC-MISC Extension (X Consortium Standard)</I>.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">REQUESTS</A><DD>
<DT id="5"><A HREF="#lbAF">AUTHOR</A><DD>
<DT id="6"><A HREF="#lbAG">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:00 GMT, March 31, 2021
</BODY>
</HTML>