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

  1. .bp
  2. .if e .bp  \" make sure we break on an odd page.
  3. \&
  4. .sp 1
  5. .ce 3
  6. \s+1\fBChapter 3\fP\s-1
  7.  
  8. \s+1\fBSimple Widgets\fP\s-1
  9. .IN "simple widgets" ""
  10. .sp 2
  11. .nr H1 3
  12. .nr H2 0
  13. .nr H3 0
  14. .nr H4 0
  15. .nr H5 0
  16. .na
  17. .LP
  18. .XS
  19. Chapter 3 - Simple Widgets
  20. .XE
  21. .LP
  22. Each of these widgets performs a specific user interface function.  They
  23. are \fIsimple\fP because they cannot have widget children\(emthey may only
  24. be used as leaves of the widget tree.  These widgets display information or
  25. handle small amounts of user input.
  26. .sp
  27. .IP \fBCommand\fP 1i
  28. .IN "Command widget" ""
  29. A push button that, when selected, may cause a specific action
  30. to take place.  This widget can display a multi-line string or a bitmap image.
  31. .IP \fBGrip\fP 1i
  32. .IN "Grip widget" ""
  33. A rectangle that, when selected, will cause an action to take place.
  34. .IP \fBLabel\fP 1i
  35. .IN "Label widget" ""
  36. A rectangle that may contain one or more lines of text or a bitmap image.
  37. .IP \fBList\fP 1i
  38. .IN "List widget" ""
  39. A list of text strings presented in row column format that may be
  40. individually selected.  When an element is selected an action may take
  41. place.
  42. .IP \fBPanner\fP 1i
  43. .IN "Panner widget" ""
  44. A rectangular area containing a \fIslider\fP that may be moved in two
  45. dimensions.  Notification of movement may be continuous or discrete.
  46. .IP \fBRepeater\fP 1i
  47. .IN "Repeater widget" ""
  48. A push button that triggers an action at an increasing rate when selected.
  49. .IP \fBScrollbar\fP
  50. .IN "Scrollbar widget" ""
  51. A rectangular area containing a \fIthumb\fP that when slid along one
  52. dimension may cause a specific action to take place.  The Scrollbar may
  53. be oriented horizontally or vertically.
  54. .IP \fBSimple\fP 1i
  55. .IN "Simple widget" ""
  56. The base class for most of the simple widgets.  Provides a rectangular
  57. area with a settable mouse cursor and special border.
  58. .IP \fBStripChart\fP 1i
  59. .IN "StripChart widget" ""
  60. A real time data graph that will automatically update and scroll.
  61. .IP \fBToggle\fP 1i
  62. .IN "Toggle widget" ""
  63. A push button (see Command) that contains state information.  Toggles
  64. may also be used as radio buttons to implement a "one of many" group
  65. of buttons. 
  66.