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
@@ -17,12 +17,12 @@ module Fox
17
17
  #
18
18
  # === Tree list box styles
19
19
  #
20
- # +TREELISTBOX_NORMAL+:: Normal style
20
+ # +TREELISTBOX_NORMAL+:: Normal style
21
21
  #
22
22
  # === Message identifiers
23
23
  #
24
- # +ID_TREE+:: x
25
- # +ID_FIELD+:: x
24
+ # +ID_TREE+:: x
25
+ # +ID_FIELD+:: x
26
26
  #
27
27
  class FXTreeListBox < FXPacker
28
28
 
@@ -32,16 +32,16 @@ module Fox
32
32
  # Number of visible items [Integer]
33
33
  attr_accessor :numVisible
34
34
 
35
- # First root-level item [FXTreeItem]
35
+ # First root-level item {FXTreeItem}
36
36
  attr_reader :firstItem
37
37
 
38
- # Last root-level item [FXTreeItem]
38
+ # Last root-level item {FXTreeItem}
39
39
  attr_reader :lastItem
40
40
 
41
- # Current item, if any [FXTreeItem]
41
+ # Current item, if any {FXTreeItem}
42
42
  attr_accessor :currentItem
43
43
 
44
- # Text font [FXFont]
44
+ # Text font {FXFont}
45
45
  attr_accessor :font
46
46
 
47
47
  # Tree list box style
@@ -58,18 +58,18 @@ module Fox
58
58
  #
59
59
  # ==== Parameters:
60
60
  #
61
- # +p+:: the parent window for this tree list box [FXComposite]
62
- # +target+:: the message target, if any, for this tree list box [FXObject]
63
- # +selector+:: the message identifier for this tree list box [Integer]
64
- # +opts+:: tree list options [Integer]
65
- # +x+:: initial x-position [Integer]
66
- # +y+:: initial y-position [Integer]
67
- # +width+:: initial width [Integer]
68
- # +height+:: initial height [Integer]
69
- # +padLeft+:: internal padding on the left side, in pixels [Integer]
70
- # +padRight+:: internal padding on the right side, in pixels [Integer]
71
- # +padTop+:: internal padding on the top side, in pixels [Integer]
72
- # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
61
+ # +p+:: the parent window for this tree list box {FXComposite}
62
+ # +target+:: the message target, if any, for this tree list box {FXObject}
63
+ # +selector+:: the message identifier for this tree list box [Integer]
64
+ # +opts+:: tree list options [Integer]
65
+ # +x+:: initial x-position [Integer]
66
+ # +y+:: initial y-position [Integer]
67
+ # +width+:: initial width [Integer]
68
+ # +height+:: initial height [Integer]
69
+ # +padLeft+:: internal padding on the left side, in pixels [Integer]
70
+ # +padRight+:: internal padding on the right side, in pixels [Integer]
71
+ # +padTop+:: internal padding on the top side, in pixels [Integer]
72
+ # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
73
73
  #
74
74
  def initialize(p, target=nil, selector=0, opts=FRAME_SUNKEN|FRAME_THICK|TREELISTBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theTreeListBox
75
75
  end
@@ -121,7 +121,7 @@ module Fox
121
121
  # Remove item.
122
122
  # If _notify_ is +true+, a +SEL_DELETED+ message is sent to the list's message
123
123
  # target before the item is removed.
124
- def removeItem(item, notify=false);
124
+ def removeItem(item, notify=false); end
125
125
 
126
126
  # Remove items in range [_fromItem_, _toItem_] inclusively.
127
127
  # If _notify_ is +true+, a +SEL_DELETED+ message is sent to the list's message
@@ -8,40 +8,40 @@ module Fox
8
8
  class FXTriStateButton < FXToggleButton
9
9
 
10
10
  # Maybe text, shown when toggled [String]
11
- attr_accessor :maybeText
11
+ attr_accessor :maybeText
12
12
 
13
- # Maybe icon, shown when toggled [FXIcon]
14
- attr_accessor :maybeIcon
13
+ # Maybe icon, shown when toggled {FXIcon}
14
+ attr_accessor :maybeIcon
15
15
 
16
16
  # Maybe status line help text, shown when toggled [String]
17
- attr_accessor :maybeHelpText
17
+ attr_accessor :maybeHelpText
18
18
 
19
19
  # Maybe tool tip message, shown when toggled [String]
20
- attr_accessor :maybeTipText
20
+ attr_accessor :maybeTipText
21
21
 
22
22
  #
23
23
  # Return an initialized FXTriStateButton instance.
24
24
  #
25
25
  # ==== Parameters:
26
26
  #
27
- # +p+:: the parent window for this tri-state button [FXComposite]
28
- # <tt>text1</tt>:: the text for this tri-state button's first state [String]
29
- # <tt>text2</tt>:: the text for this tri-state button's second state [String]
30
- # <tt>text3</tt>:: the text for this tri-state button's third state [String]
31
- # <tt>icon1</tt>:: the icon, if any, for this tri-state button's first state [FXIcon]
32
- # <tt>icon2</tt>:: the icon, if any, for this tri-state button's second state [FXIcon]
33
- # <tt>icon3</tt>:: the icon, if any, for this tri-state button's third state [FXIcon]
34
- # +target+:: the message target, if any, for this tri-state button [FXObject]
35
- # +selector+:: the message identifier for this tri-state button [Integer]
36
- # +opts+:: tri-state button options [Integer]
37
- # +x+:: initial x-position [Integer]
38
- # +y+:: initial y-position [Integer]
39
- # +width+:: initial width [Integer]
40
- # +height+:: initial height [Integer]
41
- # +padLeft+:: internal padding on the left side, in pixels [Integer]
42
- # +padRight+:: internal padding on the right side, in pixels [Integer]
43
- # +padTop+:: internal padding on the top side, in pixels [Integer]
44
- # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
27
+ # +p+:: the parent window for this tri-state button {FXComposite}
28
+ # <tt>text1</tt>:: the text for this tri-state button's first state [String]
29
+ # <tt>text2</tt>:: the text for this tri-state button's second state [String]
30
+ # <tt>text3</tt>:: the text for this tri-state button's third state [String]
31
+ # <tt>icon1</tt>:: the icon, if any, for this tri-state button's first state {FXIcon}
32
+ # <tt>icon2</tt>:: the icon, if any, for this tri-state button's second state {FXIcon}
33
+ # <tt>icon3</tt>:: the icon, if any, for this tri-state button's third state {FXIcon}
34
+ # +target+:: the message target, if any, for this tri-state button {FXObject}
35
+ # +selector+:: the message identifier for this tri-state button [Integer]
36
+ # +opts+:: tri-state button options [Integer]
37
+ # +x+:: initial x-position [Integer]
38
+ # +y+:: initial y-position [Integer]
39
+ # +width+:: initial width [Integer]
40
+ # +height+:: initial height [Integer]
41
+ # +padLeft+:: internal padding on the left side, in pixels [Integer]
42
+ # +padRight+:: internal padding on the right side, in pixels [Integer]
43
+ # +padTop+:: internal padding on the top side, in pixels [Integer]
44
+ # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
45
45
  #
46
46
  def initialize(p, text1, text2, text3, icon1=nil, icon2=nil, icon3=nil, target=nil, selector=0, opts=TOGGLEBUTTON_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theTriStateButton
47
47
  end
@@ -22,7 +22,7 @@ module Fox
22
22
  def []=(index, value); end
23
23
 
24
24
  # Returns a new FXVec2d instance which is the negation of this one.
25
- def @-(); end
25
+ def -@(); end
26
26
 
27
27
  #
28
28
  # Returns a new FXVec2d instance obtained by memberwise
@@ -22,7 +22,7 @@ module Fox
22
22
  def []=(index, value); end
23
23
 
24
24
  # Returns a new FXVec2f instance which is the negation of this one.
25
- def @-(); end
25
+ def -@(); end
26
26
 
27
27
  #
28
28
  # Returns a new FXVec2f instance obtained by memberwise
@@ -28,7 +28,7 @@ module Fox
28
28
  def []=(index, value); end
29
29
 
30
30
  # Returns a new FXVec3d instance which is the negation of this one.
31
- def @-(); end
31
+ def -@(); end
32
32
 
33
33
  #
34
34
  # Returns a new FXVec3d instance obtained by memberwise
@@ -28,7 +28,7 @@ module Fox
28
28
  def []=(index, value); end
29
29
 
30
30
  # Returns a new FXVec3f instance which is the negation of this one.
31
- def @-(); end
31
+ def -@(); end
32
32
 
33
33
  #
34
34
  # Returns a new FXVec3f instance obtained by memberwise
@@ -34,7 +34,7 @@ module Fox
34
34
  def []=(index, value); end
35
35
 
36
36
  # Returns a new FXVec4d instance which is the negation of this one.
37
- def @-(); end
37
+ def -@(); end
38
38
 
39
39
  #
40
40
  # Returns a new FXVec4d instance obtained by memberwise
@@ -34,7 +34,7 @@ module Fox
34
34
  def []=(index, value); end
35
35
 
36
36
  # Returns a new FXVec4f instance which is the negation of this one.
37
- def @-(); end
37
+ def -@(); end
38
38
 
39
39
  #
40
40
  # Returns a new FXVec4f instance obtained by memberwise
@@ -10,18 +10,18 @@ module Fox
10
10
  #
11
11
  # ==== Parameters:
12
12
  #
13
- # +p+:: the parent window for this vertical frame [FXComposite]
14
- # +opts+:: frame options [Integer]
15
- # +x+:: initial x-position [Integer]
16
- # +y+:: initial y-position [Integer]
17
- # +width+:: initial width [Integer]
18
- # +height+:: initial height [Integer]
19
- # +padLeft+:: internal padding on the left side, in pixels [Integer]
20
- # +padRight+:: internal padding on the right side, in pixels [Integer]
21
- # +padTop+:: internal padding on the top side, in pixels [Integer]
22
- # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
23
- # +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
24
- # +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
13
+ # +p+:: the parent window for this vertical frame {FXComposite}
14
+ # +opts+:: frame options [Integer]
15
+ # +x+:: initial x-position [Integer]
16
+ # +y+:: initial y-position [Integer]
17
+ # +width+:: initial width [Integer]
18
+ # +height+:: initial height [Integer]
19
+ # +padLeft+:: internal padding on the left side, in pixels [Integer]
20
+ # +padRight+:: internal padding on the right side, in pixels [Integer]
21
+ # +padTop+:: internal padding on the top side, in pixels [Integer]
22
+ # +padBottom+:: internal padding on the bottom side, in pixels [Integer]
23
+ # +hSpacing+:: horizontal spacing between widgets, in pixels [Integer]
24
+ # +vSpacing+:: vertical spacing between widgets, in pixels [Integer]
25
25
  #
26
26
  def initialize(p, opts=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: theVerticalFrame
27
27
  end
@@ -4,25 +4,25 @@ module Fox
4
4
  #
5
5
  # === Construction options for FXVisual
6
6
  #
7
- # +VISUAL_DEFAULT+:: Default visual
8
- # +VISUAL_MONOCHROME+:: Must be monochrome visual
9
- # +VISUAL_BEST+:: Best (deepest) visual
10
- # +VISUAL_INDEXCOLOR+:: Palette visual
11
- # +VISUAL_GRAYSCALE+:: Gray scale visual
12
- # +VISUAL_TRUECOLOR+:: Must be true color visual
13
- # +VISUAL_OWNCOLORMAP+:: Allocate private colormap
14
- # +VISUAL_DOUBLEBUFFER+:: Double-buffered [FXGLVisual]
15
- # +VISUAL_STEREO+:: Stereo [FXGLVisual]
16
- # +VISUAL_NOACCEL+:: No hardware acceleration [for broken h/w]
17
- # +VISUAL_SWAP_COPY+:: Buffer swap by copying (for FXGLVisual)
7
+ # +VISUAL_DEFAULT+:: Default visual
8
+ # +VISUAL_MONOCHROME+:: Must be monochrome visual
9
+ # +VISUAL_BEST+:: Best (deepest) visual
10
+ # +VISUAL_INDEXCOLOR+:: Palette visual
11
+ # +VISUAL_GRAYSCALE+:: Gray scale visual
12
+ # +VISUAL_TRUECOLOR+:: Must be true color visual
13
+ # +VISUAL_OWNCOLORMAP+:: Allocate private colormap
14
+ # +VISUAL_DOUBLEBUFFER+:: Double-buffered {FXGLVisual}
15
+ # +VISUAL_STEREO+:: Stereo {FXGLVisual}
16
+ # +VISUAL_NOACCEL+:: No hardware acceleration [for broken h/w]
17
+ # +VISUAL_SWAP_COPY+:: Buffer swap by copying (for FXGLVisual)
18
18
  #
19
19
  # === Visual type
20
20
  #
21
- # +VISUALTYPE_UNKNOWN+:: Undetermined visual type
22
- # +VISUALTYPE_MONO+:: Visual for drawing into 1-bpp surfaces
23
- # +VISUALTYPE_TRUE+:: True color
24
- # +VISUALTYPE_INDEX+:: Index [palette] color
25
- # +VISUALTYPE_GRAY+:: Gray scale
21
+ # +VISUALTYPE_UNKNOWN+:: Undetermined visual type
22
+ # +VISUALTYPE_MONO+:: Visual for drawing into 1-bpp surfaces
23
+ # +VISUALTYPE_TRUE+:: True color
24
+ # +VISUALTYPE_INDEX+:: Index [palette] color
25
+ # +VISUALTYPE_GRAY+:: Gray scale
26
26
  #
27
27
  class FXVisual < FXId
28
28
  # Visual construction flags [Integer]
@@ -59,9 +59,9 @@ module Fox
59
59
  #
60
60
  # ==== Parameters:
61
61
  #
62
- # +a+:: an application instance [FXApp]
63
- # +flgs+:: visual construction flags [Integer]
64
- # +d+:: requested visual depth, in bits [Integer]
62
+ # +a+:: an application instance {FXApp}
63
+ # +flgs+:: visual construction flags [Integer]
64
+ # +d+:: requested visual depth, in bits [Integer]
65
65
  #
66
66
  def initialize(a, flgs, d=32); end
67
67
 
@@ -6,54 +6,54 @@ module Fox
6
6
  #
7
7
  # The following messages are sent by FXWindow to its target:
8
8
  #
9
- # +SEL_MAP+:: sent when the window is mapped to the screen; the message data is an FXEvent instance.
10
- # +SEL_UNMAP+:: sent when the window is unmapped; the message data is an FXEvent instance.
11
- # +SEL_CONFIGURE+:: sent when the window's size changes; the message data is an FXEvent instance.
12
- # +SEL_ENTER+:: sent when the mouse cursor enters this window
13
- # +SEL_LEAVE+:: sent when the mouse cursor leaves this window
14
- # +SEL_FOCUSIN+:: sent when this window gains the focus
15
- # +SEL_FOCUSOUT+:: sent when this window loses the focus
16
- # +SEL_UPDATE+:: sent when this window needs an update
17
- # +SEL_UNGRABBED+:: sent when this window loses the mouse grab (or capture)
9
+ # +SEL_MAP+:: sent when the window is mapped to the screen; the message data is an FXEvent instance.
10
+ # +SEL_UNMAP+:: sent when the window is unmapped; the message data is an FXEvent instance.
11
+ # +SEL_CONFIGURE+:: sent when the window's size changes; the message data is an FXEvent instance.
12
+ # +SEL_ENTER+:: sent when the mouse cursor enters this window
13
+ # +SEL_LEAVE+:: sent when the mouse cursor leaves this window
14
+ # +SEL_FOCUSIN+:: sent when this window gains the focus
15
+ # +SEL_FOCUSOUT+:: sent when this window loses the focus
16
+ # +SEL_UPDATE+:: sent when this window needs an update
17
+ # +SEL_UNGRABBED+:: sent when this window loses the mouse grab (or capture)
18
18
  #
19
19
  # For each of the following keyboard-related events, the message data is an FXEvent instance:
20
20
  #
21
- # +SEL_KEYPRESS+:: sent when a key is pressed
22
- # +SEL_KEYRELEASE+:: sent when a key is released
21
+ # +SEL_KEYPRESS+:: sent when a key is pressed
22
+ # +SEL_KEYRELEASE+:: sent when a key is released
23
23
  #
24
24
  # For each of the following mouse-related events, the message data is an FXEvent instance:
25
25
  #
26
- # +SEL_MOTION+:: sent when the mouse moves
27
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down
28
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up
29
- # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down
30
- # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up
31
- # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down
32
- # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up
33
- # +SEL_MOUSEWHEEL+:: sent when the mouse wheel is scrolled
26
+ # +SEL_MOTION+:: sent when the mouse moves
27
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down
28
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up
29
+ # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down
30
+ # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up
31
+ # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down
32
+ # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up
33
+ # +SEL_MOUSEWHEEL+:: sent when the mouse wheel is scrolled
34
34
  #
35
35
  # For each of the following selection-related events, the message data is an FXEvent instance:
36
36
  #
37
- # +SEL_SELECTION_GAINED+:: sent when this window acquires the selection
38
- # +SEL_SELECTION_LOST+:: sent when this window loses the selection
39
- # +SEL_SELECTION_REQUEST+:: sent when this window's selection is requested
37
+ # +SEL_SELECTION_GAINED+:: sent when this window acquires the selection
38
+ # +SEL_SELECTION_LOST+:: sent when this window loses the selection
39
+ # +SEL_SELECTION_REQUEST+:: sent when this window's selection is requested
40
40
  #
41
41
  # For each of the following clipboard-related events, the message data is an FXEvent instance:
42
42
  #
43
- # +SEL_CLIPBOARD_GAINED+:: sent when this window acquires the clipboard
44
- # +SEL_CLIPBOARD_LOST+:: sent when this window loses the clipboard
45
- # +SEL_CLIPBOARD_REQUEST+:: sent when this window's clipboard data is requested
43
+ # +SEL_CLIPBOARD_GAINED+:: sent when this window acquires the clipboard
44
+ # +SEL_CLIPBOARD_LOST+:: sent when this window loses the clipboard
45
+ # +SEL_CLIPBOARD_REQUEST+:: sent when this window's clipboard data is requested
46
46
  #
47
47
  # For each of the following drag-and-drop events, the message data is an FXEvent instance:
48
48
  #
49
- # +SEL_BEGINDRAG+:: sent at the beginning of a drag operation
50
- # +SEL_DRAGGED+:: sent while stuff is being dragged around
51
- # +SEL_ENDDRAG+:: sent at the end of a drag operation
52
- # +SEL_DND_ENTER+:: drag-and-drop enter
53
- # +SEL_DND_LEAVE+:: drag-and-drop leave
54
- # +SEL_DND_MOTION+:: drag-and-drop motion
55
- # +SEL_DND_DROP+:: drag-and-drop motion
56
- # +SEL_DND_REQUEST+:: drag-and-drop request
49
+ # +SEL_BEGINDRAG+:: sent at the beginning of a drag operation
50
+ # +SEL_DRAGGED+:: sent while stuff is being dragged around
51
+ # +SEL_ENDDRAG+:: sent at the end of a drag operation
52
+ # +SEL_DND_ENTER+:: drag-and-drop enter
53
+ # +SEL_DND_LEAVE+:: drag-and-drop leave
54
+ # +SEL_DND_MOTION+:: drag-and-drop motion
55
+ # +SEL_DND_DROP+:: drag-and-drop motion
56
+ # +SEL_DND_REQUEST+:: drag-and-drop request
57
57
  #
58
58
  # === Layout hints for child widgets
59
59
  #
@@ -152,65 +152,65 @@ module Fox
152
152
 
153
153
  class FXWindow < FXDrawable
154
154
 
155
- # This window's parent window [FXWindow]
156
- attr_reader :parent
155
+ # This window's parent window {FXWindow}
156
+ attr_reader :parent
157
157
 
158
- # This window's owner window [FXWindow]
159
- attr_reader :owner
158
+ # This window's owner window {FXWindow}
159
+ attr_reader :owner
160
160
 
161
- # The shell window for this window [FXWindow]
162
- attr_reader :shell
161
+ # The shell window for this window {FXWindow}
162
+ attr_reader :shell
163
163
 
164
- # Root window [FXWindow]
165
- attr_reader :root
164
+ # Root window {FXWindow}
165
+ attr_reader :root
166
166
 
167
- # Next (sibling) window, if any [FXWindow]
168
- attr_reader :next
167
+ # Next (sibling) window, if any {FXWindow}
168
+ attr_reader :next
169
169
 
170
- # Previous (sibling) window, if any [FXWindow]
171
- attr_reader :prev
170
+ # Previous (sibling) window, if any {FXWindow}
171
+ attr_reader :prev
172
172
 
173
- # This window's first child window, if any [FXWindow]
174
- attr_reader :first
173
+ # This window's first child window, if any {FXWindow}
174
+ attr_reader :first
175
175
 
176
- # This window's last child window, if any [FXWindow]
177
- attr_reader :last
176
+ # This window's last child window, if any {FXWindow}
177
+ attr_reader :last
178
178
 
179
- # Currently focused child window, if any [FXWindow]
180
- attr_reader :focus
179
+ # Currently focused child window, if any {FXWindow}
180
+ attr_reader :focus
181
181
 
182
182
  # Window key [Integer]
183
- attr_accessor :key
183
+ attr_accessor :key
184
184
 
185
- # Message target object for this window [FXObject]
186
- attr_accessor :target
185
+ # Message target object for this window {FXObject}
186
+ attr_accessor :target
187
187
 
188
188
  # Message identifier for this window [Integer]
189
- attr_accessor :selector
189
+ attr_accessor :selector
190
190
 
191
191
  # This window's x-coordinate, in the parent's coordinate system [Integer]
192
- attr_accessor :x
192
+ attr_accessor :x
193
193
 
194
194
  # This window's y-coordinate, in the parent's coordinate system [Integer]
195
- attr_accessor :y
195
+ attr_accessor :y
196
196
 
197
- # The accelerator table for this window [FXAccelTable]
198
- attr_accessor :accelTable
197
+ # The accelerator table for this window {FXAccelTable}
198
+ attr_accessor :accelTable
199
199
 
200
200
  # Layout hints for this window [Integer]
201
- attr_accessor :layoutHints
201
+ attr_accessor :layoutHints
202
202
 
203
203
  # Number of child windows for this window [Integer]
204
- attr_reader :numChildren
204
+ attr_reader :numChildren
205
205
 
206
- # Default cursor for this window [FXCursor]
207
- attr_accessor :defaultCursor
206
+ # Default cursor for this window {FXCursor}
207
+ attr_accessor :defaultCursor
208
208
 
209
- # Drag cursor for this window [FXCursor]
210
- attr_accessor :dragCursor
209
+ # Drag cursor for this window {FXCursor}
210
+ attr_accessor :dragCursor
211
211
 
212
- # Window background color [FXColor]
213
- attr_accessor :backColor
212
+ # Window background color {FXColor}
213
+ attr_accessor :backColor
214
214
 
215
215
  # Common DND type: Raw octet stream
216
216
  def FXWindow.octetType; end
@@ -265,12 +265,12 @@ module Fox
265
265
  #
266
266
  # ==== Parameters:
267
267
  #
268
- # +p+:: the parent window for this window [FXComposite]
269
- # +opts+:: window options [Integer]
270
- # +x+:: initial x-position [Integer]
271
- # +y+:: initial y-position [Integer]
272
- # +width+:: initial width [Integer]
273
- # +height+:: initial height [Integer]
268
+ # +p+:: the parent window for this window {FXComposite}
269
+ # +opts+:: window options [Integer]
270
+ # +x+:: initial x-position [Integer]
271
+ # +y+:: initial y-position [Integer]
272
+ # +width+:: initial width [Integer]
273
+ # +height+:: initial height [Integer]
274
274
  #
275
275
  def initialize(p, opts=0, x=0, y=0, width=0, height=0) # :yields: theWindow
276
276
  end
@@ -280,8 +280,8 @@ module Fox
280
280
  #
281
281
  # ==== Parameters:
282
282
  #
283
- # +a+:: an application instance [FXApp]
284
- # +vis+:: the visual to use for this window [FXVisual]
283
+ # +a+:: an application instance {FXApp}
284
+ # +vis+:: the visual to use for this window {FXVisual}
285
285
  #
286
286
  def initialize(a, vis) # :yields: theWindow
287
287
  end
@@ -291,13 +291,13 @@ module Fox
291
291
  #
292
292
  # ==== Parameters:
293
293
  #
294
- # +a+:: an application instance [FXApp]
295
- # +own+:: the owner window for this window [FXWindow]
296
- # +opts+:: window options [Integer]
297
- # +x+:: initial x-position [Integer]
298
- # +y+:: initial y-position [Integer]
299
- # +width+:: initial width [Integer]
300
- # +height+:: initial height [Integer]
294
+ # +a+:: an application instance {FXApp}
295
+ # +own+:: the owner window for this window {FXWindow}
296
+ # +opts+:: window options [Integer]
297
+ # +x+:: initial x-position [Integer]
298
+ # +y+:: initial y-position [Integer]
299
+ # +width+:: initial width [Integer]
300
+ # +height+:: initial height [Integer]
301
301
  #
302
302
  def initialize(a, own, opts, x, y, w, h) # :yields: theWindow
303
303
  end
@@ -613,12 +613,12 @@ module Fox
613
613
  # When dragging, inform the drop target of the new position and
614
614
  # the drag action. The _action_ is a constant, one of:
615
615
  #
616
- # +DRAG_REJECT+:: reject all drop actions
617
- # +DRAG_ACCEPT+:: accept any drop action
618
- # +DRAG_COPY+:: accept this drop as a copy
619
- # +DRAG_MOVE+:: accept this drop as a move
620
- # +DRAG_LINK+:: accept this drop as a link
621
- # +DRAG_PRIVATE+:: private
616
+ # +DRAG_REJECT+:: reject all drop actions
617
+ # +DRAG_ACCEPT+:: accept any drop action
618
+ # +DRAG_COPY+:: accept this drop as a copy
619
+ # +DRAG_MOVE+:: accept this drop as a move
620
+ # +DRAG_LINK+:: accept this drop as a link
621
+ # +DRAG_PRIVATE+:: private
622
622
 
623
623
  def handleDrag(x, y, action=DRAG_COPY) ; end
624
624
 
@@ -637,17 +637,17 @@ module Fox
637
637
 
638
638
  # When being dragged over, indicate we want to receive +SEL_DND_MOTION+ messages
639
639
  # every time the cursor moves
640
- def clearDragRectangle();
640
+ def clearDragRectangle(); end
641
641
 
642
642
  # When being dragged over, indicate acceptance or rejection of the dragged data.
643
643
  # The _action_ is a constant indicating the suggested drag action, one of:
644
644
  #
645
- # +DRAG_REJECT+:: reject all drop actions
646
- # +DRAG_ACCEPT+:: accept any drop action
647
- # +DRAG_COPY+:: accept this drop as a copy
648
- # +DRAG_MOVE+:: accept this drop as a move
649
- # +DRAG_LINK+:: accept this drop as a link
650
- # +DRAG_PRIVATE+:: private
645
+ # +DRAG_REJECT+:: reject all drop actions
646
+ # +DRAG_ACCEPT+:: accept any drop action
647
+ # +DRAG_COPY+:: accept this drop as a copy
648
+ # +DRAG_MOVE+:: accept this drop as a move
649
+ # +DRAG_LINK+:: accept this drop as a link
650
+ # +DRAG_PRIVATE+:: private
651
651
 
652
652
  def acceptDrop(action=DRAG_ACCEPT); end
653
653
 
@@ -663,7 +663,7 @@ module Fox
663
663
  # This function notifies the drag source that its part of the drop transaction
664
664
  # is finished, and that it is free to release any resources involved in the
665
665
  # drag operation.
666
- # Calling #dropFinished is advisable in cases where the drop target needs
666
+ # Calling {#dropFinished} is advisable in cases where the drop target needs
667
667
  # to perform complex processing on the data received from the drag source,
668
668
  # prior to returning from the +SEL_DND_DROP+ message handler.
669
669
  #