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

  1. .NH 2
  2. Label Widget
  3. .XS
  4.     Label Widget
  5. .XE
  6. .IN "Label widget" "" "@DEF@"
  7. .Ds 0
  8. .TA 2.0i
  9. .ta 2.0i
  10. .sp
  11. Application header file    <X11/Xaw/Label.h>
  12. .IN "Label.h" ""
  13. Class header file    <X11/Xaw/LabelP.h>
  14. .IN "LabelP.h" ""
  15. Class    labelWidgetClass
  16. .IN "labelWidgetClass" ""
  17. Class Name    Label
  18. .IN "Label widget" "class name"
  19. Superclass    Simple
  20. .sp
  21. .De
  22. .LP
  23. A Label widget is a text string or bitmap displayed within a
  24. rectangular region of the screen.  The \fBlabel\fP may contain
  25. multiple lines of Latin1 characters.  The Label widget will allow its
  26. string to be left, right, or center justified.  Normally, this widget
  27. can be neither selected nor directly edited by the user.  It is
  28. intended for use as an output device only.
  29. .NH 3
  30. Resources
  31. .LP
  32. When creating a Label widget instance, the following resources are
  33. retrieved from the argument list or from the resource database:
  34. .LP
  35. .IN "Label widget" "resources"
  36. .ps 9
  37. .nr PS 9
  38. .vs 11
  39. .nr VS 11
  40. .TS H
  41. expand;
  42. lw(1i) lw(1i) lw(1i) lw(.5i) lw(2i).
  43. _
  44. .sp 3p
  45. .TB
  46. Name    Class    Type    Notes    Default Value
  47. .sp 3p
  48. _
  49. .TH
  50. .R
  51. .sp 3p
  52. accelerators    Accelerators    AcceleratorTable        NULL
  53. ancestorSensitive    AncestorSensitive    Boolean    D    True
  54. background    Background    Pixel        XtDefaultBackground
  55. backgroundPixmap    Pixmap    Pixmap        XtUnspecifiedPixmap
  56. bitmap    Bitmap    Pixmap        None
  57. borderColor    BorderColor    Pixel        XtDefaultForeground
  58. borderPixmap    Pixmap    Pixmap        XtUnspecifiedPixmap
  59. borderWidth    BorderWidth    Dimension        1
  60. colormap    Colormap    Colormap        Parent's Colormap
  61. cursor    Cursor    Cursor        None
  62. cursorName    Cursor    String        NULL
  63. depth    Depth    int    C    Parent's Depth
  64. destroyCallback    Callback    XtCallbackList        NULL
  65. encoding    Encoding    UnsignedChar        XawTextEncoding8bit
  66. font    Font    XFontStruct        XtDefaultFont
  67. foreground    Foreground    Pixel        XtDefaultForeground
  68. height    Height    Dimension    A    Font height + 2 * \fBinternalHeight\fP
  69. insensitiveBorder    Insensitive    Pixmap        GreyPixmap
  70. internalHeight    Height    Dimension        2
  71. internalWidth    Width    Dimension        4
  72. justify    Justify    Justify        XtJustifyCenter (center)
  73. label    Label    String        name of widget
  74. leftBitmap    LeftBitmap    Bitmap        None
  75. mappedWhenManaged    MappedWhenManaged    Boolean        True
  76. pointerColor    Foreground    Pixel        XtDefaultForeground
  77. pointerColorBackground    Background    Pixel        XtDefaultBackground
  78. resize    Resize    Boolean        True
  79. screen    Screen    Screen    R    Parent's Screen
  80. sensitive    Sensitive    Boolean        True
  81. translations    Translations    TranslationTable        See above
  82. width    Width    Dimension    A    \fBLabel\fP width + 2 * \fBinternalWidth\fP
  83. x    Position    Position        0
  84. y    Position    Position        0
  85. .sp 3p
  86. _
  87. .TE
  88. .ps 11
  89. .nr PS 11
  90. .vs 13
  91. .nr VS 13
  92. .Ac
  93. .As
  94. .Bg
  95. .Gp
  96. .Bm Bold
  97. .Bc
  98. .Bp
  99. .Bw
  100. .Cm
  101. .Cu
  102. .Pn
  103. .Dp
  104. .Dc
  105. .Le Bold
  106. .Lf Bold
  107. .Lg Bold
  108. .Hw
  109. .Ib
  110. .Ih Bold
  111. .Ju Bold
  112. .La Bold
  113. .Ll Bold
  114. .Mm
  115. .Pf
  116. .Pb
  117. .Re Bold
  118. .Sc
  119. .Se
  120. .Tr
  121. .Xy
  122.