home *** CD-ROM | disk | FTP | other *** search
Interleaf document | 1989-10-18 | 21.5 KB | 821 lines |
- <!OPS, Version = 5.2>
-
- <!Document,
- Print Rev Bars = no,
- Final Output Device = "ps",
- Default Printer = "nearest-adps">
-
- <!Font Definitions,
- F2 = Times 10 Italic,
- F3 = Times 10,
- F4 = Times 8 Italic,
- F5 = Times 18 Bold,
- F6 = Times 18,
- F7 = Times 10 Bold,
- F8 = Times 12 Bold,
- F9 = Symbol_B 8>
-
- <!Page,
- Bottom Margin = 1 inches,
- Left Margin = 1 inches,
- Right Margin = 1.15 inches,
- First Page = Right,
- Starting Page # = 107,
- Page # Prefix = "10<#1e>",
- Hyphenation = on,
- Consecutive Hyphens = 2,
- Vert. Just. = off>
-
- <!Autonumber Stream, List, 2,
- Level 2 Suffix = ,
- Level 2 Starting Value = 0,
- Level 2 Show = no>
-
- <!Autonumber Stream, Outline, 3,
- Level 1 Symbol Type = UPPER ROMAN,
- Level 2 Symbol Type = UPPER ALPHA>
-
- <!Autonumber Stream, figure, 2,
- Level 1 Prefix = "Figure ",
- Level 1 Suffix = "<#1e>",
- Level 1 Show = no,
- Level 2 Suffix = ,
- Level 2 Starting Value = 0,
- Level 2 Show = no>
-
- <!Autonumber Stream, figurelet, 2,
- Level 1 Symbol Type = UPPER ALPHA,
- Level 1 Prefix = "Figure ",
- Level 1 Suffix = "<#1e>",
- Level 1 Show = no,
- Level 2 Suffix = "<#04>">
-
- <!Autonumber Stream, invisible, 1,
- Level 1 Suffix = ,
- Level 1 Show = no>
-
- <!Autonumber Stream, item, 2,
- Level 2 Symbol Type = LOWER ALPHA,
- Level 2 Trail = yes>
-
- <!Autonumber Stream, paralet, 4,
- Level 1 Symbol Type = UPPER ALPHA,
- Level 1 Suffix = ,
- Level 1 Show = no,
- Level 2 Prefix = .,
- Level 2 Suffix = ,
- Level 3 Prefix = .,
- Level 3 Suffix = ,
- Level 4 Prefix = .,
- Level 4 Suffix = >
-
- <!Autonumber Stream, paranum, 4,
- Level 1 Suffix = ,
- Level 1 Show = no,
- Level 2 Prefix = .,
- Level 2 Suffix = ,
- Level 3 Prefix = .,
- Level 3 Suffix = ,
- Level 4 Prefix = .,
- Level 4 Suffix = >
-
- <!Autonumber Stream, table, 2,
- Level 1 Prefix = "Table ",
- Level 1 Suffix = "<#1e>",
- Level 1 Show = no,
- Level 2 Suffix = >
-
- <!Autonumber Stream, tablelet, 2,
- Level 1 Symbol Type = UPPER ALPHA,
- Level 1 Prefix = "Table ",
- Level 1 Suffix = "<#1e>",
- Level 1 Show = no,
- Level 2 Suffix = "<#04>">
-
- <!Class, arg,
- Bottom Margin = 0.08 inches,
- Left Margin = 1.85 inches,
- First Indent = -0.25 inches,
- Line Spacing = 1.121 lines,
- Font = F2,
- Left Tab = -0.25/0 inches>
-
- <!Class, bullet,
- Bottom Margin = 0.153 inches,
- Left Margin = 1.85 inches,
- First Indent = -0.25 inches,
- Line Spacing = 1.121 lines,
- Font = F3,
- Allow Page Break Within = no,
- Left Tab = -0.50/0 inches>
-
- <!Class, caption,
- Top Margin = 0.07 inches,
- Bottom Margin = 0.07 inches,
- Line Spacing = 1.100 lines,
- Font = F4>
-
- <!Class, fig,
- Top Margin = 0.07 inches,
- Bottom Margin = 0.07 inches,
- Line Spacing = 1.100 lines,
- Alignment = Left,
- Font = F5>
-
- <!Class, newpage,
- Bottom Margin = 0 inches,
- Line Spacing = 1 lines,
- Alignment = Left,
- Font = F6,
- Hyphenation = off,
- New Page = yes,
- Left Tab = >
-
- <!Class, p1para,
- Bottom Margin = 0.153 inches,
- Left Margin = 1.60 inches,
- First Indent = -1.60 inches,
- Line Spacing = 1.121 lines,
- Font = F7,
- Allow Page Break Within = no,
- Left Tab = -1.60/-0.17/0 inches>
-
- <!Class, p1rule,
- Bottom Margin = 0 inches,
- Line Spacing = 1 lines,
- Font = F3,
- Hyphenation = off,
- Allow Page Break After = no,
- Left Tab = 0/0.75*13 inches>
-
- <!Class, p1stacked,
- Bottom Margin = 0 inches,
- Left Margin = 1.60 inches,
- First Indent = -1.60 inches,
- Line Spacing = 1 lines,
- Font = F7,
- Allow Page Break Within = no,
- Allow Page Break After = no,
- Left Tab = -1.60/-0.17/0 inches>
-
- <!Class, para,
- Bottom Margin = 0.153 inches,
- Left Margin = 1.60 inches,
- Line Spacing = 1.121 lines,
- Font = F3,
- Allow Page Break Within = no,
- Left Tab = 0/0.75*13 inches>
-
- <!Class, return,
- Bottom Margin = 0.077 inches,
- Left Margin = 1.60 inches,
- First Indent = -0.90 inches,
- Line Spacing = 1.121 lines,
- Alignment = Left,
- Font = F7,
- Hyphenation = off,
- Allow Page Break Within = no,
- Allow Page Break After = no,
- Left Tab = -0.90/0 inches,
- Right Tab = 7.50 inches>
-
- <!Class, secno,
- Top Margin = 0.07 inches,
- Bottom Margin = 0.07 inches,
- Line Spacing = 1.100 lines,
- Alignment = Left,
- Font = F5,
- Autonumber Name = paranum>
-
- <!Class, secrule,
- Bottom Margin = 0 inches,
- Line Spacing = 1 lines,
- Font = F3,
- Hyphenation = off,
- Allow Page Break After = no,
- Left Tab = 0/0.75*13 inches,
- Autonumber Name = table>
-
- <!Class, sectitle,
- Bottom Margin = 0 inches,
- Line Spacing = 1 lines,
- Alignment = Right,
- Font = F5,
- Hyphenation = off,
- New Page = yes,
- Left Tab = 0/0.75*13 inches>
-
- <!Class, syntax,
- Bottom Margin = 0.077 inches,
- Left Margin = 1.60 inches,
- First Indent = -0.90 inches,
- Line Spacing = 1.121 lines,
- Alignment = Left,
- Font = F7,
- Hyphenation = off,
- Allow Page Break Within = no,
- Allow Page Break After = no,
- Left Tab = -0.90/0 inches,
- Right Tab = 8 inches>
-
- <!Class, syntax0,
- Bottom Margin = 0 inches,
- Left Margin = 1.60 inches,
- First Indent = -0.90 inches,
- Line Spacing = 1.121 lines,
- Alignment = Left,
- Font = F7,
- Hyphenation = off,
- Allow Page Break Within = no,
- Allow Page Break After = no,
- Left Tab = -0.90/0 inches,
- Right Tab = 8 inches>
-
- <!Class, "table",
- Top Margin = 0.07 inches,
- Bottom Margin = 0.07 inches,
- Line Spacing = 1.100 lines,
- Font = F7,
- Autonumber Name = table>
-
- <!Class, title,
- Top Margin = 0.07 inches,
- Bottom Margin = 0.07 inches,
- Line Spacing = 1.100 lines,
- Alignment = Right,
- Font = F5,
- TOC Doc Name = TOC>
-
- <!Master Frame,
- Name = "At Anchor",
- Placement = At Anchor,
- Width = 0.41 inches,
- Height = 0.137 inches,
- Vertical Alignment = 0.03 inches,
- Diagram =
- V4,
- (g9,32767,0
- (E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,1,0,1,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
-
- <!Master Frame,
- Name = p1rule,
- Placement = At Anchor,
- Width = 6.35 inches,
- Height = 0.153 inches,
- Vertical Alignment = 0.007 inches,
- Shared Contents = yes,
- Diagram =
- V4,
- (g9,1,0
- (v4,1,0,0.006667,0.066723,6.326667,0.066611,17,2,0)
- (E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,0,0,1,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
-
- <First Page Header, Frame =
- V4,
- (g9,0,0
- (E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,1,1,1,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
-
- <Right Page Header, Frame =
- V4,
- (g9,1,0
- (T8,1,12,4.533333,0.306667,1.8,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,
- 102,1101,2,
- <caption,
- Alignment = Right>
-
- Cursors
-
- <End Text>)
- (E10,0,0,0,1,0,0.053333,1,15,0,0,1,0,0,0,0,1,0,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
-
- <Left Page Header, Frame =
- V4,
- (g9,1,0
- (T8,1,12,0,0.293333,2.4,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,102,110
- 1,2,
- <caption>
-
- Cursors
-
- <End Text>)
- (E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,0,1,1,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
-
- <Right Page Footer, Frame =
- V4,
- (g9,1,0
- (t8,1,4,6.333333,0.266667,2,17,@nntimsps10b,\240)
- (t8,2,4,0.006667,0.266667,0,17,@nntimsps8i,CLX\ Programmer's\ Reference)
- (v4,3,0,0,0.066667,6.333333,0.066554,17,2,0)
- (E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,0,1,1,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
-
- <Left Page Footer, Frame =
- V4,
- (g9,1,0
- (t8,1,4,0,0.266667,0,17,@nntimsps10b,\240)
- (t8,2,4,6.333333,0.266667,2,17,@nntimsps8i,CLX\ Programmer's\ Reference)
- (v4,3,0,0.026667,0.066667,6.333333,0.066554,17,2,0)
- (E10,0,0,0,1,0,0.053333,1,15,0,0,1,0,0,0,0,1,0,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
-
- <sectitle,
- Allow Page Break Within = no,
- Allow Page Break After = no>
-
- <|,"10<#1e>107">
- <Frame,
- Name = "At Anchor",
- Placement = At Anchor,
- Width = 4.72 inches,
- Height = 0.94 inches,
- Vertical Alignment = 0.03 inches,
- Diagram =
- V4,
- (g9,1,0
- (T8,1,12,0.133333,0.72,4.563333,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512
- ,102,1101,3,
- <title>
-
- CURSORS
-
- <End Text>)
- (E10,0,0,0,1,0,0.053333,1,15,0,0,1,0,0,0,0,1,0,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
- <Frame,
- Name = "At Anchor",
- Placement = At Anchor,
- Width = 1.626 inches,
- Height = 0.938 inches,
- Vertical Alignment = 0 inches,
- Diagram =
- V4,
- (g9,1,0
- (T8,1,12,0.066667,0.276667,0,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,10
- 2,1101,3,
- <secno,
- TOC Doc Name = TOC>
-
- <Autonum, paranum, 1, First = Yes>
-
- <End Text>)
- (T8,2,12,0.026667,0.733333,0,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,10
- 2,1101,3,
- <"table">
-
- <Autonum, table, 1, First = Yes>
-
- <End Text>)
- (T8,3,12,0.066667,0.6,0,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,102,110
- 1,3,
- <fig,
- Alignment = Both,
- Font = F7,
- Autonumber Name = figure>
-
- <Autonum, figure, 1, First = Yes>
-
- <End Text>)
- (g9,5,0
- (p7,5,8,19
- (g9,5,0
- (g9,5,0
- (v4,5,0,0.266667,0,1.6,0,17,1,0)
- (v4,6,0,1.6,0,1.6,0.933333,17,1,0)
- (v4,7,0,1.6,0.933333,0.266667,0.933333,17,1,0)
- (v4,8,0,0.266667,0.933333,0.266667,0,17,1,0))))
- (g9,10,8
- (g9,10,1032
- (p7,10,8,13
- (g9,10,0
- (g9,10,0
- (v4,10,0,1.375614,0.934817,1.484035,0.822222,17,1,0)
- (v4,11,0,1.484035,0.822222,1.484035,0.259258,17,1,0)
- (v4,12,0,1.484035,0.259258,1.375614,0.146667,17,1,0)
- (v4,13,0,1.375614,0.146667,1.122632,0.146667,17,1,0)
- (v4,14,32,1.122632,0.146667,1.176842,0.296786,17,0,0)
- (v4,15,0,1.176842,0.296786,1.321403,0.296786,17,1,0)
- (v4,16,0,1.321403,0.296786,1.321403,0.784693,17,1,0)
- (v4,17,0,1.321403,0.784693,1.176842,0.784693,17,1,0)
- (v4,18,32,1.176842,0.784693,1.122632,0.934817,17,0,0)
- (v4,19,0,1.122632,0.934817,1.375614,0.934817,17,1,0))))
- (p7,21,8,13
- (g9,21,0
- (g9,21,0
- (v4,21,32,1.122632,0.934817,1.176842,0.784693,17,0,0)
- (v4,22,0,1.176842,0.784693,1.176842,0.296786,17,1,0)
- (v4,23,32,1.176842,0.296786,1.122632,0.146667,17,0,0)
- (v4,24,0,1.122632,0.146667,1.014211,0.259258,17,1,0)
- (v4,25,0,1.014211,0.259258,1.014211,0.822222,17,1,0)
- (v4,26,0,1.014211,0.822222,1.122632,0.934817,17,1,0)))))
- (g9,27,2048
- (v4,27,33,0.96,1.160001,0.96,1.160001,17,0,0)
- (v4,28,33,0.96,0.146667,0.96,0.146667,17,0,0)
- (v4,29,33,1.538245,0.146667,1.538245,0.146667,17,0,0)
- (v4,30,33,1.538245,1.160001,1.538245,1.160001,17,0,0)))
- (g9,32,8
- (p7,32,1032,13
- (g9,32,0
- (g9,32,0
- (v4,32,0,0.914386,0.934813,0.914386,0.146667,17,1,0)
- (v4,33,0,0.914386,0.146667,0.769824,0.146667,17,1,0)
- (v4,34,0,0.769824,0.146667,0.625263,0.296789,17,1,0)
- (v4,35,0,0.625263,0.296789,0.625263,0.371848,17,1,0)
- (v4,36,0,0.625263,0.371848,0.751755,0.371848,17,1,0)
- (v4,37,0,0.751755,0.371848,0.751755,0.934813,17,1,0)
- (v4,38,0,0.751755,0.934813,0.914386,0.934813,17,1,0))))
- (g9,39,2048
- (v4,39,33,0.607192,0.146667,0.607192,0.146667,17,0,0)
- (v4,40,33,0.607192,1.159997,0.607192,1.159997,17,0,0)
- (v4,41,33,0.986667,1.159997,0.986667,1.159997,17,0,0)
- (v4,42,33,0.986667,0.146667,0.986667,0.146667,17,0,0))))
- (E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,0,1,1,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
-
- <secrule,
- Allow Page Break Within = no,
- Allow Page Break After = yes,
- Autonumber Name = >
-
- <Index, "cursor", To Named = sectitle>
- <Frame,
- Name = "At Anchor",
- Placement = At Anchor,
- Width = 6.35 inches,
- Height = 0.153 inches,
- Vertical Alignment = 0.007 inches,
- Diagram =
- V4,
- (g9,1,0
- (v4,1,0,0.006667,0.066723,6.333333,0.066611,17,2,0)
- (E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,0,0,1,1,0.066667,0.066667,6,6,0,0.066
- 667,6))>
-
- <p1para,
- Font = F3,
- Left Tab = -1.70/0 inches>
-
- <F8>Introduction<Tab><F7>10.1<#04><F0>A <F2>cursor<F0> is a visible
- shape that appears at the current position of<SP>the pointer device.
- The cursor shape moves with the pointer to provide<SP>continuous feedback
- to the user about the current location of the pointer.<SP>Each window
- can have a cursor attribute that defines the appearance of the<SP>pointer
- cursor when the pointer position lies within the window. See <F7>window<#1e>cu
- rsor<F0>.
-
- <para>
-
- A cursor image is composed of a source bitmap, a mask bitmap, a <F2>hot
- spot<F0>, a foreground color, and a background color. Either 1<#1e>bit
- pixmaps or<SP>font glyphs can be used to specify source and mask bitmaps.
- The source<SP>bitmap identifies the foreground and background pixels
- of the cursor image;<SP>the mask bitmap identifies which source pixels
- are actually drawn. The mask<SP>bitmap thus allows a cursor to assume
- any shape. The hot spot defines the<SP>position within the cursor
- image that is displayed at the pointer position.
-
- In CLX, a cursor is represented by a <F7>cursor<F0> object. This
- section describes<SP>the CLX functions to:
-
- <bullet>
-
- <F9>w<Tab><F0>Create and free cursor objects
-
- <F9>w<Tab><F0>Change cursor colors
-
- <F9>w<Tab><F0>Inquire the best cursor size
-
- <F9>w<Tab><F0>Access cursor attributes
-
- <p1rule>
-
- <Frame,
- Name = p1rule,
- Placement = At Anchor,
- Width = 6.35 inches,
- Height = 0.153 inches,
- Vertical Alignment = 0.007 inches,
- Shared Contents = yes>
-
- <p1para,
- Bottom Margin = 0 inches,
- Font = F3,
- Left Tab = -1.70/0 inches>
-
- <F8>Creating <Tab><F7>10.2<F0><#04>The following paragraphs describe
- the CLX functions used to create<FJ>
-
- <p1para>
-
- <F8>Cursors<Tab><F3><Tab>and free <F0>cursor<F3><SP>objects.
-
- <syntax0>
-
- create<#1e>cursor<F3> &key <F0>:source :mask :x :y :foreground :background<Tab>
- <F3>Function<Index, Doc = operations, "xlib:create<#1e>cursor", Sort String = "create<#1e>cursor">
-
- <return>
-
- <F3><Tab>Returns: <F2><HR>
- cursor <#1f> <F3>Type <F0>cursor<F3>.
-
- <para>
-
- Creates and returns a cursor. <F7>:x<F0> and <F7>:y<F0> define
- the position of the hot spot relative to the origin of the <F7>:source.
- :foreground<F0> and <F7>:background<F0> colors must be<SP>specified,
- even if the server only has a <F7>:static<#1e>gray<F0> or <F7>:gray<#1e>scal
- e<F0> screen.<SP>The <F7>:source<F0>, <F7>:x<F0>, and <F7>:y<F0><SP>argu
- ments must also be specified.
-
- The cursor image is drawn by drawing a pixel from the <F7>:source<F0>
- bitmap at<SP>every position where the corresponding bit in the <F7>:mask<F0>
- bitmap is 1. If the<SP>corresponding <F7>:source<F0> bit is 1, a
- pixel is drawn in the <F7>:foreground<F0><SP>color; otherwise, a
- pixel is drawn in the <F7>:background<F0> color. If the <F7>:mask<F0>
- is<SP>omitted, all <F7>:source<F0> pixels are drawn. If given, the <F7>:mask
- <F0> must be the same size as the <F7>:source<F0>.
-
- An X server may not be able to support every cursor size. A server
- is free to modify any component of the cursor to satisfy hardware
- or software limitations.
-
- The <F7>:source<F0> and <F7>:mask<F0> can be freed immediately
- after the cursor is created. Subsequent drawing in the <F7>:source<F0>
- or<SP><F7>:mask<F0> pixmap has an undefined effect on the cursor.
-
- <arg>
-
- <F7>:source<F3> <#1f> The source pixmap. This argument is required.
-
- <|,"10<#1e>108"><F7>:mask<F3> <#1f> The mask pixmap.
-
- <F7>:x<F3>, <F7>:y<F3> <#1f> The hot spot position in the <F7>:source
- <F3>. This argument is required.
-
- <F7>:foreground<F3> <#1f> A <F7>color<F3> object specifying the
- foreground color. This argument is required.
-
- <F7>:background<F3> <#1f> A <F7>color<F3> object specifying the
- background color. This argument is required.
-
- <syntax0>
-
- create<#1e>glyph<#1e>cursor<F3> &key <F0>:source<#1e>font :source<#1e>char
- :mask<#1e>font <Tab><F3>Function<Index, Doc = operations, "xlib:create<#1e>glyph<#1e>cursor", Sort String = "create<#1e>glyph<#1e>cursor"><HR>
- (<F0>:mask<#1e>char<F3> 0)<F0> :foreground :background
-
- <return>
-
- <F3><Tab>Returns: <F2><HR>
- cursor <#1f> <F3>Type <F0>cursor<F3>.
-
- <para>
-
- Creates and returns a cursor defined by font glyphs. The source bitmap
- is<SP>defined by the <F7>:source<#1e>font<F0> and <F7>:source<#1e>char<F0>.
- The mask bitmap is defined by<SP>the <F7>:mask<#1e>font<F0> and <F7>:mask<#1e>
- char<F0>. It is an error if the <F7>:source<#1e>char<F0> and<SP><F7>:mask<#1e>
- char<F0> are not valid indexes for the <F7>:source<#1e>font<F0>
- and <F7>:mask<#1e>font<F0>,<SP>respectively. The hot spot position
- is defined by the <#7f>character origin" of<SP> the source glyph,
- that is, the position [- <F2>char<#1e>left<#1e>bearing<F0>, <F2>char<#1e>asc
- ent<F0>]<SP>relative to the upper left corner of the source glyph
- bitmap.
-
- Source and mask bits are compared after aligning the character origins
- of<SP>the source and mask glyphs. The source and mask glyphs need
- not have the<SP>same size or character origin position. If the <F7>:mask<#1e>f
- ont<F0> is<SP>omitted, all source pixels are drawn.
-
- An X server may not be able to support every cursor size. A server
- is free<SP>to modify any component of the cursor to satisfy hardware
- or software limitations.
-
- Either of the <F7>:source<#1e>font<F0> or <F7>:mask<#1e>font<F0>
- can be closed after the cursor is<SP>created.
-
- <arg>
-
- <F7>:source<#1e>font<F3> <#1f> The source font. This is a required
- argument.
-
- <F7>:source<#1e>char<F3> <#1f> An index specifying a glyph in the
- source font. This<SP>is a required argument.
-
- <F7>:mask<#1e>font<F3> <#1f> The mask font.<F0>
-
- <F7>:mask<#1e>char<F3> <#1f> An index specifying a glyph in the
- mask font.
-
- <F7>:foreground<F3> <#1f> A <F7>color<F3> object specifying the
- foreground color. This<SP>is a required argument.
-
- <F7>:background<F3> <#1f> A <F7>color<F3> object specifying the
- background color. This<SP>is a required argument.<F0>
-
- <syntax>
-
- free<#1e>cursor<F3> <F2>cursor<F0><Tab><F3>Function<Index, Doc = operations, "xlib:free<#1e>cursor", Sort String = "free<#1e>cursor">
-
- <para>
-
- Destroys the <F7>cursor<F0> object. Cursor server resources are
- freed when no other<SP> references remain.
-
- <arg>
-
- cursor<F3> <#1f> A <F7>cursor<F3> object.
-
- <p1rule>
-
- <Frame,
- Name = p1rule,
- Placement = At Anchor,
- Width = 6.35 inches,
- Height = 0.153 inches,
- Vertical Alignment = 0.007 inches,
- Shared Contents = yes>
-
- <p1stacked,
- Font = F3,
- Left Tab = -1.70/0 inches>
-
- <F8>Cursor<Tab><F7>10.3<F0><#04>The following paragraphs describe
- the CLX functions used to operate
-
- <p1para,
- Font = F3,
- Left Tab = -1.70/0 inches>
-
- <F8>Functions<Tab><F0>on <F7>cursor<F0> objects.
-
- <syntax0>
-
- <|,"10<#1e>109">query<#1e>best<#1e>cursor <F2>width height display<F0><Tab><F3>Functio
- n<Index, Doc = operations, "xlib:query<#1e>best<#1e>cursor", Sort String = "query<#1e>best<#1e>cursor">
-
- <return>
-
- <F3><Tab>Returns: <F2><HR>
- width<F3>,<F2> height <#1f> <F3>Type <F0>card16<F3>.
-
- <para>
-
- Returns the cursor size closest to the requested <F2>width<F0> and <F2>heigh
- t<F0> that is best suited to the display. The <F2>width<F0> and <F2>height
- <F0> returned define the largest<SP>cursor size supported by the
- X server. Clients should always be prepared to<SP>limit cursor sizes
- to those supported by the server.
-
- <arg>
-
- display<F3> <#1f> A <F7>display<F3> object.
-
- width<F3>,<F0><SP>height<F3> <#1f> The requested cursor size.
-
- <syntax>
-
- recolor<#1e>cursor<F3> <F2>cursor foreground background<F0><Tab><F3>Functio
- n<Index, Doc = operations, "xlib:recolor<#1e>cursor", Sort String = "recolor<#1e>cursor">
-
- <para>
-
- Changes the color of the specified <F2>cursor<F0>. If the<SP>cursor
- is displayed on a screen, the change is visible immediately.
-
- <arg>
-
- cursor<F3> <#1f> A <F7>cursor<F3> object.
-
- foreground<F3> <#1f> A <F7>color<F3> object specifying the new
- foreground color.
-
- background<F3> <#1f> A <F7>color<F3> object specifying the new
- background color.
-
- <p1rule>
-
- <Frame,
- Name = p1rule,
- Placement = At Anchor,
- Width = 6.35 inches,
- Height = 0.153 inches,
- Vertical Alignment = 0.007 inches,
- Shared Contents = yes>
-
- <p1stacked,
- Font = F3,
- Left Tab = -1.70/0 inches>
-
- <F8>Cursor<Tab><F7>10.4<F0><#04>The complete set of cursor attributes
- is discussed in the following<F7><FJ>
-
- <p1para,
- Font = F3,
- Left Tab = -1.70/0 inches>
-
- <F8>Attributes<Tab><F0>paragraphs.
-
- <syntax0>
-
- cursor<#1e>display<F3> <F2>cursor<F0><Tab><F3>Function<Index, Doc = operations, "xlib:cursor<#1e>display", Sort String = "cursor<#1e>display">
-
- <return>
-
- <Tab><F3>Returns: <F2><HR>
- display <F3><#1f> Type <F0>display<F3>.
-
- <para>
-
- Returns the <F7>display<F0> object associated with the specified <F2>cursor
- <F0>.
-
- <arg>
-
- cursor <#1f> <F3>A <F7>cursor<F3> object.
-
- <syntax,
- Left Tab = -0.90/0 inches,
- Right Tab = 7.50 inches>
-
- cursor<#1e>equal <F2>cursor<#1e>1<F3> <F2>cursor<#1e>2<F0><Tab><F3>Functio
- n<Index, Doc = operations, "xlib:cursor<#1e>equal", Sort String = "cursor<#1e>equal">
-
- <para>
-
- Returns true if the two arguments refer to the same server resource
- and <F7>nil<F0> if they do not.
-
- <arg>
-
- cursor<#1e>1<F3>, <F0>cursor<#1e>2 <F3><#1f> <F7>cursor<F3> objects.
-
- <syntax,
- Bottom Margin = 0 inches,
- Left Tab = -0.90/0 inches,
- Right Tab = 7.50 inches>
-
- cursor<#1e>id<F3> <F2>cursor<F0><Tab><F3>Function<Index, Doc = operations, "xlib:cursor<#1e>id", Sort String = "cursor<#1e>id">
-
- <return>
-
- <Tab><F3>Returns: <F2><HR>
- id <F3><#1f> Type <F0>resource<#1e>id.<F3>
-
- <para>
-
- Returns the unique resource ID that has been assigned to the specified <F2>cur
- sor<F0>.
-
- <arg>
-
- cursor <F3><#1f> A <F7>cursor<F3> object.
-
- <syntax,
- Bottom Margin = 0 inches,
- Left Tab = -0.90/0 inches,
- Right Tab = 7.50 inches>
-
- cursor<#1e>p<F3> <F2>cursor<F0><Tab><F3>Function<Index, Doc = operations, "xlib:cursor<#1e>p", Sort String = "cursor<#1e>p">
-
- <return>
-
- <Tab><F3>Returns: <F2><HR>
- cursor<#1e>p<F3> <#1f> Type <F0>boolean<F3>.
-
- <para>
-
- Returns true if the argument is a <F7>cursor<F0> object and <F7>nil<F0>
- otherwise.
-
- <syntax,
- Bottom Margin = 0 inches,
- Left Tab = -0.90/0 inches,
- Right Tab = 7.50 inches>
-
- cursor<#1e>plist<F3> <F2>cursor<F0><Tab><F3>Function<Index, Doc = operations, "xlib:cursor<#1e>plist", Sort String = "cursor<#1e>plist">
-
- <return>
-
- <Tab><F3>Returns: <F2><HR>
- plist<F3> <#1f> A property list.
-
- <para>
-
- Returns and (with <F7>setf<F0>) sets the property list for the specified
- <F2>cursor<F0>. This function provides a hook where extensions can
- add data.
-
- <arg>
-
- cursor <F3><#1f> A <F7>cursor<F3> object.
-
- <newpage>
-
- <|,"10<#1e>110">
-