fxruby 1.6.22 → 1.6.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. data/.gitignore +14 -0
  2. data/.yardopts +8 -0
  3. data/History.txt +6 -0
  4. data/Manifest.txt +317 -24
  5. data/README.git +3 -0
  6. data/README.rdoc +537 -0
  7. data/Rakefile +62 -46
  8. data/Rakefile.cross +397 -0
  9. data/doap.rdf +3 -3
  10. data/doap.rdf.erb +87 -0
  11. data/examples/WhatAQuietStiff.rb +356 -0
  12. data/examples/canvasdemo.rb +88 -0
  13. data/examples/gdchart.rb +76 -0
  14. data/examples/gembrowser.rb +289 -0
  15. data/examples/rmagick.rb +44 -0
  16. data/lib/fox16/canvas.rb +606 -0
  17. data/lib/fox16/irb.rb +1 -0
  18. data/lib/fox16/splashscreen.rb +1 -0
  19. data/lib/fox16/tkcompat.rb +56 -0
  20. data/lib/fox16/version.rb +1 -1
  21. data/rdoc-sources/FX4Splitter.rb +44 -44
  22. data/rdoc-sources/FX7Segment.rb +3 -3
  23. data/rdoc-sources/FXAccelTable.rb +1 -1
  24. data/rdoc-sources/FXApp.rb +51 -51
  25. data/rdoc-sources/FXArrowButton.rb +6 -6
  26. data/rdoc-sources/FXBMPIcon.rb +12 -12
  27. data/rdoc-sources/FXBMPImage.rb +6 -6
  28. data/rdoc-sources/FXBitmap.rb +9 -9
  29. data/rdoc-sources/FXBitmapFrame.rb +3 -3
  30. data/rdoc-sources/FXBitmapView.rb +12 -12
  31. data/rdoc-sources/FXButton.rb +5 -5
  32. data/rdoc-sources/FXCanvas.rb +4 -4
  33. data/rdoc-sources/FXCheckButton.rb +7 -7
  34. data/rdoc-sources/FXChoiceBox.rb +16 -16
  35. data/rdoc-sources/FXColorBar.rb +9 -9
  36. data/rdoc-sources/FXColorDialog.rb +4 -4
  37. data/rdoc-sources/FXColorList.rb +1 -1
  38. data/rdoc-sources/FXColorRing.rb +4 -4
  39. data/rdoc-sources/FXColorSelector.rb +38 -38
  40. data/rdoc-sources/FXColorWell.rb +15 -15
  41. data/rdoc-sources/FXColorWheel.rb +8 -8
  42. data/rdoc-sources/FXComboBox.rb +24 -24
  43. data/rdoc-sources/FXCursor.rb +12 -12
  44. data/rdoc-sources/FXDC.rb +176 -176
  45. data/rdoc-sources/FXDCPrint.rb +20 -20
  46. data/rdoc-sources/FXDCWindow.rb +2 -2
  47. data/rdoc-sources/FXDataTarget.rb +1 -1
  48. data/rdoc-sources/FXDebugTarget.rb +1 -1
  49. data/rdoc-sources/FXDelegator.rb +2 -2
  50. data/rdoc-sources/FXDial.rb +9 -9
  51. data/rdoc-sources/FXDialogBox.rb +3 -3
  52. data/rdoc-sources/FXDict.rb +2 -3
  53. data/rdoc-sources/FXDirBox.rb +2 -2
  54. data/rdoc-sources/FXDirList.rb +14 -14
  55. data/rdoc-sources/FXDirSelector.rb +14 -14
  56. data/rdoc-sources/FXDockBar.rb +35 -35
  57. data/rdoc-sources/FXDockHandler.rb +2 -2
  58. data/rdoc-sources/FXDockSite.rb +11 -11
  59. data/rdoc-sources/FXDockTitle.rb +2 -2
  60. data/rdoc-sources/FXDocument.rb +2 -2
  61. data/rdoc-sources/FXDragCorner.rb +2 -2
  62. data/rdoc-sources/FXDrawable.rb +5 -5
  63. data/rdoc-sources/FXDriveBox.rb +3 -3
  64. data/rdoc-sources/FXFileDialog.rb +24 -24
  65. data/rdoc-sources/FXFileDict.rb +11 -11
  66. data/rdoc-sources/FXFileList.rb +25 -25
  67. data/rdoc-sources/FXFileSelector.rb +31 -31
  68. data/rdoc-sources/FXFileStream.rb +3 -3
  69. data/rdoc-sources/FXFoldingList.rb +76 -76
  70. data/rdoc-sources/FXFont.rb +133 -133
  71. data/rdoc-sources/FXFontDialog.rb +1 -1
  72. data/rdoc-sources/FXFontSelector.rb +14 -14
  73. data/rdoc-sources/FXFrame.rb +5 -5
  74. data/rdoc-sources/FXGIFCursor.rb +6 -6
  75. data/rdoc-sources/FXGIFIcon.rb +6 -6
  76. data/rdoc-sources/FXGIFImage.rb +5 -5
  77. data/rdoc-sources/FXGLContext.rb +1 -1
  78. data/rdoc-sources/FXGLObject.rb +8 -8
  79. data/rdoc-sources/FXGLShape.rb +23 -23
  80. data/rdoc-sources/FXGLViewer.rb +51 -51
  81. data/rdoc-sources/FXGLVisual.rb +1 -0
  82. data/rdoc-sources/FXGradientBar.rb +31 -31
  83. data/rdoc-sources/FXGroupBox.rb +6 -6
  84. data/rdoc-sources/FXHeader.rb +30 -33
  85. data/rdoc-sources/FXHorizontalFrame.rb +12 -12
  86. data/rdoc-sources/FXICOIcon.rb +14 -14
  87. data/rdoc-sources/FXICOImage.rb +5 -5
  88. data/rdoc-sources/FXIcon.rb +7 -7
  89. data/rdoc-sources/FXIconDict.rb +1 -0
  90. data/rdoc-sources/FXIconList.rb +60 -60
  91. data/rdoc-sources/FXId.rb +1 -1
  92. data/rdoc-sources/FXImage.rb +49 -49
  93. data/rdoc-sources/FXImageFrame.rb +12 -12
  94. data/rdoc-sources/FXImageView.rb +10 -10
  95. data/rdoc-sources/FXInputDialog.rb +4 -4
  96. data/rdoc-sources/FXJPGIcon.rb +13 -13
  97. data/rdoc-sources/FXJPGImage.rb +5 -5
  98. data/rdoc-sources/FXKnob.rb +12 -12
  99. data/rdoc-sources/FXLabel.rb +3 -3
  100. data/rdoc-sources/FXList.rb +31 -31
  101. data/rdoc-sources/FXListBox.rb +7 -7
  102. data/rdoc-sources/FXMDIChild.rb +24 -24
  103. data/rdoc-sources/FXMDIClient.rb +1 -1
  104. data/rdoc-sources/FXMatrix.rb +2 -2
  105. data/rdoc-sources/FXMemoryBuffer.rb +1 -1
  106. data/rdoc-sources/FXMemoryStream.rb +1 -1
  107. data/rdoc-sources/FXMenuButton.rb +20 -19
  108. data/rdoc-sources/FXMenuCaption.rb +9 -9
  109. data/rdoc-sources/FXMenuCascade.rb +1 -1
  110. data/rdoc-sources/FXMenuCheck.rb +2 -2
  111. data/rdoc-sources/FXMenuCommand.rb +1 -1
  112. data/rdoc-sources/FXMenuRadio.rb +2 -2
  113. data/rdoc-sources/FXMenuSeparator.rb +2 -2
  114. data/rdoc-sources/FXMenuTitle.rb +5 -5
  115. data/rdoc-sources/FXMessageBox.rb +16 -16
  116. data/rdoc-sources/FXOptionMenu.rb +14 -14
  117. data/rdoc-sources/FXPCXIcon.rb +12 -12
  118. data/rdoc-sources/FXPCXImage.rb +5 -5
  119. data/rdoc-sources/FXPNGIcon.rb +12 -12
  120. data/rdoc-sources/FXPNGImage.rb +5 -5
  121. data/rdoc-sources/FXPPMIcon.rb +6 -6
  122. data/rdoc-sources/FXPPMImage.rb +5 -5
  123. data/rdoc-sources/FXPacker.rb +4 -4
  124. data/rdoc-sources/FXPopup.rb +5 -5
  125. data/rdoc-sources/FXPrintDialog.rb +21 -21
  126. data/rdoc-sources/FXProgressBar.rb +10 -10
  127. data/rdoc-sources/FXProgressDialog.rb +3 -3
  128. data/rdoc-sources/FXQuatd.rb +19 -19
  129. data/rdoc-sources/FXQuatf.rb +23 -23
  130. data/rdoc-sources/FXRGBIcon.rb +13 -13
  131. data/rdoc-sources/FXRGBImage.rb +5 -5
  132. data/rdoc-sources/FXRadioButton.rb +10 -10
  133. data/rdoc-sources/FXRanged.rb +2 -2
  134. data/rdoc-sources/FXRangef.rb +2 -2
  135. data/rdoc-sources/FXRealSlider.rb +33 -33
  136. data/rdoc-sources/FXRealSpinner.rb +31 -31
  137. data/rdoc-sources/FXRecentFiles.rb +14 -14
  138. data/rdoc-sources/FXRectangle.rb +22 -22
  139. data/rdoc-sources/FXRegistry.rb +3 -3
  140. data/rdoc-sources/FXReplaceDialog.rb +20 -20
  141. data/rdoc-sources/FXRootWindow.rb +2 -2
  142. data/rdoc-sources/FXRuler.rb +28 -28
  143. data/rdoc-sources/FXRulerView.rb +5 -5
  144. data/rdoc-sources/FXScrollArea.rb +27 -27
  145. data/rdoc-sources/FXScrollBar.rb +26 -26
  146. data/rdoc-sources/FXScrollPane.rb +3 -3
  147. data/rdoc-sources/FXScrollWindow.rb +6 -6
  148. data/rdoc-sources/FXSearchDialog.rb +8 -8
  149. data/rdoc-sources/FXSeparator.rb +24 -24
  150. data/rdoc-sources/FXSettings.rb +44 -44
  151. data/rdoc-sources/FXShutter.rb +35 -35
  152. data/rdoc-sources/FXSize.rb +14 -14
  153. data/rdoc-sources/FXSlider.rb +33 -33
  154. data/rdoc-sources/FXSphered.rb +2 -2
  155. data/rdoc-sources/FXSpheref.rb +2 -2
  156. data/rdoc-sources/FXSpinner.rb +30 -30
  157. data/rdoc-sources/FXSplashWindow.rb +5 -5
  158. data/rdoc-sources/FXSplitter.rb +18 -18
  159. data/rdoc-sources/FXSpring.rb +15 -15
  160. data/rdoc-sources/FXStatusBar.rb +14 -14
  161. data/rdoc-sources/FXStatusLine.rb +7 -7
  162. data/rdoc-sources/FXStream.rb +20 -20
  163. data/rdoc-sources/FXSwitcher.rb +23 -23
  164. data/rdoc-sources/FXTGAIcon.rb +12 -12
  165. data/rdoc-sources/FXTGAImage.rb +5 -5
  166. data/rdoc-sources/FXTIFIcon.rb +13 -13
  167. data/rdoc-sources/FXTIFImage.rb +5 -5
  168. data/rdoc-sources/FXTabBar.rb +31 -31
  169. data/rdoc-sources/FXTabBook.rb +13 -13
  170. data/rdoc-sources/FXTabItem.rb +22 -22
  171. data/rdoc-sources/FXTable.rb +148 -148
  172. data/rdoc-sources/FXText.rb +91 -91
  173. data/rdoc-sources/FXTextField.rb +39 -39
  174. data/rdoc-sources/FXToggleButton.rb +32 -32
  175. data/rdoc-sources/FXToolBar.rb +25 -25
  176. data/rdoc-sources/FXToolBarGrip.rb +12 -12
  177. data/rdoc-sources/FXToolBarShell.rb +13 -13
  178. data/rdoc-sources/FXToolBarTab.rb +16 -16
  179. data/rdoc-sources/FXTopWindow.rb +18 -18
  180. data/rdoc-sources/FXTranslator.rb +1 -1
  181. data/rdoc-sources/FXTreeList.rb +66 -66
  182. data/rdoc-sources/FXTreeListBox.rb +20 -20
  183. data/rdoc-sources/FXTriStateButton.rb +23 -23
  184. data/rdoc-sources/FXVec2d.rb +1 -1
  185. data/rdoc-sources/FXVec2f.rb +1 -1
  186. data/rdoc-sources/FXVec3d.rb +1 -1
  187. data/rdoc-sources/FXVec3f.rb +1 -1
  188. data/rdoc-sources/FXVec4d.rb +1 -1
  189. data/rdoc-sources/FXVec4f.rb +1 -1
  190. data/rdoc-sources/FXVerticalFrame.rb +12 -12
  191. data/rdoc-sources/FXVisual.rb +19 -19
  192. data/rdoc-sources/FXWindow.rb +96 -96
  193. data/rdoc-sources/FXWizard.rb +9 -9
  194. data/rdoc-sources/FXXBMIcon.rb +7 -7
  195. data/rdoc-sources/FXXBMImage.rb +6 -6
  196. data/rdoc-sources/FXXPMIcon.rb +13 -13
  197. data/rdoc-sources/FXXPMImage.rb +5 -5
  198. data/rdoc-sources/Makefile +3 -3
  199. metadata +44 -31
  200. data/README +0 -39
  201. data/README.txt +0 -483
@@ -9,12 +9,12 @@ module Fox
9
9
  #
10
10
  # The following messages are sent by FXSlider to its target:
11
11
  #
12
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
13
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
14
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
15
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
16
- # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
17
- # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
12
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
13
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
14
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
15
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
16
+ # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
17
+ # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
18
18
  # +SEL_COMMAND+::
19
19
  # sent at the end of a slider move; the message data is the new position of the slider (an Integer).
20
20
  # +SEL_CHANGED+::
@@ -23,23 +23,23 @@ module Fox
23
23
  #
24
24
  # === Slider control styles
25
25
  #
26
- # +SLIDER_HORIZONTAL+:: Slider shown horizontally
27
- # +SLIDER_VERTICAL+:: Slider shown vertically
28
- # +SLIDER_ARROW_UP+:: Slider has arrow head pointing up
29
- # +SLIDER_ARROW_DOWN+:: Slider has arrow head pointing down
30
- # +SLIDER_ARROW_LEFT+:: Slider has arrow head pointing left
31
- # +SLIDER_ARROW_RIGHT+:: Slider has arrow head pointing right
32
- # +SLIDER_INSIDE_BAR+:: Slider is inside the slot rather than overhanging
33
- # +SLIDER_TICKS_TOP+:: Ticks on the top of horizontal slider
34
- # +SLIDER_TICKS_BOTTOM+:: Ticks on the bottom of horizontal slider
35
- # +SLIDER_TICKS_LEFT+:: Ticks on the left of vertical slider
36
- # +SLIDER_TICKS_RIGHT+:: Ticks on the right of vertical slider
37
- # +SLIDER_NORMAL+:: same as <tt>SLIDER_HORIZONTAL</tt>
26
+ # +SLIDER_HORIZONTAL+:: Slider shown horizontally
27
+ # +SLIDER_VERTICAL+:: Slider shown vertically
28
+ # +SLIDER_ARROW_UP+:: Slider has arrow head pointing up
29
+ # +SLIDER_ARROW_DOWN+:: Slider has arrow head pointing down
30
+ # +SLIDER_ARROW_LEFT+:: Slider has arrow head pointing left
31
+ # +SLIDER_ARROW_RIGHT+:: Slider has arrow head pointing right
32
+ # +SLIDER_INSIDE_BAR+:: Slider is inside the slot rather than overhanging
33
+ # +SLIDER_TICKS_TOP+:: Ticks on the top of horizontal slider
34
+ # +SLIDER_TICKS_BOTTOM+:: Ticks on the bottom of horizontal slider
35
+ # +SLIDER_TICKS_LEFT+:: Ticks on the left of vertical slider
36
+ # +SLIDER_TICKS_RIGHT+:: Ticks on the right of vertical slider
37
+ # +SLIDER_NORMAL+:: same as <tt>SLIDER_HORIZONTAL</tt>
38
38
  #
39
39
  # === Message identifiers
40
40
  #
41
- # +ID_AUTOINC+:: x
42
- # +ID_AUTODEC+:: x
41
+ # +ID_AUTOINC+:: x
42
+ # +ID_AUTODEC+:: x
43
43
  #
44
44
  class FXSlider < FXFrame
45
45
 
@@ -64,7 +64,7 @@ module Fox
64
64
  # Delta between ticks [Integer]
65
65
  attr_accessor :tickDelta
66
66
 
67
- # Color of the slot that the slider head moves in [FXColor]
67
+ # Color of the slot that the slider head moves in {FXColor}
68
68
  attr_accessor :slotColor
69
69
 
70
70
  # Status line help text for this slider [String]
@@ -78,18 +78,18 @@ module Fox
78
78
  #
79
79
  # ==== Parameters:
80
80
  #
81
- # +p+:: the parent window for this slider [FXComposite]
82
- # +target+:: the message target, if any, for this slider [FXObject]
83
- # +selector+:: the message identifier for this slider [Integer]
84
- # +opts+:: slider options [Integer]
85
- # +x+:: initial x-position, when the +LAYOUT_FIX_X+ layout hint is in effect [Integer]
86
- # +y+:: initial y-position, when the +LAYOUT_FIX_Y+ layout hint is in effect [Integer]
87
- # +width+:: initial width, when the +LAYOUT_FIX_WIDTH+ layout hint is in effect [Integer]
88
- # +height+:: initial height, when the +LAYOUT_FIX_HEIGHT+ layout hint is in effect [Integer]
89
- # +padLeft+:: internal padding on the left side, in pixels [Integer]
90
- # +padRight+:: internal padding on the right side, in pixels [Integer]
91
- # +padTop+:: internal padding on the top side, in pixels [Integer]
92
- # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
81
+ # +p+:: the parent window for this slider {FXComposite}
82
+ # +target+:: the message target, if any, for this slider {FXObject}
83
+ # +selector+:: the message identifier for this slider [Integer]
84
+ # +opts+:: slider options [Integer]
85
+ # +x+:: initial x-position, when the +LAYOUT_FIX_X+ layout hint is in effect [Integer]
86
+ # +y+:: initial y-position, when the +LAYOUT_FIX_Y+ layout hint is in effect [Integer]
87
+ # +width+:: initial width, when the +LAYOUT_FIX_WIDTH+ layout hint is in effect [Integer]
88
+ # +height+:: initial height, when the +LAYOUT_FIX_HEIGHT+ layout hint is in effect [Integer]
89
+ # +padLeft+:: internal padding on the left side, in pixels [Integer]
90
+ # +padRight+:: internal padding on the right side, in pixels [Integer]
91
+ # +padTop+:: internal padding on the top side, in pixels [Integer]
92
+ # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
93
93
  #
94
94
  def initialize(p, target=nil, selector=0, opts=SLIDER_NORMAL, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0) # :yields: theSlider
95
95
  end
@@ -3,7 +3,7 @@ module Fox
3
3
  # Spherical bounds
4
4
  #
5
5
  class FXSphered
6
- # Sphere center [FXVec3d]
6
+ # Sphere center {FXVec3d}
7
7
  attr_accessor :center
8
8
 
9
9
  # Sphere radius [Float]
@@ -55,7 +55,7 @@ module Fox
55
55
  def include!(box); end
56
56
 
57
57
  # Expand radius to include box (an FXRanged instance) and return a reference to self.
58
- def includeInRadius!(box);
58
+ def includeInRadius!(box); end
59
59
 
60
60
  # Include the sphere _sphere_ (an FXSphered instance) into this sphere and return self.
61
61
  def include!(sphere); end
@@ -3,7 +3,7 @@ module Fox
3
3
  # Spherical bounds
4
4
  #
5
5
  class FXSpheref
6
- # Sphere center [FXVec3f]
6
+ # Sphere center {FXVec3f}
7
7
  attr_accessor :center
8
8
 
9
9
  # Sphere radius [Float]
@@ -55,7 +55,7 @@ module Fox
55
55
  def include!(box); end
56
56
 
57
57
  # Expand radius to include box (an FXRangef instance) and return a reference to self.
58
- def includeInRadius!(box);
58
+ def includeInRadius!(box); end
59
59
 
60
60
  # Include the sphere _sphere_ (an FXSpheref instance) into this sphere and return self.
61
61
  def include!(sphere); end
@@ -6,8 +6,8 @@ module Fox
6
6
  #
7
7
  # The following messages are sent by FXSpinner to its target:
8
8
  #
9
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
10
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
9
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
10
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
11
11
  # +SEL_COMMAND+::
12
12
  # sent whenever the spinner's value changes; the message data is an integer
13
13
  # indicating the new spinner value.
@@ -17,17 +17,17 @@ module Fox
17
17
  #
18
18
  # === Spinner options
19
19
  #
20
- # +SPIN_NORMAL+:: Normal, non-cyclic
21
- # +SPIN_CYCLIC+:: Cyclic spinner
22
- # +SPIN_NOTEXT+:: No text visible
23
- # +SPIN_NOMAX+:: Spin all the way up to infinity
24
- # +SPIN_NOMIN+:: Spin all the way down to -infinity
20
+ # +SPIN_NORMAL+:: Normal, non-cyclic
21
+ # +SPIN_CYCLIC+:: Cyclic spinner
22
+ # +SPIN_NOTEXT+:: No text visible
23
+ # +SPIN_NOMAX+:: Spin all the way up to infinity
24
+ # +SPIN_NOMIN+:: Spin all the way down to -infinity
25
25
  #
26
26
  # === Message identifiers
27
27
  #
28
- # +ID_INCREMENT+:: x
29
- # +ID_DECREMENT+:: x
30
- # +ID_ENTRY+:: x
28
+ # +ID_INCREMENT+:: x
29
+ # +ID_DECREMENT+:: x
30
+ # +ID_ENTRY+:: x
31
31
  #
32
32
  class FXSpinner < FXPacker
33
33
  # Current value [Integer]
@@ -36,7 +36,7 @@ module Fox
36
36
  # Spinner range (low and high values) [Range]
37
37
  attr_accessor :range
38
38
 
39
- # Text font for this spinner [FXFont]
39
+ # Text font for this spinner {FXFont}
40
40
  attr_accessor :font
41
41
 
42
42
  # Status line help text for this spinner [String]
@@ -48,22 +48,22 @@ module Fox
48
48
  # Spinner style [Integer]
49
49
  attr_accessor :spinnerStyle
50
50
 
51
- # Color of the "up" arrow [FXColor]
51
+ # Color of the "up" arrow {FXColor}
52
52
  attr_accessor :upArrowColor
53
53
 
54
- # Color of the "down" arrow [FXColor]
54
+ # Color of the "down" arrow {FXColor}
55
55
  attr_accessor :downArrowColor
56
56
 
57
- # Normal text color [FXColor]
57
+ # Normal text color {FXColor}
58
58
  attr_accessor :textColor
59
59
 
60
- # Background color for selected text [FXColor]
60
+ # Background color for selected text {FXColor}
61
61
  attr_accessor :selBackColor
62
62
 
63
- # Foreground color for selected text [FXColor]
63
+ # Foreground color for selected text {FXColor}
64
64
  attr_accessor :selTextColor
65
65
 
66
- # Cursor color [FXColor]
66
+ # Cursor color {FXColor}
67
67
  attr_accessor :cursorColor
68
68
 
69
69
  # Number of columns (i.e. width of spinner's text field, in terms of number of columns of 'm') [Integer]
@@ -74,19 +74,19 @@ module Fox
74
74
  #
75
75
  # ==== Parameters:
76
76
  #
77
- # +p+:: the parent window for this spinner [FXComposite]
78
- # +cols+:: number of columns to display in the text field [Integer]
79
- # +target+:: the message target, if any, for this spinner [FXObject]
80
- # +selector+:: the message identifier for this spinner [Integer]
81
- # +opts+:: the options [Integer]
82
- # +x+:: initial x-position [Integer]
83
- # +y+:: initial y-position [Integer]
84
- # +width+:: initial width [Integer]
85
- # +height+:: initial height [Integer]
86
- # +padLeft+:: internal padding on the left side, in pixels [Integer]
87
- # +padRight+:: internal padding on the right side, in pixels [Integer]
88
- # +padTop+:: internal padding on the top side, in pixels [Integer]
89
- # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
77
+ # +p+:: the parent window for this spinner {FXComposite}
78
+ # +cols+:: number of columns to display in the text field [Integer]
79
+ # +target+:: the message target, if any, for this spinner {FXObject}
80
+ # +selector+:: the message identifier for this spinner [Integer]
81
+ # +opts+:: the options [Integer]
82
+ # +x+:: initial x-position [Integer]
83
+ # +y+:: initial y-position [Integer]
84
+ # +width+:: initial width [Integer]
85
+ # +height+:: initial height [Integer]
86
+ # +padLeft+:: internal padding on the left side, in pixels [Integer]
87
+ # +padRight+:: internal padding on the right side, in pixels [Integer]
88
+ # +padTop+:: internal padding on the top side, in pixels [Integer]
89
+ # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
90
90
  #
91
91
  def initialize(p, cols, target=nil, selector=0, opts=SPIN_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theSpinner
92
92
  end
@@ -7,13 +7,13 @@ module Fox
7
7
  #
8
8
  # === Splash window options
9
9
  #
10
- # +SPLASH_SIMPLE+:: Simple rectangular splash window
11
- # +SPLASH_SHAPED+:: Shaped splash window
12
- # +SPLASH_OWNS_ICON+:: Splash window will own the icon and destroy it
13
- # +SPLASH_DESTROY+:: Splash window will destroy itself when timer expires
10
+ # +SPLASH_SIMPLE+:: Simple rectangular splash window
11
+ # +SPLASH_SHAPED+:: Shaped splash window
12
+ # +SPLASH_OWNS_ICON+:: Splash window will own the icon and destroy it
13
+ # +SPLASH_DESTROY+:: Splash window will destroy itself when timer expires
14
14
  #
15
15
  class FXSplashWindow < FXTopWindow
16
- # The splash window's icon [FXIcon]
16
+ # The splash window's icon {FXIcon}
17
17
  attr_accessor :icon
18
18
 
19
19
  # The delay before hiding the splash window, in milliseconds [Integer]
@@ -20,10 +20,10 @@ module Fox
20
20
  #
21
21
  # The following messages are sent by FXSplitter to its target:
22
22
  #
23
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
24
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
25
- # +SEL_COMMAND+:: sent at the end of a resize operation, to signal that the resize is complete
26
- # +SEL_CHANGED+:: sent continuously while a resize operation is occurring
23
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
24
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
25
+ # +SEL_COMMAND+:: sent at the end of a resize operation, to signal that the resize is complete
26
+ # +SEL_CHANGED+:: sent continuously while a resize operation is occurring
27
27
  #
28
28
  # === Splitter options
29
29
  #
@@ -46,12 +46,12 @@ module Fox
46
46
  #
47
47
  # ==== Parameters:
48
48
  #
49
- # +p+:: the parent widget for this splitter [FXComposite]
50
- # +opts+:: the options [Integer]
51
- # +x+:: initial x-position [Integer]
52
- # +y+:: initial y-position [Integer]
53
- # +width+:: initial width [Integer]
54
- # +height+:: initial height [Integer]
49
+ # +p+:: the parent widget for this splitter {FXComposite}
50
+ # +opts+:: the options [Integer]
51
+ # +x+:: initial x-position [Integer]
52
+ # +y+:: initial y-position [Integer]
53
+ # +width+:: initial width [Integer]
54
+ # +height+:: initial height [Integer]
55
55
  #
56
56
  def initialize(p, opts=SPLITTER_NORMAL, x=0, y=0, width=0, height=0) # :yields: theSplitter
57
57
  end
@@ -61,14 +61,14 @@ module Fox
61
61
  #
62
62
  # ==== Parameters:
63
63
  #
64
- # +p+:: the parent widget for this splitter [FXComposite]
65
- # +target+:: the message target for this splitter [FXObject]
66
- # +selector+:: the message identifier for this splitter [Integer]
67
- # +opts+:: the options [Integer]
68
- # +x+:: initial x-position [Integer]
69
- # +y+:: initial y-position [Integer]
70
- # +width+:: initial width [Integer]
71
- # +height+:: initial height [Integer]
64
+ # +p+:: the parent widget for this splitter {FXComposite}
65
+ # +target+:: the message target for this splitter {FXObject}
66
+ # +selector+:: the message identifier for this splitter [Integer]
67
+ # +opts+:: the options [Integer]
68
+ # +x+:: initial x-position [Integer]
69
+ # +y+:: initial y-position [Integer]
70
+ # +width+:: initial width [Integer]
71
+ # +height+:: initial height [Integer]
72
72
  #
73
73
  def initialize(p, tgt, sel, opts=SPLITTER_NORMAL, x=0, y=0, width=0, height=0) # :yields: theSplitter
74
74
  end
@@ -6,7 +6,7 @@ module Fox
6
6
  #
7
7
  # The third and fourth arguments to the FXSpring.new method (+relw+ and +relh+)
8
8
  # determine the "length" of the spring. You can also change these settings after
9
- # the widget is constructed using the FXSpring#relativeWidth and FXSpring#relativeHeight
9
+ # the widget is constructed using the {FXSpring#relativeWidth} and {FXSpring#relativeHeight}
10
10
  # accessor methods.
11
11
  # The actual length that you specify is not really
12
12
  # important; the only thing that counts is the relative length of one
@@ -39,20 +39,20 @@ module Fox
39
39
  #
40
40
  # ==== Parameters:
41
41
  #
42
- # +p+:: the parent widget for this spring [FXComposite]
43
- # +relw+:: the relative width [Integer]
44
- # +relh+:: the relative height [Integer]
45
- # +opts+:: the options [Integer]
46
- # +x+:: initial x-position [Integer]
47
- # +y+:: initial y-position [Integer]
48
- # +width+:: initial width [Integer]
49
- # +height+:: initial height [Integer]
50
- # +padLeft+:: left-side padding (in pixels) [Integer]
51
- # +padRight+:: right-side padding (in pixels) [Integer]
52
- # +padTop+:: top-side padding (in pixels) [Integer]
53
- # +padBottom+:: bottom-side padding (in pixels) [Integer]
54
- # +hSpacing+:: horizontal spacing (in pixels) [Integer]
55
- # +vSpacing+:: vertical spacing (in pixels) [Integer]
42
+ # +p+:: the parent widget for this spring {FXComposite}
43
+ # +relw+:: the relative width [Integer]
44
+ # +relh+:: the relative height [Integer]
45
+ # +opts+:: the options [Integer]
46
+ # +x+:: initial x-position [Integer]
47
+ # +y+:: initial y-position [Integer]
48
+ # +width+:: initial width [Integer]
49
+ # +height+:: initial height [Integer]
50
+ # +padLeft+:: left-side padding (in pixels) [Integer]
51
+ # +padRight+:: right-side padding (in pixels) [Integer]
52
+ # +padTop+:: top-side padding (in pixels) [Integer]
53
+ # +padBottom+:: bottom-side padding (in pixels) [Integer]
54
+ # +hSpacing+:: horizontal spacing (in pixels) [Integer]
55
+ # +vSpacing+:: vertical spacing (in pixels) [Integer]
56
56
  #
57
57
  def initialize(p, opts=0, relw=0, relh=0, x=0, y=0, width=0, height=0, padLeft=DEFAULT_SPACING, padRight=DEFAULT_SPACING, padTop=DEFAULT_SPACING, padBottom=DEFAULT_SPACING, hSpacing=DEFAULT_SPACING, vSpacing=DEFAULT_SPACING) # :yields: theSpring
58
58
  end
@@ -8,10 +8,10 @@ module Fox
8
8
  #
9
9
  class FXStatusBar < FXHorizontalFrame
10
10
 
11
- # The status line widget [FXStatusLine]
11
+ # The status line widget {FXStatusLine}
12
12
  attr_reader :statusLine
13
13
 
14
- # The drag corner widget [FXDragCorner]
14
+ # The drag corner widget {FXDragCorner}
15
15
  attr_reader :dragCorner
16
16
 
17
17
  # If +true+, the drag corner is shown [Boolean]
@@ -22,18 +22,18 @@ module Fox
22
22
  #
23
23
  # ==== Parameters:
24
24
  #
25
- # +p+:: the parent window for this status bar [FXComposite]
26
- # +opts+:: status bar options [Integer]
27
- # +x+:: initial x-position [Integer]
28
- # +y+:: initial y-position [Integer]
29
- # +width+:: initial width [Integer]
30
- # +height+:: initial height [Integer]
31
- # +padLeft+:: internal padding on the left side, in pixels [Integer]
32
- # +padRight+:: internal padding on the right side, in pixels [Integer]
33
- # +padTop+:: internal padding on the top side, in pixels [Integer]
34
- # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
35
- # +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
36
- # +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
25
+ # +p+:: the parent window for this status bar {FXComposite}
26
+ # +opts+:: status bar options [Integer]
27
+ # +x+:: initial x-position [Integer]
28
+ # +y+:: initial y-position [Integer]
29
+ # +width+:: initial width [Integer]
30
+ # +height+:: initial height [Integer]
31
+ # +padLeft+:: internal padding on the left side, in pixels [Integer]
32
+ # +padRight+:: internal padding on the right side, in pixels [Integer]
33
+ # +padTop+:: internal padding on the top side, in pixels [Integer]
34
+ # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
35
+ # +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
36
+ # +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
37
37
  #
38
38
  def initialize(p, opts=0, x=0, y=0, width=0, height=0, padLeft=3, padRight=3, padTop=2, padBottom=2, hSpacing=4, vSpacing=0) # :yields: theStatusBar
39
39
  end
@@ -8,7 +8,7 @@ module Fox
8
8
  # If this query does not result in a new status string, the target of
9
9
  # the status line is tried via an ordinary +SEL_UPDATE+ message.
10
10
  # If _none_ of the above work, the status line will display the normal text
11
- # (i.e. the string set via the #normalText= accessor method).
11
+ # (i.e. the string set via the {#normalText}= accessor method).
12
12
  # If the message contains a newline character, then the part before the newline
13
13
  # will be displayed in the highlight color, while the part after the newline
14
14
  # will be shown using the normal text color.
@@ -30,13 +30,13 @@ module Fox
30
30
  # Permanent status message [String]
31
31
  attr_accessor :normalText
32
32
 
33
- # Text font [FXFont]
33
+ # Text font {FXFont}
34
34
  attr_accessor :font
35
35
 
36
- # Text color [FXColor]
36
+ # Text color {FXColor}
37
37
  attr_accessor :textColor
38
38
 
39
- # Highlight text color [FXColor]
39
+ # Highlight text color {FXColor}
40
40
  attr_accessor :textHighlightColor
41
41
 
42
42
  #
@@ -44,9 +44,9 @@ module Fox
44
44
  #
45
45
  # ==== Parameters:
46
46
  #
47
- # +p+:: the parent window for this shutter [FXComposite]
48
- # +target+:: the message target, if any, for this shutter [FXObject]
49
- # +selector+:: the message identifier for this shutter [Integer]
47
+ # +p+:: the parent window for this shutter {FXComposite}
48
+ # +target+:: the message target, if any, for this shutter {FXObject}
49
+ # +selector+:: the message identifier for this shutter [Integer]
50
50
  #
51
51
  def initialize(p, target=nil, selector=0) # :yields: theStatusLine
52
52
  end
@@ -22,27 +22,27 @@ module Fox
22
22
  #
23
23
  # === Stream status codes
24
24
  #
25
- # +FXStreamOK+:: OK
26
- # +FXStreamEnd+:: Try read past end of stream
27
- # +FXStreamFull+:: Filled up stream buffer or disk full
28
- # +FXStreamNoWrite+:: Unable to open for write
29
- # +FXStreamNoRead+:: Unable to open for read
30
- # +FXStreamFormat+:: Stream format error
31
- # +FXStreamUnknown+:: Trying to read unknown class
32
- # +FXStreamAlloc+:: Alloc failed
33
- # +FXStreamFailure+:: General failure
25
+ # +FXStreamOK+:: OK
26
+ # +FXStreamEnd+:: Try read past end of stream
27
+ # +FXStreamFull+:: Filled up stream buffer or disk full
28
+ # +FXStreamNoWrite+:: Unable to open for write
29
+ # +FXStreamNoRead+:: Unable to open for read
30
+ # +FXStreamFormat+:: Stream format error
31
+ # +FXStreamUnknown+:: Trying to read unknown class
32
+ # +FXStreamAlloc+:: Alloc failed
33
+ # +FXStreamFailure+:: General failure
34
34
  #
35
35
  # === Stream data flow direction
36
36
  #
37
- # +FXStreamDead+:: Unopened stream
38
- # +FXStreamSave+:: Saving stuff to stream
39
- # +FXStreamLoad+:: Loading stuff from stream
37
+ # +FXStreamDead+:: Unopened stream
38
+ # +FXStreamSave+:: Saving stuff to stream
39
+ # +FXStreamLoad+:: Loading stuff from stream
40
40
  #
41
41
  # === Stream seeking
42
42
  #
43
- # +FXFromStart+:: Seek from start position
44
- # +FXFromCurrent+:: Seek from current position
45
- # +FXFromEnd+:: Seek from end position
43
+ # +FXFromStart+:: Seek from start position
44
+ # +FXFromCurrent+:: Seek from current position
45
+ # +FXFromEnd+:: Seek from end position
46
46
  #
47
47
  class FXStream
48
48
 
@@ -52,7 +52,7 @@ module Fox
52
52
  # Stream direction, one of +FXStreamSave+, +FXStreamLoad+ or +FXStreamDead+.
53
53
  attr_reader :direction
54
54
 
55
- # Parent object [FXObject]
55
+ # Parent object {FXObject}
56
56
  attr_reader :container
57
57
 
58
58
  # Available buffer space
@@ -69,7 +69,7 @@ module Fox
69
69
  #
70
70
  # ==== Parameters:
71
71
  #
72
- # +cont+:: the container object, or +nil+ if there is none [FXObject].
72
+ # +cont+:: the container object, or +nil+ if there is none {FXObject}.
73
73
  #
74
74
  def initialize(cont=nil) # :yields: theStream
75
75
  end
@@ -83,9 +83,9 @@ module Fox
83
83
  #
84
84
  # ==== Parameters:
85
85
  #
86
- # +save_or_load+:: access mode, either +FXStreamSave+ or +FXStreamLoad+ [Integer]
87
- # +size+:: initial buffer size [Integer]
88
- # +data+:: external data buffer (if any) [String]
86
+ # +save_or_load+:: access mode, either +FXStreamSave+ or +FXStreamLoad+ [Integer]
87
+ # +size+:: initial buffer size [Integer]
88
+ # +data+:: external data buffer (if any) [String]
89
89
  #
90
90
  def open(save_or_load, size=8192, data=nil); end
91
91