fxruby 1.6.22-x86-mingw32 → 1.6.23-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) 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/1.8/fox16.so +0 -0
  17. data/lib/1.9/fox16.so +0 -0
  18. data/lib/fox16/canvas.rb +606 -0
  19. data/lib/fox16/irb.rb +1 -0
  20. data/lib/fox16/splashscreen.rb +1 -0
  21. data/lib/fox16/tkcompat.rb +56 -0
  22. data/lib/fox16/version.rb +1 -1
  23. data/rdoc-sources/FX4Splitter.rb +44 -44
  24. data/rdoc-sources/FX7Segment.rb +3 -3
  25. data/rdoc-sources/FXAccelTable.rb +1 -1
  26. data/rdoc-sources/FXApp.rb +51 -51
  27. data/rdoc-sources/FXArrowButton.rb +6 -6
  28. data/rdoc-sources/FXBMPIcon.rb +12 -12
  29. data/rdoc-sources/FXBMPImage.rb +6 -6
  30. data/rdoc-sources/FXBitmap.rb +9 -9
  31. data/rdoc-sources/FXBitmapFrame.rb +3 -3
  32. data/rdoc-sources/FXBitmapView.rb +12 -12
  33. data/rdoc-sources/FXButton.rb +5 -5
  34. data/rdoc-sources/FXCanvas.rb +4 -4
  35. data/rdoc-sources/FXCheckButton.rb +7 -7
  36. data/rdoc-sources/FXChoiceBox.rb +16 -16
  37. data/rdoc-sources/FXColorBar.rb +9 -9
  38. data/rdoc-sources/FXColorDialog.rb +4 -4
  39. data/rdoc-sources/FXColorList.rb +1 -1
  40. data/rdoc-sources/FXColorRing.rb +4 -4
  41. data/rdoc-sources/FXColorSelector.rb +38 -38
  42. data/rdoc-sources/FXColorWell.rb +15 -15
  43. data/rdoc-sources/FXColorWheel.rb +8 -8
  44. data/rdoc-sources/FXComboBox.rb +24 -24
  45. data/rdoc-sources/FXCursor.rb +12 -12
  46. data/rdoc-sources/FXDC.rb +176 -176
  47. data/rdoc-sources/FXDCPrint.rb +20 -20
  48. data/rdoc-sources/FXDCWindow.rb +2 -2
  49. data/rdoc-sources/FXDataTarget.rb +1 -1
  50. data/rdoc-sources/FXDebugTarget.rb +1 -1
  51. data/rdoc-sources/FXDelegator.rb +2 -2
  52. data/rdoc-sources/FXDial.rb +9 -9
  53. data/rdoc-sources/FXDialogBox.rb +3 -3
  54. data/rdoc-sources/FXDict.rb +2 -3
  55. data/rdoc-sources/FXDirBox.rb +2 -2
  56. data/rdoc-sources/FXDirList.rb +14 -14
  57. data/rdoc-sources/FXDirSelector.rb +14 -14
  58. data/rdoc-sources/FXDockBar.rb +35 -35
  59. data/rdoc-sources/FXDockHandler.rb +2 -2
  60. data/rdoc-sources/FXDockSite.rb +11 -11
  61. data/rdoc-sources/FXDockTitle.rb +2 -2
  62. data/rdoc-sources/FXDocument.rb +2 -2
  63. data/rdoc-sources/FXDragCorner.rb +2 -2
  64. data/rdoc-sources/FXDrawable.rb +5 -5
  65. data/rdoc-sources/FXDriveBox.rb +3 -3
  66. data/rdoc-sources/FXFileDialog.rb +24 -24
  67. data/rdoc-sources/FXFileDict.rb +11 -11
  68. data/rdoc-sources/FXFileList.rb +25 -25
  69. data/rdoc-sources/FXFileSelector.rb +31 -31
  70. data/rdoc-sources/FXFileStream.rb +3 -3
  71. data/rdoc-sources/FXFoldingList.rb +76 -76
  72. data/rdoc-sources/FXFont.rb +133 -133
  73. data/rdoc-sources/FXFontDialog.rb +1 -1
  74. data/rdoc-sources/FXFontSelector.rb +14 -14
  75. data/rdoc-sources/FXFrame.rb +5 -5
  76. data/rdoc-sources/FXGIFCursor.rb +6 -6
  77. data/rdoc-sources/FXGIFIcon.rb +6 -6
  78. data/rdoc-sources/FXGIFImage.rb +5 -5
  79. data/rdoc-sources/FXGLContext.rb +1 -1
  80. data/rdoc-sources/FXGLObject.rb +8 -8
  81. data/rdoc-sources/FXGLShape.rb +23 -23
  82. data/rdoc-sources/FXGLViewer.rb +51 -51
  83. data/rdoc-sources/FXGLVisual.rb +1 -0
  84. data/rdoc-sources/FXGradientBar.rb +31 -31
  85. data/rdoc-sources/FXGroupBox.rb +6 -6
  86. data/rdoc-sources/FXHeader.rb +30 -33
  87. data/rdoc-sources/FXHorizontalFrame.rb +12 -12
  88. data/rdoc-sources/FXICOIcon.rb +14 -14
  89. data/rdoc-sources/FXICOImage.rb +5 -5
  90. data/rdoc-sources/FXIcon.rb +7 -7
  91. data/rdoc-sources/FXIconDict.rb +1 -0
  92. data/rdoc-sources/FXIconList.rb +60 -60
  93. data/rdoc-sources/FXId.rb +1 -1
  94. data/rdoc-sources/FXImage.rb +49 -49
  95. data/rdoc-sources/FXImageFrame.rb +12 -12
  96. data/rdoc-sources/FXImageView.rb +10 -10
  97. data/rdoc-sources/FXInputDialog.rb +4 -4
  98. data/rdoc-sources/FXJPGIcon.rb +13 -13
  99. data/rdoc-sources/FXJPGImage.rb +5 -5
  100. data/rdoc-sources/FXKnob.rb +12 -12
  101. data/rdoc-sources/FXLabel.rb +3 -3
  102. data/rdoc-sources/FXList.rb +31 -31
  103. data/rdoc-sources/FXListBox.rb +7 -7
  104. data/rdoc-sources/FXMDIChild.rb +24 -24
  105. data/rdoc-sources/FXMDIClient.rb +1 -1
  106. data/rdoc-sources/FXMatrix.rb +2 -2
  107. data/rdoc-sources/FXMemoryBuffer.rb +1 -1
  108. data/rdoc-sources/FXMemoryStream.rb +1 -1
  109. data/rdoc-sources/FXMenuButton.rb +20 -19
  110. data/rdoc-sources/FXMenuCaption.rb +9 -9
  111. data/rdoc-sources/FXMenuCascade.rb +1 -1
  112. data/rdoc-sources/FXMenuCheck.rb +2 -2
  113. data/rdoc-sources/FXMenuCommand.rb +1 -1
  114. data/rdoc-sources/FXMenuRadio.rb +2 -2
  115. data/rdoc-sources/FXMenuSeparator.rb +2 -2
  116. data/rdoc-sources/FXMenuTitle.rb +5 -5
  117. data/rdoc-sources/FXMessageBox.rb +16 -16
  118. data/rdoc-sources/FXOptionMenu.rb +14 -14
  119. data/rdoc-sources/FXPCXIcon.rb +12 -12
  120. data/rdoc-sources/FXPCXImage.rb +5 -5
  121. data/rdoc-sources/FXPNGIcon.rb +12 -12
  122. data/rdoc-sources/FXPNGImage.rb +5 -5
  123. data/rdoc-sources/FXPPMIcon.rb +6 -6
  124. data/rdoc-sources/FXPPMImage.rb +5 -5
  125. data/rdoc-sources/FXPacker.rb +4 -4
  126. data/rdoc-sources/FXPopup.rb +5 -5
  127. data/rdoc-sources/FXPrintDialog.rb +21 -21
  128. data/rdoc-sources/FXProgressBar.rb +10 -10
  129. data/rdoc-sources/FXProgressDialog.rb +3 -3
  130. data/rdoc-sources/FXQuatd.rb +19 -19
  131. data/rdoc-sources/FXQuatf.rb +23 -23
  132. data/rdoc-sources/FXRGBIcon.rb +13 -13
  133. data/rdoc-sources/FXRGBImage.rb +5 -5
  134. data/rdoc-sources/FXRadioButton.rb +10 -10
  135. data/rdoc-sources/FXRanged.rb +2 -2
  136. data/rdoc-sources/FXRangef.rb +2 -2
  137. data/rdoc-sources/FXRealSlider.rb +33 -33
  138. data/rdoc-sources/FXRealSpinner.rb +31 -31
  139. data/rdoc-sources/FXRecentFiles.rb +14 -14
  140. data/rdoc-sources/FXRectangle.rb +22 -22
  141. data/rdoc-sources/FXRegistry.rb +3 -3
  142. data/rdoc-sources/FXReplaceDialog.rb +20 -20
  143. data/rdoc-sources/FXRootWindow.rb +2 -2
  144. data/rdoc-sources/FXRuler.rb +28 -28
  145. data/rdoc-sources/FXRulerView.rb +5 -5
  146. data/rdoc-sources/FXScrollArea.rb +27 -27
  147. data/rdoc-sources/FXScrollBar.rb +26 -26
  148. data/rdoc-sources/FXScrollPane.rb +3 -3
  149. data/rdoc-sources/FXScrollWindow.rb +6 -6
  150. data/rdoc-sources/FXSearchDialog.rb +8 -8
  151. data/rdoc-sources/FXSeparator.rb +24 -24
  152. data/rdoc-sources/FXSettings.rb +44 -44
  153. data/rdoc-sources/FXShutter.rb +35 -35
  154. data/rdoc-sources/FXSize.rb +14 -14
  155. data/rdoc-sources/FXSlider.rb +33 -33
  156. data/rdoc-sources/FXSphered.rb +2 -2
  157. data/rdoc-sources/FXSpheref.rb +2 -2
  158. data/rdoc-sources/FXSpinner.rb +30 -30
  159. data/rdoc-sources/FXSplashWindow.rb +5 -5
  160. data/rdoc-sources/FXSplitter.rb +18 -18
  161. data/rdoc-sources/FXSpring.rb +15 -15
  162. data/rdoc-sources/FXStatusBar.rb +14 -14
  163. data/rdoc-sources/FXStatusLine.rb +7 -7
  164. data/rdoc-sources/FXStream.rb +20 -20
  165. data/rdoc-sources/FXSwitcher.rb +23 -23
  166. data/rdoc-sources/FXTGAIcon.rb +12 -12
  167. data/rdoc-sources/FXTGAImage.rb +5 -5
  168. data/rdoc-sources/FXTIFIcon.rb +13 -13
  169. data/rdoc-sources/FXTIFImage.rb +5 -5
  170. data/rdoc-sources/FXTabBar.rb +31 -31
  171. data/rdoc-sources/FXTabBook.rb +13 -13
  172. data/rdoc-sources/FXTabItem.rb +22 -22
  173. data/rdoc-sources/FXTable.rb +148 -148
  174. data/rdoc-sources/FXText.rb +91 -91
  175. data/rdoc-sources/FXTextField.rb +39 -39
  176. data/rdoc-sources/FXToggleButton.rb +32 -32
  177. data/rdoc-sources/FXToolBar.rb +25 -25
  178. data/rdoc-sources/FXToolBarGrip.rb +12 -12
  179. data/rdoc-sources/FXToolBarShell.rb +13 -13
  180. data/rdoc-sources/FXToolBarTab.rb +16 -16
  181. data/rdoc-sources/FXTopWindow.rb +18 -18
  182. data/rdoc-sources/FXTranslator.rb +1 -1
  183. data/rdoc-sources/FXTreeList.rb +66 -66
  184. data/rdoc-sources/FXTreeListBox.rb +20 -20
  185. data/rdoc-sources/FXTriStateButton.rb +23 -23
  186. data/rdoc-sources/FXVec2d.rb +1 -1
  187. data/rdoc-sources/FXVec2f.rb +1 -1
  188. data/rdoc-sources/FXVec3d.rb +1 -1
  189. data/rdoc-sources/FXVec3f.rb +1 -1
  190. data/rdoc-sources/FXVec4d.rb +1 -1
  191. data/rdoc-sources/FXVec4f.rb +1 -1
  192. data/rdoc-sources/FXVerticalFrame.rb +12 -12
  193. data/rdoc-sources/FXVisual.rb +19 -19
  194. data/rdoc-sources/FXWindow.rb +96 -96
  195. data/rdoc-sources/FXWizard.rb +9 -9
  196. data/rdoc-sources/FXXBMIcon.rb +7 -7
  197. data/rdoc-sources/FXXBMImage.rb +6 -6
  198. data/rdoc-sources/FXXPMIcon.rb +13 -13
  199. data/rdoc-sources/FXXPMImage.rb +5 -5
  200. data/rdoc-sources/Makefile +3 -3
  201. metadata +44 -31
  202. data/README +0 -39
  203. data/README.txt +0 -483
data/lib/fox16/irb.rb CHANGED
@@ -37,6 +37,7 @@ module IRB
37
37
  end
38
38
  end
39
39
 
40
+ # @private
40
41
  class Redirect < IRB::StdioInputMethod
41
42
  def initialize(dest)
42
43
  super()
@@ -57,6 +57,7 @@ module Fox
57
57
  end
58
58
 
59
59
  if $0 == __FILE__
60
+ # @private
60
61
  class FakeSite # :nodoc:
61
62
  def open( &status )
62
63
  yield ">>>>> Opening Site" if block_given?
@@ -0,0 +1,56 @@
1
+ #
2
+ # The purpose of this library is to provide a few new methods
3
+ # similar to those used by Ruby/Tk.
4
+ #
5
+
6
+ module Fox
7
+ class FXObject
8
+ def bind(str, pr)
9
+ tokens = str.split('-')
10
+ modifiers = []
11
+ type = nil
12
+ detail = nil
13
+ case type
14
+ when "Button"
15
+ when "ButtonPress"
16
+ connect(SEL_LEFTBUTTONPRESS, pr)
17
+ when "ButtonRelease"
18
+ connect(SEL_LEFTBUTTONRELEASE, pr)
19
+ when "Configure"
20
+ connect(SEL_CONFIGURE, pr)
21
+ when "Deactivate"
22
+ when "Destroy"
23
+ connect(SEL_DESTROY, pr)
24
+ when "Enter"
25
+ connect(SEL_ENTER, pr)
26
+ when "Expose"
27
+ connect(SEL_PAINT, pr)
28
+ when "FocusIn"
29
+ connect(SEL_FOCUSIN, pr)
30
+ when "FocusOut"
31
+ connect(SEL_FOCUSOUT, pr)
32
+ when "Key"
33
+ when "KeyPress"
34
+ connect(SEL_KEYPRESS, pr)
35
+ when "KeyRelease"
36
+ connect(SEL_KEYRELEASE, pr)
37
+ when "Leave"
38
+ connect(SEL_LEAVE, pr)
39
+ when "Motion"
40
+ connect(SEL_MOTION, pr)
41
+ when "Map"
42
+ connect(SEL_MAP, pr)
43
+ when "Unmap"
44
+ connect(SEL_UNMAP, pr)
45
+ when "Activate"
46
+ when "Circulate"
47
+ when "Colormap"
48
+ when "Gravity"
49
+ when "Property"
50
+ when "Reparent"
51
+ when "Visibility"
52
+ raise NotImplementedError
53
+ end
54
+ end
55
+ end
56
+ end
data/lib/fox16/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Fox
2
2
  def Fox.fxrubyversion
3
- "1.6.22"
3
+ "1.6.23"
4
4
  end
5
5
  end
@@ -15,10 +15,10 @@ module Fox
15
15
  #
16
16
  # The following messages are sent by FX4Splitter to its target:
17
17
  #
18
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
19
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
20
- # +SEL_COMMAND+:: sent at the end of a resize operation, to signal that the resize is complete
21
- # +SEL_CHANGED+:: sent continuously while a resize operation is occurring
18
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
19
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
20
+ # +SEL_COMMAND+:: sent at the end of a resize operation, to signal that the resize is complete
21
+ # +SEL_CHANGED+:: sent continuously while a resize operation is occurring
22
22
  #
23
23
  # === Splitter options
24
24
  #
@@ -27,29 +27,29 @@ module Fox
27
27
  #
28
28
  # === Expansion options
29
29
  #
30
- # +ExpandNone+:: None expanded
31
- # +ExpandTopLeft+:: Expand top left child
32
- # +ExpandTopRight+:: Expand top right child
33
- # +ExpandBottomLeft+:: Expand bottom left child
34
- # +ExpandBottomRight+:: Expand bottom right child
35
- # +ExpandTop+:: Expand top children
36
- # +ExpandBottom+:: Expand bottom children
37
- # +ExpandLeft+:: Expand left children
38
- # +ExpandRight+:: Expand right children
39
- # +ExpandAll+:: Expand all children
30
+ # +ExpandNone+:: None expanded
31
+ # +ExpandTopLeft+:: Expand top left child
32
+ # +ExpandTopRight+:: Expand top right child
33
+ # +ExpandBottomLeft+:: Expand bottom left child
34
+ # +ExpandBottomRight+:: Expand bottom right child
35
+ # +ExpandTop+:: Expand top children
36
+ # +ExpandBottom+:: Expand bottom children
37
+ # +ExpandLeft+:: Expand left children
38
+ # +ExpandRight+:: Expand right children
39
+ # +ExpandAll+:: Expand all children
40
40
  #
41
41
  # === Message identifiers
42
42
  #
43
- # +ID_EXPAND_NONE+:: None expanded
44
- # +ID_EXPAND_TOP+:: Expand top left and top right panes
45
- # +ID_EXPAND_BOTTOM+:: Expand bottom left and bottom right panes
46
- # +ID_EXPAND_LEFT+:: Expand leftmost panes
47
- # +ID_EXPAND_RIGHT+:: Expand rightmost panes
48
- # +ID_EXPAND_TOPLEFT+:: Expand top left pane
49
- # +ID_EXPAND_TOPRIGHT+:: Expand top right pane
50
- # +ID_EXPAND_BOTTOMLEFT+:: Expand bottom left pane
51
- # +ID_EXPAND_BOTTOMRIGHT+:: Expand bottom right pane
52
- # +ID_EXPAND_ALL+:: Expand all panes
43
+ # +ID_EXPAND_NONE+:: None expanded
44
+ # +ID_EXPAND_TOP+:: Expand top left and top right panes
45
+ # +ID_EXPAND_BOTTOM+:: Expand bottom left and bottom right panes
46
+ # +ID_EXPAND_LEFT+:: Expand leftmost panes
47
+ # +ID_EXPAND_RIGHT+:: Expand rightmost panes
48
+ # +ID_EXPAND_TOPLEFT+:: Expand top left pane
49
+ # +ID_EXPAND_TOPRIGHT+:: Expand top right pane
50
+ # +ID_EXPAND_BOTTOMLEFT+:: Expand bottom left pane
51
+ # +ID_EXPAND_BOTTOMRIGHT+:: Expand bottom right pane
52
+ # +ID_EXPAND_ALL+:: Expand all panes
53
53
  #
54
54
  class FX4Splitter < FXComposite
55
55
 
@@ -68,16 +68,16 @@ module Fox
68
68
  # Currently expanded child (some combination of the expansion flags, or zero if no panes are expanded)
69
69
  attr_accessor :expanded
70
70
 
71
- # Top left child window, if any [FXWindow]
71
+ # Top left child window, if any {FXWindow}
72
72
  attr_reader :topLeft
73
73
 
74
- # Top right child window, if any [FXWindow]
74
+ # Top right child window, if any {FXWindow}
75
75
  attr_reader :topRight
76
76
 
77
- # Bottom left child window, if any [FXWindow]
77
+ # Bottom left child window, if any {FXWindow}
78
78
  attr_reader :bottomLeft
79
79
 
80
- # Bottom right child window, if any [FXWindow]
80
+ # Bottom right child window, if any {FXWindow}
81
81
  attr_reader :bottomRight
82
82
 
83
83
  #
@@ -85,12 +85,12 @@ module Fox
85
85
  #
86
86
  # ==== Parameters:
87
87
  #
88
- # +p+:: the parent widget for this splitter [FXComposite]
89
- # +opts+:: the options [Integer]
90
- # +x+:: initial x-position [Integer]
91
- # +y+:: initial y-position [Integer]
92
- # +width+:: initial width [Integer]
93
- # +height+:: initial height [Integer]
88
+ # +p+:: the parent widget for this splitter {FXComposite}
89
+ # +opts+:: the options [Integer]
90
+ # +x+:: initial x-position [Integer]
91
+ # +y+:: initial y-position [Integer]
92
+ # +width+:: initial width [Integer]
93
+ # +height+:: initial height [Integer]
94
94
  #
95
95
  def initialize(p, opts=FOURSPLITTER_NORMAL, x=0, y=0, width=0, height=0) # :yields: theSplitter
96
96
  end
@@ -101,14 +101,14 @@ module Fox
101
101
  #
102
102
  # ==== Parameters:
103
103
  #
104
- # +p+:: the parent widget for this splitter [FXComposite]
105
- # +target+:: message target [FXObject]
106
- # +selector+:: message identifier [Integer]
107
- # +opts+:: the options [Integer]
108
- # +x+:: initial x-position [Integer]
109
- # +y+:: initial y-position [Integer]
110
- # +width+:: initial width [Integer]
111
- # +height+:: initial height [Integer]
104
+ # +p+:: the parent widget for this splitter {FXComposite}
105
+ # +target+:: message target {FXObject}
106
+ # +selector+:: message identifier [Integer]
107
+ # +opts+:: the options [Integer]
108
+ # +x+:: initial x-position [Integer]
109
+ # +y+:: initial y-position [Integer]
110
+ # +width+:: initial width [Integer]
111
+ # +height+:: initial height [Integer]
112
112
  #
113
113
  def initialize(p, tgt, sel, opts=FOURSPLITTER_NORMAL, x=0, y=0, width=0, height=0) # :yields: theSplitter
114
114
  end
@@ -129,7 +129,7 @@ module Fox
129
129
 
130
130
  #
131
131
  # Return the horizontal split fraction, an integer between 0 and
132
- # 10000 inclusive. See FX4Splitter#setHSplit for more information.
132
+ # 10000 inclusive. See {FX4Splitter#setHSplit} for more information.
133
133
  #
134
134
  def getHSplit(); end
135
135
 
@@ -149,7 +149,7 @@ module Fox
149
149
 
150
150
  #
151
151
  # Return the vertical split fraction, an integer between 0 and
152
- # 10000 inclusive. See FX4Splitter#setVSplit for more information.
152
+ # 10000 inclusive. See {FX4Splitter#setVSplit} for more information.
153
153
  #
154
154
  def getVSplit(); end
155
155
  end
@@ -6,14 +6,14 @@ module Fox
6
6
  #
7
7
  # === 7 Segment styles
8
8
  #
9
- # +SEVENSEGMENT_NORMAL+:: Draw segments normally
10
- # +SEVENSEGMENT_SHADOW+:: Draw shadow under the segments
9
+ # +SEVENSEGMENT_NORMAL+:: Draw segments normally
10
+ # +SEVENSEGMENT_SHADOW+:: Draw shadow under the segments
11
11
  #
12
12
  class FX7Segment < FXFrame
13
13
  # The text for this label [String]
14
14
  attr_accessor :text
15
15
 
16
- # The text color [FXColor]
16
+ # The text color {FXColor}
17
17
  attr_accessor :textColor
18
18
 
19
19
  # Cell width, in pixels [Integer]
@@ -56,7 +56,7 @@ module Fox
56
56
 
57
57
  #
58
58
  # Unparse hot key comprising modifier and key code back
59
- # into a string suitable for parsing with #parseHotKey.
59
+ # into a string suitable for parsing with {#parseHotKey}.
60
60
  #
61
61
  def unparseAccel(key); end
62
62
 
@@ -94,24 +94,24 @@ module Fox
94
94
  # the addSignal method, a +SEL_SIGNAL+ message may be sent to the message
95
95
  # target.
96
96
  #
97
- # === File input modes for #addInput
97
+ # === File input modes for {#addInput}
98
98
  #
99
- # +INPUT_NONE+:: inactive
100
- # +INPUT_READ+:: read input fd
101
- # +INPUT_WRITE+:: write input fd
102
- # +INPUT_EXCEPT+:: except input fd
99
+ # +INPUT_NONE+:: inactive
100
+ # +INPUT_READ+:: read input fd
101
+ # +INPUT_WRITE+:: write input fd
102
+ # +INPUT_EXCEPT+:: except input fd
103
103
  #
104
104
  # === All ways of being modal
105
105
  #
106
- # +MODAL_FOR_NONE+:: Non modal event loop (dispatch normally)
107
- # +MODAL_FOR_WINDOW+:: Modal dialog (beep if outside of modal dialog)
108
- # +MODAL_FOR_POPUP+:: Modal for popup (always dispatch to popup)
106
+ # +MODAL_FOR_NONE+:: Non modal event loop (dispatch normally)
107
+ # +MODAL_FOR_WINDOW+:: Modal dialog (beep if outside of modal dialog)
108
+ # +MODAL_FOR_POPUP+:: Modal for popup (always dispatch to popup)
109
109
  #
110
110
  # === Default cursors provided by the application
111
111
  #
112
112
  # These constants symbolically represent the different cursor shapes used
113
113
  # in FOX applications, and can be used as the _which_ arguments for
114
- # #getDefaultCursor and #setDefaultCursor.
114
+ # {#getDefaultCursor} and {#setDefaultCursor}.
115
115
  #
116
116
  # +DEF_ARROW_CURSOR+:: Arrow cursor
117
117
  # +DEF_RARROW_CURSOR+:: Reverse arrow cursor
@@ -136,8 +136,8 @@ module Fox
136
136
  # +DEF_CORNERNW_CURSOR+:: North-west cursor
137
137
  # +DEF_CORNERSE_CURSOR+:: South-east cursor
138
138
  # +DEF_CORNERSW_CURSOR+:: South-west cursor
139
- # +DEF_HELP_CURSOR+:: Help arrow cursor
140
- # +DEF_HAND_CURSOR+:: Hand cursor
139
+ # +DEF_HELP_CURSOR+:: Help arrow cursor
140
+ # +DEF_HAND_CURSOR+:: Hand cursor
141
141
  # +DEF_ROTATE_CURSOR+:: Rotate cursor
142
142
  # +DEF_WAIT_CURSOR+:: Wait cursor
143
143
  #
@@ -163,67 +163,67 @@ module Fox
163
163
  # Display [Integer]
164
164
  attr_reader :display
165
165
 
166
- # Border color [FXColor]
166
+ # Border color {FXColor}
167
167
  attr_accessor :borderColor
168
168
 
169
- # Background color of GUI controls [FXColor]
169
+ # Background color of GUI controls {FXColor}
170
170
  attr_accessor :baseColor
171
171
 
172
- # Hilite color of GUI controls [FXColor]
172
+ # Hilite color of GUI controls {FXColor}
173
173
  attr_accessor :hiliteColor
174
174
 
175
- # Shadow color of GUI controls [FXColor]
175
+ # Shadow color of GUI controls {FXColor}
176
176
  attr_accessor :shadowColor
177
177
 
178
- # Default background color [FXColor]
178
+ # Default background color {FXColor}
179
179
  attr_accessor :backColor
180
180
 
181
- # Default foreground color [FXColor]
181
+ # Default foreground color {FXColor}
182
182
  attr_accessor :foreColor
183
183
 
184
- # Default foreground color for selected objects [FXColor]
184
+ # Default foreground color for selected objects {FXColor}
185
185
  attr_accessor :selforeColor
186
186
 
187
- # Default background color for selected objects [FXColor]
187
+ # Default background color for selected objects {FXColor}
188
188
  attr_accessor :selbackColor
189
189
 
190
- # Default foreground color for tooltips [FXColor]
190
+ # Default foreground color for tooltips {FXColor}
191
191
  attr_accessor :tipforeColor
192
192
 
193
- # Default background color for tooltips [FXColor]
193
+ # Default background color for tooltips {FXColor}
194
194
  attr_accessor :tipbackColor
195
195
 
196
- # Default text color for selected menu items [FXColor]
196
+ # Default text color for selected menu items {FXColor}
197
197
  attr_accessor :selMenuTextColor
198
198
 
199
- # Default background color for selected menu items [FXColor]
199
+ # Default background color for selected menu items {FXColor}
200
200
  attr_accessor :selMenuBackColor
201
201
 
202
- # Default visual [FXVisual]
202
+ # Default visual {FXVisual}
203
203
  attr_accessor :defaultVisual
204
204
 
205
- # Default font [FXFont]
205
+ # Default font {FXFont}
206
206
  attr_accessor :normalFont
207
207
 
208
- # Wait cursor [FXCursor]
208
+ # Wait cursor {FXCursor}
209
209
  attr_accessor :waitCursor
210
210
 
211
- # Monochrome visual [FXVisual]
211
+ # Monochrome visual {FXVisual}
212
212
  attr_reader :monoVisual
213
213
 
214
- # Root window [FXRootWindow]
214
+ # Root window {FXRootWindow}
215
215
  attr_reader :rootWindow
216
216
 
217
- # The window under the cursor, if any [FXWindow]
217
+ # The window under the cursor, if any {FXWindow}
218
218
  attr_reader :cursorWindow
219
219
 
220
- # The window at the end of the focus chain, if any [FXWindow]
220
+ # The window at the end of the focus chain, if any {FXWindow}
221
221
  attr_reader :focusWindow
222
222
 
223
- # The active top-level window, if any [FXWindow]
223
+ # The active top-level window, if any {FXWindow}
224
224
  attr_reader :activeWindow
225
225
 
226
- # The window of the current modal loop [FXWindow]
226
+ # The window of the current modal loop {FXWindow}
227
227
  attr_reader :modalWindow
228
228
 
229
229
  # Mode of current modal loop [Integer]
@@ -269,7 +269,7 @@ module Fox
269
269
  # Amount of time (in milliseconds) to yield to Ruby's thread scheduler [Integer]
270
270
  attr_accessor :sleepTime
271
271
 
272
- # Message translator [FXTranslator]
272
+ # Message translator {FXTranslator}
273
273
  attr_accessor :translator
274
274
 
275
275
  # Copyright notice for library
@@ -284,7 +284,7 @@ module Fox
284
284
  end
285
285
 
286
286
  #
287
- # Open connection to display; this is called by #init.
287
+ # Open connection to display; this is called by {#init}.
288
288
  #
289
289
  def openDisplay(dpyname=nil) ; end
290
290
 
@@ -344,8 +344,8 @@ module Fox
344
344
  # Perform one event dispatch; return +true+ if event was dispatched.
345
345
  def runOneEvent(blocking=true); end
346
346
 
347
- # Run the main application event loop until #stop is called,
348
- # and return the exit code passed as argument to #stop.
347
+ # Run the main application event loop until {#stop} is called,
348
+ # and return the exit code passed as argument to {#stop}.
349
349
  def run(); end
350
350
 
351
351
  #
@@ -363,27 +363,27 @@ module Fox
363
363
  #
364
364
  # Run event loop while there are events are available in the queue.
365
365
  # Returns 1 when all events in the queue have been handled, and 0 when
366
- # the event loop was terminated due to #stop or #stopModal.
366
+ # the event loop was terminated due to {#stop} or {#stopModal}.
367
367
  # Except for the modal window and its children, user input to all windows
368
368
  # is blocked; if the modal window is +nil+, all user input is blocked.
369
369
  #
370
370
  def runModalWhileEvents(window=nil); end
371
371
 
372
372
  # Run modal event loop, blocking keyboard and mouse events to all windows
373
- # until #stopModal is called.
373
+ # until {#stopModal} is called.
374
374
  def runModal(); end
375
375
 
376
- # Run a modal event loop for the given window, until #stop or #stopModal is
376
+ # Run a modal event loop for the given window, until {#stop} or {#stopModal} is
377
377
  # called. Except for the modal window and its children, user input to all
378
378
  # windows is blocked; if the modal window is +nil+ all user input is blocked.
379
379
  def runModalFor(window); end
380
380
 
381
- # Run modal while window is shown, or until #stop or #stopModal is called.
381
+ # Run modal while window is shown, or until {#stop} or {#stopModal} is called.
382
382
  # Except for the modal window and its children, user input to all windows
383
383
  # is blocked; if the modal window is +nil+ all user input is blocked.
384
384
  def runModalWhileShown(window); end
385
385
 
386
- # Run popup menu while shown, until #stop or #stopModal is called.
386
+ # Run popup menu while shown, until {#stop} or {#stopModal} is called.
387
387
  # Also returns when entering previous cascading popup menu.
388
388
  def runPopup(window); end
389
389
 
@@ -443,7 +443,7 @@ module Fox
443
443
  #
444
444
  # yamlDragType = app.registerDragType("application/x-yaml")
445
445
  #
446
- # See also #getDragTypeName.
446
+ # See also {#getDragTypeName}.
447
447
  #
448
448
  def registerDragType(name) ; end
449
449
 
@@ -452,7 +452,7 @@ module Fox
452
452
  #
453
453
  # dragTypeName = app.getDragTypeName(yamlDragType)
454
454
  #
455
- # See also #registerDragType.
455
+ # See also {#registerDragType}.
456
456
  #
457
457
  def getDragTypeName(dragType) ; end
458
458
 
@@ -463,7 +463,7 @@ module Fox
463
463
  def FXApp.instance(); end
464
464
 
465
465
  # End the most deeply nested wait-cursor block.
466
- # See also #beginWaitCursor.
466
+ # See also {#beginWaitCursor}.
467
467
  def endWaitCursor(); end
468
468
 
469
469
  #
@@ -473,7 +473,7 @@ module Fox
473
473
  #
474
474
  # rotateCursor = app.getDefaultCursor(DEF_ROTATE_CURSOR)
475
475
  #
476
- # See also #setDefaultCursor.
476
+ # See also {#setDefaultCursor}.
477
477
  #
478
478
  def getDefaultCursor(which) ; end
479
479
 
@@ -482,7 +482,7 @@ module Fox
482
482
  #
483
483
  # app.setDefaultCursor(DEF_ROTATE_CURSOR, myRotateCursor)
484
484
  #
485
- # See also #getDefaultCursor.
485
+ # See also {#getDefaultCursor}.
486
486
  #
487
487
  def setDefaultCursor(which, cursor); end
488
488
 
@@ -492,8 +492,8 @@ module Fox
492
492
  #
493
493
  # ==== Parameters:
494
494
  #
495
- # +store+:: [FXStream]
496
- # +window+:: [FXWindow]
495
+ # +store+:: {FXStream}
496
+ # +window+:: {FXWindow}
497
497
  #
498
498
  def writeWindow(store, window); end
499
499
 
@@ -504,9 +504,9 @@ module Fox
504
504
  #
505
505
  # ==== Parameters:
506
506
  #
507
- # +store+:: [FXStream]
508
- # +father+:: [FXWindow]
509
- # +owner+:: [FXWindow]
507
+ # +store+:: {FXStream}
508
+ # +father+:: {FXWindow}
509
+ # +owner+:: {FXWindow}
510
510
  #
511
511
  def readWindow(store, father, owner); end
512
512