home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / doc / Xaw / AsciiText < prev    next >
Encoding:
Text File  |  1991-07-29  |  3.9 KB  |  164 lines

  1. .NH 2
  2. Ascii Text Widget
  3. .LP
  4. .XS
  5.     AsciiText Widget
  6. .XE
  7. .IN "AsciiText widget" "" "@DEF@"
  8. .LP
  9. .Ds 0
  10. .TA 2.0i
  11. .ta 2.0i
  12. Application Header file    <X11/Xaw/AsciiText.h>
  13. .IN "AsciiText.h" ""
  14. ClassHeader file    <X11/Xaw/AsciiTextP.h>
  15. .IN "AsciiTextP.h" ""
  16. Class        asciiTextWidgetClass
  17. .IN "asciiTextWidgetClass" ""
  18. Class Name    Text
  19. .IN "AsciiText widget" "class name"
  20. Superclass    Text
  21. Sink Name    textSink
  22. Source Name    textSource
  23. .De
  24. .sp 1
  25. .LP
  26. The AsciiText widget is really a collection of smaller parts.  It
  27. includes the Text widget, an AsciiSrc, and an AsciiSink.  Some of
  28. the resources listed below are not actually resources of the
  29. AsciiText, but belong to the AsciiSrc or AsciiSink.  This is
  30. .IN "AsciiSrc object" ""
  31. .IN "AsciiSink object" ""
  32. is noted in the explanation of each resource where it applies.  When
  33. specifying these resources in a resource file be sure to use
  34. \fI*AsciiText*resource_name\fP instead of
  35. \fI*AsciiText.resource_name\fP, since they actually belong to the
  36. children of the AsciiText widget, and not the AsciiText widget itself.
  37. However, these resources may be set directly on the AsciiText widget at
  38. widget creation time, or via \fBXtSetValues\fP.
  39. .NH 3
  40. Resources
  41. .LP
  42. When creating an AsciiText widget instance, the following resources are
  43. retrieved from the argument list or from the resource database:
  44. .LP
  45. .IN "AsciiText widget" "resources"
  46. .ps 9
  47. .nr PS 9
  48. .vs 11
  49. .nr VS 11
  50. .TS H
  51. expand;
  52. lw(1i) lw(1i) lw(1.1i) lw(.5i) lw(1.9i).
  53. _
  54. .sp 3p
  55. .TB
  56. Name    Class    Type    Notes    Default Value
  57. .sp 3p
  58. _
  59. .TH
  60. .R
  61. .sp 3p
  62. accelerators    Accelerators    AcceleratorTable        NULL
  63. ancestorSensitive    AncestorSensitive    Boolean    D    True
  64. autoFill    AutoFill    Boolean        False
  65. background    Background    Pixel        XtDefaultBackground
  66. backgroundPixmap    Pixmap    Pixmap        XtUnspecifiedPixmap
  67. borderColor    BorderColor    Pixel        XtDefaultForeground
  68. borderPixmap    Pixmap    Pixmap        XtUnspecifiedPixmap
  69. borderWidth    BorderWidth    Dimension        1
  70. bottomMargin    Margin    Position        2
  71. callback    Callback    XtCallbackList        NULL
  72. colormap    Colormap    Colormap        Parent's Colormap
  73. cursor    Cursor    Cursor        XC_xterm
  74. cursorName    Cursor    String        NULL
  75. dataCompression    DataCompression    Boolean        True
  76. depth    Depth    int    C    Parent's Depth
  77. destroyCallback    Callback    XtCallbackList        NULL
  78. displayCaret    Output    Boolean        True
  79. displayNonprinting    Output    Boolean        True
  80. displayPosition    TextPosition    XawTextPosition        0
  81. echo    Output    Boolean        True
  82. editType    EditType    XawTextEditType        XawtextRead
  83. font    Font    XFontStruct*        XtDefaultFont
  84. foreground    Foreground    Pixel        XtDefaultForeground
  85. height    Height    Dimension    A    Font height + margins
  86. insensitiveBorder    Insensitive    Pixmap        GreyPixmap
  87. insertPosition    TextPosition    int        0
  88. leftMargin    Margin    Dimension        2
  89. length    Length    int    A    length of \fBstring\fP
  90. mappedWhenManaged    MappedWhenManaged    Boolean        True
  91. pieceSize    PieceSize    XawTextPosition        BUFSIZ
  92. pointerColor    Foreground    Pixel        XtDefaultForeground
  93. pointerColorBackground    Background    Pixel        XtDefaultBackground
  94. resize    Resize    XawTextResizeMode        XawtextResizeNever
  95. rightMargin    Margin    Position        2
  96. screen    Screen    Screen    R    Parent's Screen
  97. scrollHorizontal    Scroll    XawTextScrollMode        XawtextScrollNever
  98. scrollVertical    Scroll    XawTextScrollMode        XawtextScrollNever
  99. selectTypes    SelectTypes    XawTextSelectType*        See above
  100. sensitive    Sensitive    Boolean        True
  101. string    String    String        NULL
  102. textSink    TextSink    Widget        An AsciiSink
  103. textSource    TextSource    Widget        An AsciiSrc
  104. topMargin    Margin    Position        2        
  105. translations    Translations    TranslationTable        See above
  106. type    Type    XawAsciiType        XawAsciiString
  107. useStringInPlace    UseStringInPlace    Boolean        False
  108. width    Width    Dimension        100
  109. wrap    Wrap    WrapMode        XawtextWrapNever
  110. x    Position    Position        0
  111. y    Position    Position        0
  112. .sp 3p
  113. _
  114. .TE
  115. .ps 11
  116. .nr PS 11
  117. .vs 13
  118. .nr VS 13
  119. .Ac
  120. .As
  121. .Af
  122. .Bg
  123. .Gp
  124. .Bc
  125. .Bp
  126. .Bw
  127. .Tm
  128. .Oc AsciiText
  129. .Cm
  130. .Cu
  131. .Pn
  132. .Od AsciiText
  133. .Dp
  134. .Dc
  135. .Tc
  136. .Sd AsciiText    
  137. .Td
  138. .Oe AsciiText
  139. .Sh AsciiText
  140. .Sf AsciiText
  141. .Sg AsciiText
  142. .Hw
  143. .Ib
  144. .Ti
  145. .Ol AsciiText
  146. .Mm
  147. .Pf
  148. .Pb
  149. .Op AsciiText
  150. .Tz
  151. .Sc
  152. .Ts
  153. .St
  154. .Se
  155. .Os AsciiText
  156. .To
  157. .Tr
  158. .Ot AsciiText
  159. .Ou AsciiText
  160. .Tw
  161. .Xy
  162.  
  163.  
  164.