diff options
Diffstat (limited to 'libX11/specs/libX11/CH02.xml')
-rw-r--r-- | libX11/specs/libX11/CH02.xml | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/libX11/specs/libX11/CH02.xml b/libX11/specs/libX11/CH02.xml index f4ef1bcd8..901a38503 100644 --- a/libX11/specs/libX11/CH02.xml +++ b/libX11/specs/libX11/CH02.xml @@ -66,7 +66,7 @@ To open a connection to the X server that controls a display, use <function>XOpenDisplay</function>. <indexterm significance="preferred"><primary>XOpenDisplay</primary></indexterm> </para> -<funcsynopsis> +<funcsynopsis id='xopendisplay'> <funcprototype> <funcdef>Display *<function>XOpenDisplay</function></funcdef> <paramdef>char *<parameter>display_name</parameter></paramdef> @@ -356,7 +356,7 @@ The names are intended to convey the expected relative intensity of the colors. <para> BlackPixel(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xblackpixel'> <funcprototype> <funcdef>unsigned long <function>XBlackPixel</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -401,7 +401,7 @@ Both return the black pixel value for the specified screen. <para> WhitePixel(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xwhitepixel'> <funcprototype> <funcdef>unsigned long <function>XWhitePixel</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -446,7 +446,7 @@ Both return the white pixel value for the specified screen. <para> ConnectionNumber(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xconnectionnumber'> <funcprototype> <funcdef>int <function>XConnectionNumber</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -483,7 +483,7 @@ this is the file descriptor of the connection. <para> DefaultColormap(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultcolormap'> <funcprototype> <funcdef>Colormap <function>XDefaultColormap</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -529,7 +529,7 @@ Most routine allocations of color should be made out of this colormap. <para> DefaultDepth(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultdepth'> <funcprototype> <funcdef>int <function>XDefaultDepth</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -580,7 +580,7 @@ To determine the number of depths that are available on a given screen, use <para> DefaultGC(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultgc'> <funcprototype> <funcdef>GC <function>XDefaultGC</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -698,7 +698,7 @@ This GC should never be freed. <para> DefaultRootWindow(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultrootwindow'> <funcprototype> <funcdef>Window <function>XDefaultRootWindow</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -732,7 +732,7 @@ Both return the root window for the default screen. <para> DefaultScreenOfDisplay(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultscreenofdisplay'> <funcprototype> <funcdef>Screen *<function>XDefaultScreenOfDisplay</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -766,7 +766,7 @@ Both return a pointer to the default screen. <para> ScreenOfDisplay(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xscreenofdisplay'> <funcprototype> <funcdef>Screen *<function>XScreenOfDisplay</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -811,7 +811,7 @@ Both return a pointer to the indicated screen. <para> DefaultScreen(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultscreen'> <funcprototype> <funcdef>int <function>XDefaultScreen</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -849,7 +849,7 @@ in applications that will use only a single screen. <para> DefaultVisual(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultvisual'> <funcprototype> <funcdef>Visual *<function>XDefaultVisual</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -896,7 +896,7 @@ see section 3.1. <para> DisplayCells(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdisplaycells'> <funcprototype> <funcdef>int <function>XDisplayCells</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -941,7 +941,7 @@ Both return the number of entries in the default colormap. <para> DisplayPlanes(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdisplayplanes'> <funcprototype> <funcdef>int <function>XDisplayPlanes</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -988,7 +988,7 @@ see the glossary. <para> DisplayString(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdisplaystring'> <funcprototype> <funcdef>char *<function>XDisplayString</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1032,7 +1032,7 @@ child process as well as for printing error messages. <para> LastKnownRequestProcessed(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xlastknownrequestprocessed'> <funcprototype> <funcdef>unsigned long <function>XLastKnownRequestProcessed</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1175,7 +1175,7 @@ are received. <para> NextRequest(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xnextrequest'> <funcprototype> <funcdef>unsigned long <function>XNextRequest</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1211,7 +1211,7 @@ Serial numbers are maintained separately for each display connection. <para> ProtocolVersion(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xprotocolversion'> <funcprototype> <funcdef>int <function>XProtocolVersion</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1246,7 +1246,7 @@ the connected display. <para> ProtocolRevision(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xprotocolrevision'> <funcprototype> <funcdef>int <function>XProtocolRevision</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1280,7 +1280,7 @@ Both return the minor protocol revision number of the X server. <para> QLength(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xqlength'> <funcprototype> <funcdef>int <function>XQLength</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1317,7 +1317,7 @@ the queue yet (see <para> RootWindow(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xrootwindow'> <funcprototype> <funcdef>Window <function>XRootWindow</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1366,7 +1366,7 @@ and for creating top-level windows. <para> ScreenCount(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xscreencount'> <funcprototype> <funcdef>int <function>XScreenCount</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1400,7 +1400,7 @@ Both return the number of available screens. <para> ServerVendor(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xservervendor'> <funcprototype> <funcdef>char *<function>XServerVendor</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1438,7 +1438,7 @@ Otherwise, the contents of the string are implementation-dependent. <para> VendorRelease(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xvendorrelease'> <funcprototype> <funcdef>int <function>XVendorRelease</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1511,7 +1511,7 @@ To obtain the pixmap format information for a given display, use <para> ImageByteOrder(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='ximagebyteorder'> <funcprototype> <funcdef>int <function>XImageByteOrder</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1614,7 +1614,7 @@ or <para> BitmapUnit(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xbitmapunit'> <funcprototype> <funcdef>int <function>XBitmapUnit</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1649,7 +1649,7 @@ The scanline is calculated in multiples of this value. <para> BitmapBitOrder(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xbitmpabitorder'> <funcprototype> <funcdef>int <function>XBitmapBitOrder</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1689,7 +1689,7 @@ or <para> BitmapPad(<emphasis remap='I'>display</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xbitmappad'> <funcprototype> <funcdef>int <function>XBitmapPad</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1724,7 +1724,7 @@ by this macro or function. <para> DisplayHeight(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdisplayheight'> <funcprototype> <funcdef>int <function>XDisplayHeight</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1770,7 +1770,7 @@ in pixels. <para> DisplayHeightMM(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdisplayheightmm'> <funcprototype> <funcdef>int <function>XDisplayHeightMM</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1815,7 +1815,7 @@ Both return the height of the specified screen in millimeters. <para> DisplayWidth(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdisplaywidth'> <funcprototype> <funcdef>int <function>XDisplayWidth</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1860,7 +1860,7 @@ Both return the width of the screen in pixels. <para> DisplayWidthMM(<emphasis remap='I'>display</emphasis>, <emphasis remap='I'>screen_number</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdisplaywidthmm'> <funcprototype> <funcdef>int <function>XDisplayWidthMM</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -1919,7 +1919,7 @@ structure. <para> BlackPixelOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xblackpixelofscreen'> <funcprototype> <funcdef>unsigned long <function>XBlackPixelOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -1955,7 +1955,7 @@ Both return the black pixel value of the specified screen. <para> WhitePixelOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xwhitepixelofscreen'> <funcprototype> <funcdef>unsigned long <function>XWhitePixelOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -1991,7 +1991,7 @@ Both return the white pixel value of the specified screen. <para> CellsOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xcellsofscreen'> <funcprototype> <funcdef>int <function>XCellsOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2028,7 +2028,7 @@ of the specified screen. <para> DefaultColormapOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultcolormapofscreen'> <funcprototype> <funcdef>Colormap <function>XDefaultColormapOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2064,7 +2064,7 @@ Both return the default colormap of the specified screen. <para> DefaultDepthOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultdepthofscreen'> <funcprototype> <funcdef>int <function>XDefaultDepthOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2100,7 +2100,7 @@ Both return the depth of the root window. <para> DefaultGCOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultgcofscreen'> <funcprototype> <funcdef>GC <function>XDefaultGCOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2138,7 +2138,7 @@ The GC must never be freed. <para> DefaultVisualOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdefaultvisualofscreen'> <funcprototype> <funcdef>Visual *<function>XDefaultVisualOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2176,7 +2176,7 @@ see section 3.1. <para> DoesBackingStore(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdoesbackingstore'> <funcprototype> <funcdef>int <function>XDoesBackingStore</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2219,7 +2219,7 @@ or <para> DoesSaveUnders(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdoessaveunders'> <funcprototype> <funcdef>Bool <function>XDoesSaveUnders</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2262,7 +2262,7 @@ the screen does not support save unders (see section 3.2.5). <para> DisplayOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xdisplayofscreen'> <funcprototype> <funcdef>Display *<function>XDisplayOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2299,7 +2299,7 @@ Both return the display of the specified screen. <para> EventMaskOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xeventmaskofscreen'> <funcprototype> <funcdef>long <function>XEventMaskOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2372,7 +2372,7 @@ at connection setup time. <para> WidthOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xwidthofscreen'> <funcprototype> <funcdef>int <function>XWidthOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2408,7 +2408,7 @@ Both return the width of the specified screen in pixels. <para> HeightOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xheightofscreen'> <funcprototype> <funcdef>int <function>XHeightOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2444,7 +2444,7 @@ Both return the height of the specified screen in pixels. <para> WidthMMOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xwidthmmofscreen'> <funcprototype> <funcdef>int <function>XWidthMMOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2480,7 +2480,7 @@ Both return the width of the specified screen in millimeters. <para> HeightMMOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xheightmmofscreen'> <funcprototype> <funcdef>int <function>XHeightMMOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2516,7 +2516,7 @@ Both return the height of the specified screen in millimeters. <para> MaxCmapsOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xmaxcmapsofscreen'> <funcprototype> <funcdef>int <function>XMaxCmapsOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2553,7 +2553,7 @@ by the specified screen (see section 9.3). <para> MinCmapsOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xmincmapsofscreen'> <funcprototype> <funcdef>int <function>XMinCmapsOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2590,7 +2590,7 @@ by the specified screen (see section 9.3). <para> PlanesOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xplanesofscreen'> <funcprototype> <funcdef>int <function>XPlanesOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2626,7 +2626,7 @@ Both return the depth of the root window. <para> RootWindowOfScreen(<emphasis remap='I'>screen</emphasis>) </para> -<funcsynopsis> +<funcsynopsis id='xrootwindowofscreen'> <funcprototype> <funcdef>Window <function>XRootWindowOfScreen</function></funcdef> <paramdef>Screen<parameter> *screen</parameter></paramdef> @@ -2670,7 +2670,7 @@ protocol request, use <indexterm significance="preferred"><primary>XNoOp</primary></indexterm> <!-- .sM --> </para> -<funcsynopsis> +<funcsynopsis id='xnoop'> <funcprototype> <funcdef><function>XNoOp</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -2708,7 +2708,7 @@ To free in-memory data that was created by an Xlib function, use <indexterm significance="preferred"><primary>XFree</primary></indexterm> <!-- .sM --> </para> -<funcsynopsis> +<funcsynopsis id='xfree'> <funcprototype> <funcdef>XFree</funcdef> <paramdef>void<parameter> *data</parameter></paramdef> @@ -2754,7 +2754,7 @@ To close a display or disconnect from the X server, use <!-- .LP --> <!-- .sM --> </para> -<funcsynopsis> +<funcsynopsis id='xclosedisplay'> <funcprototype> <funcdef>XCloseDisplay</funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -2822,7 +2822,7 @@ To change a client's close-down mode, use <indexterm significance="preferred"><primary>XSetCloseDownMode</primary></indexterm> <!-- .sM --> </para> -<funcsynopsis> +<funcsynopsis id='xsetclosedownmode'> <funcprototype> <funcdef>XSetCloseDownMode</funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -3107,7 +3107,7 @@ To lock a display across several Xlib calls, use <indexterm significance="preferred"><primary>XLockDisplay</primary></indexterm> <!-- .sM --> </para> -<funcsynopsis> +<funcsynopsis id='xlockdisplay'> <funcprototype> <funcdef>XLockDisplay</funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -3152,7 +3152,7 @@ To unlock a display, use <indexterm significance="preferred"><primary>XUnlockDisplay</primary></indexterm> <!-- .sM --> </para> -<funcsynopsis> +<funcsynopsis id='xunlockdisplay'> <funcprototype> <funcdef>XUnlockDisplay</funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -3211,7 +3211,7 @@ facilities. To track internal connections for a display, use <function>XAddConnectionWatch</function>. </para> -<funcsynopsis> +<funcsynopsis id='xconnectionwatch'> <funcprototype> <funcdef>type void XConnectionWatchProc</funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -3222,7 +3222,7 @@ To track internal connections for a display, use </funcprototype> </funcsynopsis> -<funcsynopsis> +<funcsynopsis id='xaddconnectionwatch'> <funcprototype> <funcdef>Status XAddConnectionWatch</funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -3313,7 +3313,7 @@ To stop tracking internal connections for a display, use <para> () </para> -<funcsynopsis> +<funcsynopsis id='xremoveconnectionwatch'> <funcprototype> <funcdef>Status <function>XRemoveConnectionWatch</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -3375,7 +3375,7 @@ To process input on an internal connection, use <para> () </para> -<funcsynopsis> +<funcsynopsis id='xprocessinternalconnection'> <funcprototype> <funcdef>void <function>XProcessInternalConnection</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> @@ -3430,7 +3430,7 @@ To obtain all of the current internal connections for a display, use <para> () </para> -<funcsynopsis> +<funcsynopsis id='xinternalconnectionnumbers'> <funcprototype> <funcdef>Status <function>XInternalConnectionNumbers</function></funcdef> <paramdef>Display<parameter> *display</parameter></paramdef> |