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
@@ -7,7 +7,7 @@ module Fox
7
7
  # Text for this item [String]
8
8
  attr_accessor :text
9
9
 
10
- # Icon for this item [FXIcon]
10
+ # Icon for this item {FXIcon}
11
11
  attr_accessor :icon
12
12
 
13
13
  # User data for this item [Object]
@@ -77,31 +77,31 @@ module Fox
77
77
  #
78
78
  # The following messages are sent by FXList to its target:
79
79
  #
80
- # +SEL_CHANGED+:: sent when the current list item changes; the message data is an Integer indicating the index of the current item.
81
- # +SEL_COMMAND+:: sent when the current list item changes; the message data is an Integer indicating the index of the current item.
82
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
83
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
84
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
85
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
86
- # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
87
- # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
88
- # +SEL_CLICKED+:: sent when a list item is single-clicked; the message data is an Integer indicating the index of the current item.
89
- # +SEL_DOUBLECLICKED+:: sent when a list item is double-clicked; the message data is an Integer indicating the index of the current item.
90
- # +SEL_TRIPLECLICKED+:: sent when a list item is triple-clicked; the message data is an Integer indicating the index of the current item.
91
- # +SEL_SELECTED+:: sent when a list item is selected; the message data is an Integer indicating the index of the selected item.
92
- # +SEL_DESELECTED+:: sent when a list item is deselected; the message data is an Integer indicating the index of the deselected item.
93
- # +SEL_REPLACED+:: sent when a list item is about to be replaced; the message data is an Integer indicating the index of the item to be replaced.
94
- # +SEL_INSERTED+:: sent after a list item is inserted; the message data is an Integer indicating the index of the item that was inserted.
95
- # +SEL_DELETED+:: sent when a list item is about to be removed; the message data is an Integer indicating the index of the item to be removed.
80
+ # +SEL_CHANGED+:: sent when the current list item changes; the message data is an Integer indicating the index of the current item.
81
+ # +SEL_COMMAND+:: sent when the current list item changes; the message data is an Integer indicating the index of the current item.
82
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
83
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
84
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
85
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
86
+ # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
87
+ # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
88
+ # +SEL_CLICKED+:: sent when a list item is single-clicked; the message data is an Integer indicating the index of the current item.
89
+ # +SEL_DOUBLECLICKED+:: sent when a list item is double-clicked; the message data is an Integer indicating the index of the current item.
90
+ # +SEL_TRIPLECLICKED+:: sent when a list item is triple-clicked; the message data is an Integer indicating the index of the current item.
91
+ # +SEL_SELECTED+:: sent when a list item is selected; the message data is an Integer indicating the index of the selected item.
92
+ # +SEL_DESELECTED+:: sent when a list item is deselected; the message data is an Integer indicating the index of the deselected item.
93
+ # +SEL_REPLACED+:: sent when a list item is about to be replaced; the message data is an Integer indicating the index of the item to be replaced.
94
+ # +SEL_INSERTED+:: sent after a list item is inserted; the message data is an Integer indicating the index of the item that was inserted.
95
+ # +SEL_DELETED+:: sent when a list item is about to be removed; the message data is an Integer indicating the index of the item to be removed.
96
96
  #
97
97
  # === List styles
98
98
  #
99
- # +LIST_EXTENDEDSELECT+:: Extended selection mode allows for drag-selection of ranges of items
100
- # +LIST_SINGLESELECT+:: Single selection mode allows up to one item to be selected
101
- # +LIST_BROWSESELECT+:: Browse selection mode enforces one single item to be selected at all times
102
- # +LIST_MULTIPLESELECT+:: Multiple selection mode is used for selection of individual items
103
- # +LIST_AUTOSELECT+:: Automatically select under cursor
104
- # +LIST_NORMAL+:: same as +LIST_EXTENDEDSELECT+
99
+ # +LIST_EXTENDEDSELECT+:: Extended selection mode allows for drag-selection of ranges of items
100
+ # +LIST_SINGLESELECT+:: Single selection mode allows up to one item to be selected
101
+ # +LIST_BROWSESELECT+:: Browse selection mode enforces one single item to be selected at all times
102
+ # +LIST_MULTIPLESELECT+:: Multiple selection mode is used for selection of individual items
103
+ # +LIST_AUTOSELECT+:: Automatically select under cursor
104
+ # +LIST_NORMAL+:: same as +LIST_EXTENDEDSELECT+
105
105
  #
106
106
  # === Message identifiers
107
107
  #
@@ -111,7 +111,7 @@ module Fox
111
111
  class FXList < FXScrollArea
112
112
 
113
113
  # Number of items in the list [Integer]
114
- attr_reader :numItems
114
+ attr_reader :numItems
115
115
 
116
116
  # Number of visible items [Integer]
117
117
  attr_accessor :numVisible
@@ -120,21 +120,21 @@ module Fox
120
120
  attr_accessor :currentItem
121
121
 
122
122
  # Index of anchor item, or -1 if no anchor item [Integer]
123
- attr_reader :anchorItem
123
+ attr_reader :anchorItem
124
124
 
125
125
  # Index of item under the cursor, or -1 if none [Integer]
126
- attr_reader :cursorItem
126
+ attr_reader :cursorItem
127
127
 
128
- # Text font [FXFont]
128
+ # Text font {FXFont}
129
129
  attr_accessor :font
130
130
 
131
- # Normal text color [FXColor]
131
+ # Normal text color {FXColor}
132
132
  attr_accessor :textColor
133
133
 
134
- # Selected text background color [FXColor]
134
+ # Selected text background color {FXColor}
135
135
  attr_accessor :selBackColor
136
136
 
137
- # Selected text color [FXColor]
137
+ # Selected text color {FXColor}
138
138
  attr_accessor :selTextColor
139
139
 
140
140
  # List style [Integer]
@@ -303,7 +303,7 @@ module Fox
303
303
  #
304
304
  # Scroll to bring item into view. The argument is either a reference to
305
305
  # an FXListItem instance, or the integer index of an item in the list.
306
- # For the latter case, #makeItemVisible raises IndexError if the index
306
+ # For the latter case, {#makeItemVisible} raises IndexError if the index
307
307
  # is out of bounds.
308
308
  #
309
309
  def makeItemVisible(itemOrIndex) ; end
@@ -19,7 +19,7 @@ module Fox
19
19
  #
20
20
  # === List Box styles
21
21
  #
22
- # +LISTBOX_NORMAL+:: Normal style
22
+ # +LISTBOX_NORMAL+:: Normal style
23
23
  #
24
24
  # === Message identifiers
25
25
  #
@@ -37,19 +37,19 @@ module Fox
37
37
  # Current item's index, or -1 if no current item [Integer]
38
38
  attr_accessor :currentItem
39
39
 
40
- # Text font [FXFont]
40
+ # Text font {FXFont}
41
41
  attr_accessor :font
42
42
 
43
- # Background color [FXColor]
43
+ # Background color {FXColor}
44
44
  attr_reader :backColor
45
45
 
46
- # Text color [FXColor]
46
+ # Text color {FXColor}
47
47
  attr_accessor :textColor
48
48
 
49
- # Background color for selected items [FXColor]
49
+ # Background color for selected items {FXColor}
50
50
  attr_accessor :selBackColor
51
51
 
52
- # Text color for selected items [FXColor]
52
+ # Text color for selected items {FXColor}
53
53
  attr_accessor :selTextColor
54
54
 
55
55
  # Status line help text [String]
@@ -96,7 +96,7 @@ module Fox
96
96
  def insertItem(index, text, icon=nil, ptr=nil); end
97
97
 
98
98
  # Add an item to the end of the list.
99
- def appendItem(text, icon=nil, ptr=nil);
99
+ def appendItem(text, icon=nil, ptr=nil); end
100
100
 
101
101
  # Prepend an item to the list
102
102
  def prependItem(text, icon=nil, ptr=nil); end
@@ -26,32 +26,32 @@ module Fox
26
26
  #
27
27
  # The following messages are sent by FXMDIChild to its target:
28
28
  #
29
- # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
30
- # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
31
- # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
32
- # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
33
- # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
34
- # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
29
+ # +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down; the message data is an FXEvent instance.
30
+ # +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up; the message data is an FXEvent instance.
31
+ # +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down; the message data is an FXEvent instance.
32
+ # +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up; the message data is an FXEvent instance.
33
+ # +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down; the message data is an FXEvent instance.
34
+ # +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up; the message data is an FXEvent instance.
35
35
  # +SEL_SELECTED+::
36
36
  # sent when the window is selected; the message data is a reference to the MDI client's previous active
37
37
  # child window, or +nil+ if there was no active child window.
38
38
  # +SEL_DESELECTED+::
39
39
  # sent when the window is deselected; the message data is a reference to the MDI client's new active child window,
40
40
  # or +nil+ if there is no active child window.
41
- # +SEL_MAXIMIZE+:: sent when the window is maximized
42
- # +SEL_MINIMIZE+:: sent when the window is minimized
43
- # +SEL_RESTORE+:: sent when the window is restored to its normal size and position
41
+ # +SEL_MAXIMIZE+:: sent when the window is maximized
42
+ # +SEL_MINIMIZE+:: sent when the window is minimized
43
+ # +SEL_RESTORE+:: sent when the window is restored to its normal size and position
44
44
  # +SEL_CLOSE+::
45
45
  # sent when the user is trying to close this window. The message handler for this message should
46
46
  # return 1 (or true) if the target objects to closing the window; otherwise it should just return false (or zero).
47
- # +SEL_DELETE+:: sent immediately before this window is destroyed
47
+ # +SEL_DELETE+:: sent immediately before this window is destroyed
48
48
  #
49
49
  # === MDI Child Window styles
50
50
  #
51
- # +MDI_NORMAL+:: Normal display mode
52
- # +MDI_MAXIMIZED+:: Window appears maximized
53
- # +MDI_MINIMIZED+:: Window is iconified or minimized
54
- # +MDI_TRACKING+:: Track continuously during dragging
51
+ # +MDI_NORMAL+:: Normal display mode
52
+ # +MDI_MAXIMIZED+:: Window appears maximized
53
+ # +MDI_MINIMIZED+:: Window is iconified or minimized
54
+ # +MDI_TRACKING+:: Track continuously during dragging
55
55
  #
56
56
  class FXMDIChild < FXComposite
57
57
 
@@ -79,37 +79,37 @@ module Fox
79
79
  # Iconified height [Integer]
80
80
  attr_accessor :iconHeight
81
81
 
82
- # Content window [FXWindow]
82
+ # Content window {FXWindow}
83
83
  attr_reader :contentWindow
84
84
 
85
85
  # Window title [String]
86
86
  attr_accessor :title
87
87
 
88
- # Highlight color [FXColor]
88
+ # Highlight color {FXColor}
89
89
  attr_accessor :hiliteColor
90
90
 
91
- # Shadow color [FXColor]
91
+ # Shadow color {FXColor}
92
92
  attr_accessor :shadowColor
93
93
 
94
- # Base color [FXColor]
94
+ # Base color {FXColor}
95
95
  attr_accessor :baseColor
96
96
 
97
- # Border color [FXColor]
97
+ # Border color {FXColor}
98
98
  attr_accessor :borderColor
99
99
 
100
- # Title color [FXColor]
100
+ # Title color {FXColor}
101
101
  attr_accessor :titleColor
102
102
 
103
- # Title background color [FXColor]
103
+ # Title background color {FXColor}
104
104
  attr_accessor :titleBackColor
105
105
 
106
- # Window icon [FXIcon]
106
+ # Window icon {FXIcon}
107
107
  attr_accessor :icon
108
108
 
109
- # Window menu [FXPopup]
109
+ # Window menu {FXPopup}
110
110
  attr_accessor :menu
111
111
 
112
- # Title font [FXFont]
112
+ # Title font {FXFont}
113
113
  attr_accessor :font
114
114
 
115
115
  # Construct MDI Child window with given name and icon
@@ -25,7 +25,7 @@ module Fox
25
25
  #
26
26
  class FXMDIClient < FXComposite
27
27
 
28
- # Active MDI child window, or +nil+ if none [FXMDIChild].
28
+ # Active MDI child window, or +nil+ if none {FXMDIChild}.
29
29
  attr_accessor :activeChild
30
30
 
31
31
  # Cascade offset X [Integer]
@@ -18,8 +18,8 @@ module Fox
18
18
  #
19
19
  # === Matrix packing options
20
20
  #
21
- # +MATRIX_BY_ROWS+:: Fixed number of rows, add columns as needed
22
- # +MATRIX_BY_COLUMNS+:: Fixed number of columns, adding rows as needed
21
+ # +MATRIX_BY_ROWS+:: Fixed number of rows, add columns as needed
22
+ # +MATRIX_BY_COLUMNS+:: Fixed number of columns, adding rows as needed
23
23
  #
24
24
  class FXMatrix < FXPacker
25
25
 
@@ -8,7 +8,7 @@ module Fox
8
8
  #
9
9
  # ==== Parameters:
10
10
  #
11
- # +data+:: the initial array of FXColor values.
11
+ # +data+:: the initial array of FXColor values.
12
12
  #
13
13
  def initialize(data); end
14
14
 
@@ -17,7 +17,7 @@ module Fox
17
17
  #
18
18
  # ==== Parameters:
19
19
  #
20
- # +cont+:: the container object, or +nil+ if there is none [FXObject].
20
+ # +cont+:: the container object, or +nil+ if there is none {FXObject}.
21
21
  #
22
22
  def initialize(cont=nil) # :yields: theMemoryStream
23
23
  end
@@ -18,46 +18,46 @@ module Fox
18
18
  #
19
19
  # The following messages are sent by FXMenuButton to its target:
20
20
  #
21
- # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
22
- # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
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.
21
+ # +SEL_KEYPRESS+:: sent when a key goes down; the message data is an FXEvent instance.
22
+ # +SEL_KEYRELEASE+:: sent when a key goes up; the message data is an FXEvent instance.
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
25
  #
26
26
  # === Menu Button Style Flags
27
27
  #
28
28
  # Any combination of the following flags can be assigned as the menu
29
29
  # button style flags.
30
30
  #
31
- # +MENUBUTTON_AUTOGRAY+:: Automatically gray out when no target
32
- # +MENUBUTTON_AUTOHIDE+:: Automatically hide when no target
33
- # +MENUBUTTON_TOOLBAR+:: Toolbar style
34
- # +MENUBUTTON_NOARROWS+:: Do not show arrows
31
+ # +MENUBUTTON_AUTOGRAY+:: Automatically gray out when no target
32
+ # +MENUBUTTON_AUTOHIDE+:: Automatically hide when no target
33
+ # +MENUBUTTON_TOOLBAR+:: Toolbar style
34
+ # +MENUBUTTON_NOARROWS+:: Do not show arrows
35
35
  #
36
36
  # === Menu Button Popup Style
37
37
  #
38
38
  # Any one of the following options can be assigned as the menu
39
39
  # button's popup style.
40
40
  #
41
- # +MENUBUTTON_DOWN+:: Popup window appears below menu button
42
- # +MENUBUTTON_UP+:: Popup window appears above menu button
43
- # +MENUBUTTON_LEFT+:: Popup window to the left of the menu button
44
- # +MENUBUTTON_RIGHT+:: Popup window to the right of the menu button
41
+ # +MENUBUTTON_DOWN+:: Popup window appears below menu button
42
+ # +MENUBUTTON_UP+:: Popup window appears above menu button
43
+ # +MENUBUTTON_LEFT+:: Popup window to the left of the menu button
44
+ # +MENUBUTTON_RIGHT+:: Popup window to the right of the menu button
45
45
  #
46
46
  # === Menu Button Attachment
47
47
  #
48
48
  # Any combination of the following flags can be assigned as the menu
49
49
  # button's attachment flags.
50
50
  #
51
- # +MENUBUTTON_ATTACH_LEFT+:: Popup attaches to the left side of the menu button
52
- # +MENUBUTTON_ATTACH_TOP+:: Popup attaches to the top of the menu button
53
- # +MENUBUTTON_ATTACH_RIGHT+:: Popup attaches to the right side of the menu button
54
- # +MENUBUTTON_ATTACH_BOTTOM+:: Popup attaches to the bottom of the menu button
55
- # +MENUBUTTON_ATTACH_CENTER+:: Popup attaches to the center of the menu button
56
- # +MENUBUTTON_ATTACH_BOTH+:: Popup attaches to both sides of the menu button
51
+ # +MENUBUTTON_ATTACH_LEFT+:: Popup attaches to the left side of the menu button
52
+ # +MENUBUTTON_ATTACH_TOP+:: Popup attaches to the top of the menu button
53
+ # +MENUBUTTON_ATTACH_RIGHT+:: Popup attaches to the right side of the menu button
54
+ # +MENUBUTTON_ATTACH_BOTTOM+:: Popup attaches to the bottom of the menu button
55
+ # +MENUBUTTON_ATTACH_CENTER+:: Popup attaches to the center of the menu button
56
+ # +MENUBUTTON_ATTACH_BOTH+:: Popup attaches to both sides of the menu button
57
57
  #
58
58
  class FXMenuButton < FXLabel
59
59
 
60
- # The popup menu [FXPopup]
60
+ # The popup menu {FXPopup}
61
61
  attr_accessor :menu
62
62
 
63
63
  # X-offset where menu pops up relative to button [Integer]
@@ -79,6 +79,7 @@ module Fox
79
79
  # Constructor
80
80
  #
81
81
  def initialize(parent, text, icon=nil, popupMenu=nil, opts=JUSTIFY_NORMAL|ICON_BEFORE_TEXT|MENUBUTTON_DOWN, x=0, y=0, width=0, height=0, padLeft=DEFAULT_SPACING, padRight=DEFAULT_SPACING, padTop=DEFAULT_SPACING, padBottom=DEFAULT_SPACING) # :yields: theMenuButton
82
+ end
82
83
  end
83
84
  end
84
85
 
@@ -5,33 +5,33 @@ module Fox
5
5
  #
6
6
  # === Menu caption options
7
7
  #
8
- # +MENU_AUTOGRAY+:: Automatically gray out when not updated
9
- # +MENU_AUTOHIDE+:: Automatically hide button when not updated
8
+ # +MENU_AUTOGRAY+:: Automatically gray out when not updated
9
+ # +MENU_AUTOHIDE+:: Automatically hide button when not updated
10
10
  #
11
11
  class FXMenuCaption < FXWindow
12
12
 
13
13
  # The text for this menu [String]
14
14
  attr_accessor :text
15
15
 
16
- # The icon for this menu [FXIcon]
16
+ # The icon for this menu {FXIcon}
17
17
  attr_accessor :icon
18
18
 
19
- # The text font [FXFont]
19
+ # The text font {FXFont}
20
20
  attr_accessor :font
21
21
 
22
- # Text color [FXColor]
22
+ # Text color {FXColor}
23
23
  attr_accessor :textColor
24
24
 
25
- # Selection background color [FXColor]
25
+ # Selection background color {FXColor}
26
26
  attr_accessor :selBackColor
27
27
 
28
- # Selection text color [FXColor]
28
+ # Selection text color {FXColor}
29
29
  attr_accessor :selTextColor
30
30
 
31
- # Highlight color [FXColor]
31
+ # Highlight color {FXColor}
32
32
  attr_accessor :hiliteColor
33
33
 
34
- # Shadow color [FXColor]
34
+ # Shadow color {FXColor}
35
35
  attr_accessor :shadowColor
36
36
 
37
37
  # Status line help text for this menu [String]
@@ -5,7 +5,7 @@ module Fox
5
5
  #
6
6
  class FXMenuCascade < FXMenuCaption
7
7
 
8
- # The popup menu [FXPopup]
8
+ # The popup menu {FXPopup}
9
9
  attr_accessor :menu
10
10
 
11
11
  #
@@ -10,14 +10,14 @@ module Fox
10
10
  #
11
11
  # The following messages are sent by FXMenuCheck to its target:
12
12
  #
13
- # +SEL_COMMAND+:: sent when the command is activated
13
+ # +SEL_COMMAND+:: sent when the command is activated
14
14
  #
15
15
  class FXMenuCheck < FXMenuCommand
16
16
 
17
17
  # Check state, one of +TRUE+, +FALSE+ or +MAYBE+
18
18
  attr_accessor :check
19
19
 
20
- # Box background color [FXColor]
20
+ # Box background color {FXColor}
21
21
  attr_accessor :boxColor
22
22
 
23
23
  #
@@ -9,7 +9,7 @@ module Fox
9
9
  #
10
10
  # The following messages are sent by FXMenuCommand to its target:
11
11
  #
12
- # +SEL_COMMAND+:: sent when the command is activated
12
+ # +SEL_COMMAND+:: sent when the command is activated
13
13
  #
14
14
  class FXMenuCommand < FXMenuCaption
15
15
 
@@ -13,14 +13,14 @@ module Fox
13
13
  #
14
14
  # The following messages are sent by FXMenuRadio to its target:
15
15
  #
16
- # +SEL_COMMAND+:: sent when the command is activated
16
+ # +SEL_COMMAND+:: sent when the command is activated
17
17
  #
18
18
  class FXMenuRadio < FXMenuCommand
19
19
 
20
20
  # Radio button state, one of +TRUE+, +FALSE+ or +MAYBE+
21
21
  attr_accessor :check
22
22
 
23
- # Radio background color [FXColor]
23
+ # Radio background color {FXColor}
24
24
  attr_accessor :radioColor
25
25
 
26
26
  #