fxruby 1.6.42 → 1.6.43

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/.yardopts +1 -1
  4. data/Gemfile +1 -2
  5. data/History.md +11 -0
  6. data/README.rdoc +4 -4
  7. data/Rakefile +10 -0
  8. data/appveyor.yml +4 -0
  9. data/docs/Fox.html +11184 -0
  10. data/docs/Fox/Canvas.html +141 -0
  11. data/docs/Fox/Canvas/CanvasError.html +124 -0
  12. data/docs/Fox/Canvas/CircleShape.html +477 -0
  13. data/docs/Fox/Canvas/ImageShape.html +477 -0
  14. data/docs/Fox/Canvas/LineShape.html +1005 -0
  15. data/docs/Fox/Canvas/PolygonShape.html +145 -0
  16. data/docs/Fox/Canvas/RectangleShape.html +439 -0
  17. data/docs/Fox/Canvas/SelectionPolicy.html +352 -0
  18. data/docs/Fox/Canvas/Shape.html +1955 -0
  19. data/docs/Fox/Canvas/ShapeCanvas.html +2031 -0
  20. data/docs/Fox/Canvas/ShapeGroup.html +527 -0
  21. data/docs/Fox/Canvas/SingleSelectionPolicy.html +291 -0
  22. data/docs/Fox/Canvas/TextShape.html +609 -0
  23. data/docs/Fox/FTNonModal.html +550 -0
  24. data/docs/Fox/FX4Splitter.html +1336 -0
  25. data/docs/Fox/FX7Segment.html +1010 -0
  26. data/docs/Fox/FXAccelTable.html +715 -0
  27. data/docs/Fox/FXApp.html +7998 -0
  28. data/docs/Fox/FXArc.html +562 -0
  29. data/docs/Fox/FXArrowButton.html +865 -0
  30. data/docs/Fox/FXBMPIcon.html +450 -0
  31. data/docs/Fox/FXBMPImage.html +434 -0
  32. data/docs/Fox/FXBitmap.html +1362 -0
  33. data/docs/Fox/FXBitmapFrame.html +595 -0
  34. data/docs/Fox/FXBitmapView.html +1451 -0
  35. data/docs/Fox/FXButton.html +534 -0
  36. data/docs/Fox/FXCURCursor.html +261 -0
  37. data/docs/Fox/FXCalendar.html +880 -0
  38. data/docs/Fox/FXCanvas.html +311 -0
  39. data/docs/Fox/FXCheckButton.html +949 -0
  40. data/docs/Fox/FXChoiceBox.html +472 -0
  41. data/docs/Fox/FXColor.html +1519 -0
  42. data/docs/Fox/FXColorBar.html +759 -0
  43. data/docs/Fox/FXColorDialog.html +591 -0
  44. data/docs/Fox/FXColorItem.html +323 -0
  45. data/docs/Fox/FXColorList.html +712 -0
  46. data/docs/Fox/FXColorRing.html +817 -0
  47. data/docs/Fox/FXColorSelector.html +796 -0
  48. data/docs/Fox/FXColorWell.html +850 -0
  49. data/docs/Fox/FXColorWheel.html +770 -0
  50. data/docs/Fox/FXComboBox.html +2939 -0
  51. data/docs/Fox/FXComboTableItem.html +544 -0
  52. data/docs/Fox/FXCommand.html +526 -0
  53. data/docs/Fox/FXComposite.html +433 -0
  54. data/docs/Fox/FXCursor.html +779 -0
  55. data/docs/Fox/FXDC.html +5231 -0
  56. data/docs/Fox/FXDCPrint.html +696 -0
  57. data/docs/Fox/FXDCWindow.html +358 -0
  58. data/docs/Fox/FXDataTarget.html +573 -0
  59. data/docs/Fox/FXDebugTarget.html +305 -0
  60. data/docs/Fox/FXDelegator.html +305 -0
  61. data/docs/Fox/FXDial.html +1133 -0
  62. data/docs/Fox/FXDialogBox.html +413 -0
  63. data/docs/Fox/FXDict.html +1063 -0
  64. data/docs/Fox/FXDirBox.html +752 -0
  65. data/docs/Fox/FXDirDialog.html +914 -0
  66. data/docs/Fox/FXDirItem.html +989 -0
  67. data/docs/Fox/FXDirList.html +1554 -0
  68. data/docs/Fox/FXDirSelector.html +995 -0
  69. data/docs/Fox/FXDockBar.html +1451 -0
  70. data/docs/Fox/FXDockHandler.html +468 -0
  71. data/docs/Fox/FXDockSite.html +678 -0
  72. data/docs/Fox/FXDockTitle.html +606 -0
  73. data/docs/Fox/FXDocument.html +536 -0
  74. data/docs/Fox/FXDragCorner.html +440 -0
  75. data/docs/Fox/FXDrawable.html +478 -0
  76. data/docs/Fox/FXDriveBox.html +746 -0
  77. data/docs/Fox/FXEvent.html +1736 -0
  78. data/docs/Fox/FXExtentd.html +1374 -0
  79. data/docs/Fox/FXExtentf.html +1374 -0
  80. data/docs/Fox/FXFileAssoc.html +850 -0
  81. data/docs/Fox/FXFileDialog.html +2688 -0
  82. data/docs/Fox/FXFileDict.html +1058 -0
  83. data/docs/Fox/FXFileItem.html +1141 -0
  84. data/docs/Fox/FXFileList.html +2259 -0
  85. data/docs/Fox/FXFileSelector.html +2529 -0
  86. data/docs/Fox/FXFileStream.html +503 -0
  87. data/docs/Fox/FXFoldingItem.html +2822 -0
  88. data/docs/Fox/FXFoldingList.html +5189 -0
  89. data/docs/Fox/FXFont.html +2998 -0
  90. data/docs/Fox/FXFontDesc.html +710 -0
  91. data/docs/Fox/FXFontDialog.html +420 -0
  92. data/docs/Fox/FXFontSelector.html +576 -0
  93. data/docs/Fox/FXFrame.html +1012 -0
  94. data/docs/Fox/FXGIFCursor.html +337 -0
  95. data/docs/Fox/FXGIFIcon.html +450 -0
  96. data/docs/Fox/FXGIFImage.html +434 -0
  97. data/docs/Fox/FXGLCanvas.html +700 -0
  98. data/docs/Fox/FXGLCone.html +785 -0
  99. data/docs/Fox/FXGLContext.html +649 -0
  100. data/docs/Fox/FXGLCube.html +703 -0
  101. data/docs/Fox/FXGLCylinder.html +791 -0
  102. data/docs/Fox/FXGLGroup.html +1385 -0
  103. data/docs/Fox/FXGLLine.html +653 -0
  104. data/docs/Fox/FXGLObject.html +759 -0
  105. data/docs/Fox/FXGLPoint.html +561 -0
  106. data/docs/Fox/FXGLShape.html +714 -0
  107. data/docs/Fox/FXGLSphere.html +626 -0
  108. data/docs/Fox/FXGLViewer.html +3506 -0
  109. data/docs/Fox/FXGLVisual.html +2147 -0
  110. data/docs/Fox/FXGradient.html +562 -0
  111. data/docs/Fox/FXGradientBar.html +2479 -0
  112. data/docs/Fox/FXGroupBox.html +688 -0
  113. data/docs/Fox/FXHeader.html +3040 -0
  114. data/docs/Fox/FXHeaderItem.html +1353 -0
  115. data/docs/Fox/FXHiliteStyle.html +804 -0
  116. data/docs/Fox/FXHorizontalFrame.html +359 -0
  117. data/docs/Fox/FXHorizontalSeparator.html +349 -0
  118. data/docs/Fox/FXICOIcon.html +450 -0
  119. data/docs/Fox/FXICOImage.html +434 -0
  120. data/docs/Fox/FXIcon.html +384 -0
  121. data/docs/Fox/FXIconDict.html +752 -0
  122. data/docs/Fox/FXIconItem.html +1518 -0
  123. data/docs/Fox/FXIconList.html +4676 -0
  124. data/docs/Fox/FXIconSource.html +963 -0
  125. data/docs/Fox/FXId.html +712 -0
  126. data/docs/Fox/FXImage.html +2328 -0
  127. data/docs/Fox/FXImageFrame.html +489 -0
  128. data/docs/Fox/FXImageView.html +504 -0
  129. data/docs/Fox/FXInputDialog.html +894 -0
  130. data/docs/Fox/FXIrb.html +942 -0
  131. data/docs/Fox/FXJPGIcon.html +607 -0
  132. data/docs/Fox/FXJPGImage.html +591 -0
  133. data/docs/Fox/FXKnob.html +1048 -0
  134. data/docs/Fox/FXLabel.html +1013 -0
  135. data/docs/Fox/FXLight.html +920 -0
  136. data/docs/Fox/FXList.html +3717 -0
  137. data/docs/Fox/FXListBox.html +2518 -0
  138. data/docs/Fox/FXListItem.html +1459 -0
  139. data/docs/Fox/FXMDIChild.html +2175 -0
  140. data/docs/Fox/FXMDIClient.html +781 -0
  141. data/docs/Fox/FXMDIDeleteButton.html +334 -0
  142. data/docs/Fox/FXMDIMaximizeButton.html +334 -0
  143. data/docs/Fox/FXMDIMenu.html +335 -0
  144. data/docs/Fox/FXMDIMinimizeButton.html +334 -0
  145. data/docs/Fox/FXMDIRestoreButton.html +334 -0
  146. data/docs/Fox/FXMDIWindowButton.html +334 -0
  147. data/docs/Fox/FXMainWindow.html +337 -0
  148. data/docs/Fox/FXMaterial.html +570 -0
  149. data/docs/Fox/FXMatrix.html +734 -0
  150. data/docs/Fox/FXMemoryBuffer.html +472 -0
  151. data/docs/Fox/FXMemoryStream.html +632 -0
  152. data/docs/Fox/FXMenuBar.html +347 -0
  153. data/docs/Fox/FXMenuButton.html +829 -0
  154. data/docs/Fox/FXMenuCaption.html +1080 -0
  155. data/docs/Fox/FXMenuCascade.html +388 -0
  156. data/docs/Fox/FXMenuCheck.html +721 -0
  157. data/docs/Fox/FXMenuCommand.html +400 -0
  158. data/docs/Fox/FXMenuPane.html +333 -0
  159. data/docs/Fox/FXMenuRadio.html +721 -0
  160. data/docs/Fox/FXMenuSeparator.html +440 -0
  161. data/docs/Fox/FXMenuTitle.html +405 -0
  162. data/docs/Fox/FXMessageBox.html +658 -0
  163. data/docs/Fox/FXObject.html +545 -0
  164. data/docs/Fox/FXOption.html +491 -0
  165. data/docs/Fox/FXOptionMenu.html +885 -0
  166. data/docs/Fox/FXPCXIcon.html +450 -0
  167. data/docs/Fox/FXPCXImage.html +434 -0
  168. data/docs/Fox/FXPNGIcon.html +524 -0
  169. data/docs/Fox/FXPNGImage.html +508 -0
  170. data/docs/Fox/FXPPMIcon.html +450 -0
  171. data/docs/Fox/FXPPMImage.html +373 -0
  172. data/docs/Fox/FXPSBounds.html +500 -0
  173. data/docs/Fox/FXPacker.html +1229 -0
  174. data/docs/Fox/FXPicker.html +345 -0
  175. data/docs/Fox/FXPopup.html +1099 -0
  176. data/docs/Fox/FXPrintDialog.html +485 -0
  177. data/docs/Fox/FXPrinter.html +1330 -0
  178. data/docs/Fox/FXProgressBar.html +1150 -0
  179. data/docs/Fox/FXProgressDialog.html +715 -0
  180. data/docs/Fox/FXPseudoKeyboard.html +428 -0
  181. data/docs/Fox/FXPseudoMouse.html +800 -0
  182. data/docs/Fox/FXPseudoTarget.html +472 -0
  183. data/docs/Fox/FXQuatd.html +1377 -0
  184. data/docs/Fox/FXQuatf.html +1392 -0
  185. data/docs/Fox/FXRGBIcon.html +450 -0
  186. data/docs/Fox/FXRGBImage.html +434 -0
  187. data/docs/Fox/FXRadioButton.html +885 -0
  188. data/docs/Fox/FXRanged.html +1522 -0
  189. data/docs/Fox/FXRangef.html +1522 -0
  190. data/docs/Fox/FXRealSlider.html +1187 -0
  191. data/docs/Fox/FXRealSpinner.html +2175 -0
  192. data/docs/Fox/FXRecentFiles.html +841 -0
  193. data/docs/Fox/FXRectangle.html +802 -0
  194. data/docs/Fox/FXRegion.html +841 -0
  195. data/docs/Fox/FXRegistry.html +682 -0
  196. data/docs/Fox/FXReplaceDialog.html +648 -0
  197. data/docs/Fox/FXRootWindow.html +312 -0
  198. data/docs/Fox/FXRuler.html +2000 -0
  199. data/docs/Fox/FXRulerView.html +3997 -0
  200. data/docs/Fox/FXScintilla.html +49117 -0
  201. data/docs/Fox/FXScrollArea.html +1363 -0
  202. data/docs/Fox/FXScrollBar.html +1019 -0
  203. data/docs/Fox/FXScrollCorner.html +290 -0
  204. data/docs/Fox/FXScrollPane.html +499 -0
  205. data/docs/Fox/FXScrollWindow.html +409 -0
  206. data/docs/Fox/FXSearchDialog.html +382 -0
  207. data/docs/Fox/FXSegment.html +422 -0
  208. data/docs/Fox/FXSeparator.html +402 -0
  209. data/docs/Fox/FXSettings.html +1861 -0
  210. data/docs/Fox/FXShell.html +233 -0
  211. data/docs/Fox/FXShutter.html +472 -0
  212. data/docs/Fox/FXShutterItem.html +669 -0
  213. data/docs/Fox/FXSize.html +592 -0
  214. data/docs/Fox/FXSlider.html +1129 -0
  215. data/docs/Fox/FXSphered.html +906 -0
  216. data/docs/Fox/FXSpheref.html +906 -0
  217. data/docs/Fox/FXSpinner.html +2102 -0
  218. data/docs/Fox/FXSplashScreen.html +497 -0
  219. data/docs/Fox/FXSplashWindow.html +494 -0
  220. data/docs/Fox/FXSplitter.html +643 -0
  221. data/docs/Fox/FXSpring.html +517 -0
  222. data/docs/Fox/FXStatusBar.html +593 -0
  223. data/docs/Fox/FXStatusLine.html +754 -0
  224. data/docs/Fox/FXStream.html +1372 -0
  225. data/docs/Fox/FXStreamAllocError.html +148 -0
  226. data/docs/Fox/FXStreamEndError.html +148 -0
  227. data/docs/Fox/FXStreamError.html +259 -0
  228. data/docs/Fox/FXStreamFailureError.html +148 -0
  229. data/docs/Fox/FXStreamFormatError.html +148 -0
  230. data/docs/Fox/FXStreamFullError.html +148 -0
  231. data/docs/Fox/FXStreamNoReadError.html +148 -0
  232. data/docs/Fox/FXStreamNoWriteError.html +148 -0
  233. data/docs/Fox/FXStreamUnknownError.html +148 -0
  234. data/docs/Fox/FXStringDict.html +552 -0
  235. data/docs/Fox/FXSwitcher.html +619 -0
  236. data/docs/Fox/FXTGAIcon.html +450 -0
  237. data/docs/Fox/FXTGAImage.html +434 -0
  238. data/docs/Fox/FXTIFIcon.html +604 -0
  239. data/docs/Fox/FXTIFImage.html +588 -0
  240. data/docs/Fox/FXTabBar.html +644 -0
  241. data/docs/Fox/FXTabBook.html +373 -0
  242. data/docs/Fox/FXTabItem.html +478 -0
  243. data/docs/Fox/FXTable.html +10107 -0
  244. data/docs/Fox/FXTableItem.html +2195 -0
  245. data/docs/Fox/FXTablePos.html +360 -0
  246. data/docs/Fox/FXTableRange.html +360 -0
  247. data/docs/Fox/FXText.html +6870 -0
  248. data/docs/Fox/FXTextChange.html +492 -0
  249. data/docs/Fox/FXTextField.html +2016 -0
  250. data/docs/Fox/FXToggleButton.html +844 -0
  251. data/docs/Fox/FXToolBar.html +452 -0
  252. data/docs/Fox/FXToolBarGrip.html +584 -0
  253. data/docs/Fox/FXToolBarShell.html +788 -0
  254. data/docs/Fox/FXToolBarTab.html +729 -0
  255. data/docs/Fox/FXToolTip.html +761 -0
  256. data/docs/Fox/FXTopWindow.html +1716 -0
  257. data/docs/Fox/FXTranslator.html +481 -0
  258. data/docs/Fox/FXTreeItem.html +2813 -0
  259. data/docs/Fox/FXTreeList.html +5095 -0
  260. data/docs/Fox/FXTreeListBox.html +3080 -0
  261. data/docs/Fox/FXTriStateButton.html +681 -0
  262. data/docs/Fox/FXUndoList.html +2560 -0
  263. data/docs/Fox/FXVec2d.html +1450 -0
  264. data/docs/Fox/FXVec2f.html +1442 -0
  265. data/docs/Fox/FXVec3d.html +1649 -0
  266. data/docs/Fox/FXVec3f.html +1649 -0
  267. data/docs/Fox/FXVec4d.html +1858 -0
  268. data/docs/Fox/FXVec4f.html +1858 -0
  269. data/docs/Fox/FXVerticalFrame.html +359 -0
  270. data/docs/Fox/FXVerticalSeparator.html +349 -0
  271. data/docs/Fox/FXViewport.html +780 -0
  272. data/docs/Fox/FXVisual.html +1023 -0
  273. data/docs/Fox/FXWindow.html +9948 -0
  274. data/docs/Fox/FXWizard.html +1052 -0
  275. data/docs/Fox/FXXBMIcon.html +453 -0
  276. data/docs/Fox/FXXBMImage.html +437 -0
  277. data/docs/Fox/FXXPMIcon.html +450 -0
  278. data/docs/Fox/FXXPMImage.html +434 -0
  279. data/docs/Fox/NotifyHeader.html +286 -0
  280. data/docs/Fox/SCNotification.html +1438 -0
  281. data/docs/Fox/TextRange.html +281 -0
  282. data/docs/IRB.html +204 -0
  283. data/docs/Responder.html +693 -0
  284. data/docs/Responder2.html +225 -0
  285. data/docs/_index.html +2101 -0
  286. data/docs/class_list.html +51 -0
  287. data/docs/css/common.css +1 -0
  288. data/docs/css/full_list.css +58 -0
  289. data/docs/css/style.css +496 -0
  290. data/docs/file.History.html +869 -0
  291. data/docs/file.README.html +104 -0
  292. data/docs/file_list.html +66 -0
  293. data/docs/frames.html +17 -0
  294. data/docs/index.html +614 -0
  295. data/docs/js/app.js +314 -0
  296. data/docs/js/full_list.js +216 -0
  297. data/docs/js/jquery.js +4 -0
  298. data/docs/method_list.html +31043 -0
  299. data/docs/top-level-namespace.html +214 -0
  300. data/examples/canvasdemo.rb +5 -1
  301. data/examples/gltest.rb +162 -106
  302. data/examples/glviewer.rb +12 -8
  303. data/ext/fox16_c/extconf.rb +1 -1
  304. data/fxruby.gemspec +1 -1
  305. data/lib/fox16/canvas.rb +76 -45
  306. data/lib/fox16/glgroup.rb +5 -5
  307. data/lib/fox16/glshapes.rb +111 -99
  308. data/lib/fox16/version.rb +1 -1
  309. metadata +298 -4
@@ -0,0 +1,2479 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Fox::FXGradientBar
8
+
9
+ &mdash; FXRuby API Documentation
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Fox::FXGradientBar";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (F)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span>
41
+ &raquo;
42
+ <span class="title">FXGradientBar</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Fox::FXGradientBar
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="FXFrame.html" title="Fox::FXFrame (class)">FXFrame</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next"><span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></li>
78
+
79
+ <li class="next"><span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></li>
80
+
81
+ <li class="next"><span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></li>
82
+
83
+ <li class="next"><span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></li>
84
+
85
+ <li class="next"><span class='object_link'><a href="FXFrame.html" title="Fox::FXFrame (class)">FXFrame</a></span></li>
86
+
87
+ <li class="next">Fox::FXGradientBar</li>
88
+
89
+ </ul>
90
+ <a href="#" class="inheritanceTree">show all</a>
91
+
92
+ </dd>
93
+ </dl>
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+ <dl>
106
+ <dt>Defined in:</dt>
107
+ <dd>rdoc-sources/FXGradientBar.rb</dd>
108
+ </dl>
109
+
110
+ </div>
111
+
112
+ <h2>Overview</h2><div class="docstring">
113
+ <div class="discussion">
114
+
115
+ <p>The FXGradientBar is a control that is used to edit color gradient, such as used in texture mapping and shape filling.</p>
116
+
117
+ <h3 id="label-Events">Events</h3>
118
+
119
+ <p>The following messages are sent by FXGradientBar to its target:</p>
120
+ <dl class="rdoc-list note-list"><dt><code>SEL_LEFTBUTTONPRESS</code>
121
+ <dd>
122
+ <p>sent when the left mouse button goes down; the message data is an FXEvent instance.</p>
123
+ </dd><dt><code>SEL_LEFTBUTTONRELEASE</code>
124
+ <dd>
125
+ <p>sent when the left mouse button goes up; the message data is an FXEvent instance.</p>
126
+ </dd><dt><code>SEL_CHANGED</code>
127
+ <dd>
128
+ <p>sent when anything about a segment changes; the message data is an integer indicating the segment number</p>
129
+ </dd><dt><code>SEL_SELECTED</code>
130
+ <dd>
131
+ <p>sent when one or more segments are selected.</p>
132
+ </dd><dt><code>SEL_DESELECTED</code>
133
+ <dd>
134
+ <p>sent when one or more segments are deselected.</p>
135
+ </dd></dl>
136
+
137
+ <h3 id="label-Gradient+bar+orientation">Gradient bar orientation</h3>
138
+ <dl class="rdoc-list note-list"><dt><code>GRADIENTBAR_HORIZONTAL</code>
139
+ <dd>
140
+ <p>Gradient bar shown horizontally</p>
141
+ </dd><dt><code>GRADIENTBAR_VERTICAL</code>
142
+ <dd>
143
+ <p>Gradient bar shown vertically</p>
144
+ </dd><dt><code>GRADIENTBAR_NO_CONTROLS</code>
145
+ <dd>
146
+ <p>No controls shown</p>
147
+ </dd><dt><code>GRADIENTBAR_CONTROLS_TOP</code>
148
+ <dd>
149
+ <p>Controls on top</p>
150
+ </dd><dt><code>GRADIENTBAR_CONTROLS_BOTTOM</code>
151
+ <dd>
152
+ <p>Controls on bottom</p>
153
+ </dd><dt><code>GRADIENTBAR_CONTROLS_LEFT</code>
154
+ <dd>
155
+ <p>Controls on left</p>
156
+ </dd><dt><code>GRADIENTBAR_CONTROLS_RIGHT</code>
157
+ <dd>
158
+ <p>Controls on right</p>
159
+ </dd></dl>
160
+
161
+ <h3 id="label-Blend+modes">Blend modes</h3>
162
+ <dl class="rdoc-list note-list"><dt><code>GRADIENT_BLEND_LINEAR</code>
163
+ <dd>
164
+ <p>Linear blend</p>
165
+ </dd><dt><code>GRADIENT_BLEND_POWER</code>
166
+ <dd>
167
+ <p>Power law blend</p>
168
+ </dd><dt><code>GRADIENT_BLEND_SINE</code>
169
+ <dd>
170
+ <p>Sine blend</p>
171
+ </dd><dt><code>GRADIENT_BLEND_INCREASING</code>
172
+ <dd>
173
+ <p>Quadratic increasing blend</p>
174
+ </dd><dt><code>GRADIENT_BLEND_DECREASING</code>
175
+ <dd>
176
+ <p>Quadratic decreasing blend</p>
177
+ </dd></dl>
178
+
179
+ <h3 id="label-Message+identifiers">Message identifiers</h3>
180
+ <dl class="rdoc-list note-list"><dt><code>ID_LOWER_COLOR</code>
181
+ <dd>
182
+ <p>write me</p>
183
+ </dd><dt><code>ID_UPPER_COLOR</code>
184
+ <dd>
185
+ <p>write me</p>
186
+ </dd><dt><code>ID_BLEND_LINEAR</code>
187
+ <dd>
188
+ <p>write me</p>
189
+ </dd><dt><code>ID_BLEND_POWER</code>
190
+ <dd>
191
+ <p>write me</p>
192
+ </dd><dt><code>ID_BLEND_SINE</code>
193
+ <dd>
194
+ <p>write me</p>
195
+ </dd><dt><code>ID_BLEND_INCREASING</code>
196
+ <dd>
197
+ <p>write me</p>
198
+ </dd><dt><code>ID_BLEND_DECREASING</code>
199
+ <dd>
200
+ <p>write me</p>
201
+ </dd><dt><code>ID_RECENTER</code>
202
+ <dd>
203
+ <p>write me</p>
204
+ </dd><dt><code>ID_SPLIT</code>
205
+ <dd>
206
+ <p>write me</p>
207
+ </dd><dt><code>ID_MERGE</code>
208
+ <dd>
209
+ <p>write me</p>
210
+ </dd><dt><code>ID_UNIFORM</code>
211
+ <dd>
212
+ <p>write me</p>
213
+ </dd></dl>
214
+
215
+
216
+ </div>
217
+ </div>
218
+ <div class="tags">
219
+
220
+
221
+ </div>
222
+
223
+
224
+
225
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
226
+ <ul class="summary">
227
+
228
+ <li class="public ">
229
+ <span class="summary_signature">
230
+
231
+ <a href="#barStyle-instance_method" title="#barStyle (instance method)">#<strong>barStyle</strong> &#x21d2; Object </a>
232
+
233
+
234
+
235
+ </span>
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+ <span class="summary_desc"><div class='inline'>
249
+ <p>Gradient bar style, some combination of <code>GRADIENTBAR_HORIZONTAL</code>, <code>GRADIENTBAR_VERTICAL</code>, <code>GRADIENTBAR_NO_CONTROLS</code>, <code>GRADIENTBAR_CONTROLS_TOP</code>, <code>GRADIENTBAR_CONTROLS_BOTTOM</code>, <code>GRADIENTBAR_CONTROLS_LEFT</code> and <code>GRADIENTBAR_CONTROLS_RIGHT</code>.</p>
250
+ </div></span>
251
+
252
+ </li>
253
+
254
+
255
+ <li class="public ">
256
+ <span class="summary_signature">
257
+
258
+ <a href="#helpText-instance_method" title="#helpText (instance method)">#<strong>helpText</strong> &#x21d2; Object </a>
259
+
260
+
261
+
262
+ </span>
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+ <span class="summary_desc"><div class='inline'>
276
+ <p>Status line help text [String].</p>
277
+ </div></span>
278
+
279
+ </li>
280
+
281
+
282
+ <li class="public ">
283
+ <span class="summary_signature">
284
+
285
+ <a href="#selectColor-instance_method" title="#selectColor (instance method)">#<strong>selectColor</strong> &#x21d2; Object </a>
286
+
287
+
288
+
289
+ </span>
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+ <span class="summary_desc"><div class='inline'>
303
+ <p>Selection color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">FXColor</a></span>.</p>
304
+ </div></span>
305
+
306
+ </li>
307
+
308
+
309
+ <li class="public ">
310
+ <span class="summary_signature">
311
+
312
+ <a href="#tipText-instance_method" title="#tipText (instance method)">#<strong>tipText</strong> &#x21d2; Object </a>
313
+
314
+
315
+
316
+ </span>
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+ <span class="summary_desc"><div class='inline'>
330
+ <p>Tool tip text [String].</p>
331
+ </div></span>
332
+
333
+ </li>
334
+
335
+
336
+ </ul>
337
+
338
+
339
+
340
+
341
+
342
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXFrame.html" title="Fox::FXFrame (class)">FXFrame</a></span></h3>
343
+ <p class="inherited"><span class='object_link'><a href="FXFrame.html#baseColor-instance_method" title="Fox::FXFrame#baseColor (method)">#baseColor</a></span>, <span class='object_link'><a href="FXFrame.html#borderColor-instance_method" title="Fox::FXFrame#borderColor (method)">#borderColor</a></span>, <span class='object_link'><a href="FXFrame.html#borderWidth-instance_method" title="Fox::FXFrame#borderWidth (method)">#borderWidth</a></span>, <span class='object_link'><a href="FXFrame.html#frameStyle-instance_method" title="Fox::FXFrame#frameStyle (method)">#frameStyle</a></span>, <span class='object_link'><a href="FXFrame.html#hiliteColor-instance_method" title="Fox::FXFrame#hiliteColor (method)">#hiliteColor</a></span>, <span class='object_link'><a href="FXFrame.html#padBottom-instance_method" title="Fox::FXFrame#padBottom (method)">#padBottom</a></span>, <span class='object_link'><a href="FXFrame.html#padLeft-instance_method" title="Fox::FXFrame#padLeft (method)">#padLeft</a></span>, <span class='object_link'><a href="FXFrame.html#padRight-instance_method" title="Fox::FXFrame#padRight (method)">#padRight</a></span>, <span class='object_link'><a href="FXFrame.html#padTop-instance_method" title="Fox::FXFrame#padTop (method)">#padTop</a></span>, <span class='object_link'><a href="FXFrame.html#shadowColor-instance_method" title="Fox::FXFrame#shadowColor (method)">#shadowColor</a></span></p>
344
+
345
+
346
+
347
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
348
+ <p class="inherited"><span class='object_link'><a href="FXWindow.html#accelTable-instance_method" title="Fox::FXWindow#accelTable (method)">#accelTable</a></span>, <span class='object_link'><a href="FXWindow.html#backColor-instance_method" title="Fox::FXWindow#backColor (method)">#backColor</a></span>, <span class='object_link'><a href="FXWindow.html#defaultCursor-instance_method" title="Fox::FXWindow#defaultCursor (method)">#defaultCursor</a></span>, <span class='object_link'><a href="FXWindow.html#dragCursor-instance_method" title="Fox::FXWindow#dragCursor (method)">#dragCursor</a></span>, <span class='object_link'><a href="FXWindow.html#first-instance_method" title="Fox::FXWindow#first (method)">#first</a></span>, <span class='object_link'><a href="FXWindow.html#focus-instance_method" title="Fox::FXWindow#focus (method)">#focus</a></span>, <span class='object_link'><a href="FXWindow.html#key-instance_method" title="Fox::FXWindow#key (method)">#key</a></span>, <span class='object_link'><a href="FXWindow.html#last-instance_method" title="Fox::FXWindow#last (method)">#last</a></span>, <span class='object_link'><a href="FXWindow.html#layoutHints-instance_method" title="Fox::FXWindow#layoutHints (method)">#layoutHints</a></span>, <span class='object_link'><a href="FXWindow.html#next-instance_method" title="Fox::FXWindow#next (method)">#next</a></span>, <span class='object_link'><a href="FXWindow.html#numChildren-instance_method" title="Fox::FXWindow#numChildren (method)">#numChildren</a></span>, <span class='object_link'><a href="FXWindow.html#owner-instance_method" title="Fox::FXWindow#owner (method)">#owner</a></span>, <span class='object_link'><a href="FXWindow.html#parent-instance_method" title="Fox::FXWindow#parent (method)">#parent</a></span>, <span class='object_link'><a href="FXWindow.html#prev-instance_method" title="Fox::FXWindow#prev (method)">#prev</a></span>, <span class='object_link'><a href="FXWindow.html#root-instance_method" title="Fox::FXWindow#root (method)">#root</a></span>, <span class='object_link'><a href="FXWindow.html#selector-instance_method" title="Fox::FXWindow#selector (method)">#selector</a></span>, <span class='object_link'><a href="FXWindow.html#shell-instance_method" title="Fox::FXWindow#shell (method)">#shell</a></span>, <span class='object_link'><a href="FXWindow.html#target-instance_method" title="Fox::FXWindow#target (method)">#target</a></span>, <span class='object_link'><a href="FXWindow.html#x-instance_method" title="Fox::FXWindow#x (method)">#x</a></span>, <span class='object_link'><a href="FXWindow.html#y-instance_method" title="Fox::FXWindow#y (method)">#y</a></span></p>
349
+
350
+
351
+
352
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
353
+ <p class="inherited"><span class='object_link'><a href="FXDrawable.html#height-instance_method" title="Fox::FXDrawable#height (method)">#height</a></span>, <span class='object_link'><a href="FXDrawable.html#visual-instance_method" title="Fox::FXDrawable#visual (method)">#visual</a></span>, <span class='object_link'><a href="FXDrawable.html#width-instance_method" title="Fox::FXDrawable#width (method)">#width</a></span></p>
354
+
355
+
356
+
357
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
358
+ <p class="inherited"><span class='object_link'><a href="FXId.html#app-instance_method" title="Fox::FXId#app (method)">#app</a></span>, <span class='object_link'><a href="FXId.html#userData-instance_method" title="Fox::FXId#userData (method)">#userData</a></span>, <span class='object_link'><a href="FXId.html#xid-instance_method" title="Fox::FXId#xid (method)">#xid</a></span></p>
359
+
360
+
361
+
362
+ <h2>
363
+ Instance Method Summary
364
+ <small><a href="#" class="summary_toggle">collapse</a></small>
365
+ </h2>
366
+
367
+ <ul class="summary">
368
+
369
+ <li class="public ">
370
+ <span class="summary_signature">
371
+
372
+ <a href="#anchorSegment-instance_method" title="#anchorSegment (instance method)">#<strong>anchorSegment</strong> &#x21d2; Object </a>
373
+
374
+
375
+
376
+ </span>
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+ <span class="summary_desc"><div class='inline'>
387
+ <p>Return the index of the anchor segment, or -1 if there is no anchor segment.</p>
388
+ </div></span>
389
+
390
+ </li>
391
+
392
+
393
+ <li class="public ">
394
+ <span class="summary_signature">
395
+
396
+ <a href="#anchorSegment=-instance_method" title="#anchorSegment= (instance method)">#<strong>anchorSegment=</strong>(seg) &#x21d2; Object </a>
397
+
398
+
399
+
400
+ </span>
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+ <span class="summary_desc"><div class='inline'>
411
+ <p>Change anchor segment to <em>seg</em>.</p>
412
+ </div></span>
413
+
414
+ </li>
415
+
416
+
417
+ <li class="public ">
418
+ <span class="summary_signature">
419
+
420
+ <a href="#blendSegments-instance_method" title="#blendSegments (instance method)">#<strong>blendSegments</strong>(sglo, sghi, blend = GRADIENT_BLEND_LINEAR, notify = false) &#x21d2; Object </a>
421
+
422
+
423
+
424
+ </span>
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+ <span class="summary_desc"><div class='inline'>
435
+ <p>Set the blend mode for segments <em>sglo</em> through <em>sghi</em> to <em>blend</em>, where <em>blend</em> is one of <code>GRADIENT_BLEND_LINEAR</code>, <code>GRADIENT_BLEND_POWER</code>, <code>GRADIENT_BLEND_SINE</code>, <code>GRADIENT_BLEND_INCREASING</code> or <code>GRADIENT_BLEND_DECREASING</code>.</p>
436
+ </div></span>
437
+
438
+ </li>
439
+
440
+
441
+ <li class="public ">
442
+ <span class="summary_signature">
443
+
444
+ <a href="#deselectSegments-instance_method" title="#deselectSegments (instance method)">#<strong>deselectSegments</strong>(notify) &#x21d2; Object </a>
445
+
446
+
447
+
448
+ </span>
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+ <span class="summary_desc"><div class='inline'>
459
+ <p>Deselect all segments, and return <code>true</code> if there was a previously selected range.</p>
460
+ </div></span>
461
+
462
+ </li>
463
+
464
+
465
+ <li class="public ">
466
+ <span class="summary_signature">
467
+
468
+ <a href="#getCurrentSegment-instance_method" title="#getCurrentSegment (instance method)">#<strong>getCurrentSegment</strong> &#x21d2; Object </a>
469
+
470
+
471
+
472
+ </span>
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+ <span class="summary_desc"><div class='inline'>
483
+ <p>Return the index of the current segment, or -1 if there is no current segment.</p>
484
+ </div></span>
485
+
486
+ </li>
487
+
488
+
489
+ <li class="public ">
490
+ <span class="summary_signature">
491
+
492
+ <a href="#getGrip-instance_method" title="#getGrip (instance method)">#<strong>getGrip</strong>(seg, x, y) &#x21d2; Object </a>
493
+
494
+
495
+
496
+ </span>
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+ <span class="summary_desc"><div class='inline'>
507
+ <p>Return the grip in segment <em>seg</em> which is closest to location (<em>x</em>, <em>y</em>), one of <code>GRIP_LOWER</code>, <code>GRIP_SEG_LOWER</code>, <code>GRIP_MIDDLE</code>, <code>GRIP_SEG_UPPER</code>, <code>GRIP_UPPER</code> or <code>GRIP_NONE</code>.</p>
508
+ </div></span>
509
+
510
+ </li>
511
+
512
+
513
+ <li class="public ">
514
+ <span class="summary_signature">
515
+
516
+ <a href="#getSegment-instance_method" title="#getSegment (instance method)">#<strong>getSegment</strong>(x, y) &#x21d2; Object </a>
517
+
518
+
519
+
520
+ </span>
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+
530
+ <span class="summary_desc"><div class='inline'>
531
+ <p>Return the zero-based index of the segment containing location (<em>x</em>, <em>y</em>).</p>
532
+ </div></span>
533
+
534
+ </li>
535
+
536
+
537
+ <li class="public ">
538
+ <span class="summary_signature">
539
+
540
+ <a href="#getSegmentBlend-instance_method" title="#getSegmentBlend (instance method)">#<strong>getSegmentBlend</strong>(seg) &#x21d2; Object </a>
541
+
542
+
543
+
544
+ </span>
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+ <span class="summary_desc"><div class='inline'>
555
+ <p>Return the blend mode of segment <em>seg</em>, one of <code>GRADIENT_BLEND_LINEAR</code>, <code>GRADIENT_BLEND_POWER</code>, <code>GRADIENT_BLEND_SINE</code>, <code>GRADIENT_BLEND_INCREASING</code> or <code>GRADIENT_BLEND_DECREASING</code>.</p>
556
+ </div></span>
557
+
558
+ </li>
559
+
560
+
561
+ <li class="public ">
562
+ <span class="summary_signature">
563
+
564
+ <a href="#getSegmentLower-instance_method" title="#getSegmentLower (instance method)">#<strong>getSegmentLower</strong>(seg) &#x21d2; Object </a>
565
+
566
+
567
+
568
+ </span>
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+ <span class="summary_desc"><div class='inline'>
579
+ <p>Return lower value of segment <em>seg</em>.</p>
580
+ </div></span>
581
+
582
+ </li>
583
+
584
+
585
+ <li class="public ">
586
+ <span class="summary_signature">
587
+
588
+ <a href="#getSegmentLowerColor-instance_method" title="#getSegmentLowerColor (instance method)">#<strong>getSegmentLowerColor</strong>(seg) &#x21d2; Object </a>
589
+
590
+
591
+
592
+ </span>
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+ <span class="summary_desc"><div class='inline'>
603
+ <p>Return lower color of the segment with index <em>seg</em>.</p>
604
+ </div></span>
605
+
606
+ </li>
607
+
608
+
609
+ <li class="public ">
610
+ <span class="summary_signature">
611
+
612
+ <a href="#getSegmentMiddle-instance_method" title="#getSegmentMiddle (instance method)">#<strong>getSegmentMiddle</strong>(seg) &#x21d2; Object </a>
613
+
614
+
615
+
616
+ </span>
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+ <span class="summary_desc"><div class='inline'>
627
+ <p>Return middle value of segment <em>seg</em>.</p>
628
+ </div></span>
629
+
630
+ </li>
631
+
632
+
633
+ <li class="public ">
634
+ <span class="summary_signature">
635
+
636
+ <a href="#getSegmentUpper-instance_method" title="#getSegmentUpper (instance method)">#<strong>getSegmentUpper</strong>(seg) &#x21d2; Object </a>
637
+
638
+
639
+
640
+ </span>
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+ <span class="summary_desc"><div class='inline'>
651
+ <p>Return upper value of segment <em>seg</em>.</p>
652
+ </div></span>
653
+
654
+ </li>
655
+
656
+
657
+ <li class="public ">
658
+ <span class="summary_signature">
659
+
660
+ <a href="#getSegmentUpperColor-instance_method" title="#getSegmentUpperColor (instance method)">#<strong>getSegmentUpperColor</strong>(seg) &#x21d2; Object </a>
661
+
662
+
663
+
664
+ </span>
665
+
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+ <span class="summary_desc"><div class='inline'>
675
+ <p>Return upper color of the segment with index <em>seg</em>.</p>
676
+ </div></span>
677
+
678
+ </li>
679
+
680
+
681
+ <li class="public ">
682
+ <span class="summary_signature">
683
+
684
+ <a href="#gradient-instance_method" title="#gradient (instance method)">#<strong>gradient</strong>(nramp) &#x21d2; Object </a>
685
+
686
+
687
+
688
+ </span>
689
+
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+ <span class="summary_desc"><div class='inline'>
699
+ <p>Return a gradient ramp of size <em>nramp</em> based on the settings for this gradient bar.</p>
700
+ </div></span>
701
+
702
+ </li>
703
+
704
+
705
+ <li class="public ">
706
+ <span class="summary_signature">
707
+
708
+ <a href="#gradients-instance_method" title="#gradients (instance method)">#<strong>gradients</strong> &#x21d2; Object </a>
709
+
710
+
711
+
712
+ </span>
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+
721
+
722
+ <span class="summary_desc"><div class='inline'>
723
+ <p>Return a reference to the array of gradient segments (an array of FXGradient instances).</p>
724
+ </div></span>
725
+
726
+ </li>
727
+
728
+
729
+ <li class="public ">
730
+ <span class="summary_signature">
731
+
732
+ <a href="#gradients=-instance_method" title="#gradients= (instance method)">#<strong>gradients=</strong>(segments) &#x21d2; Object </a>
733
+
734
+
735
+
736
+ </span>
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+ <span class="summary_desc"><div class='inline'>
747
+ <p>Replace the current gradient segments with <em>segments</em>, an array of FXGradient instances.</p>
748
+ </div></span>
749
+
750
+ </li>
751
+
752
+
753
+ <li class="public ">
754
+ <span class="summary_signature">
755
+
756
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(p, target = nil, selector = 0, opts = FRAME_NORMAL, x = 0, y = 0, width = 0, height = 0, padLeft = DEFAULT_PAD, padRight = DEFAULT_PAD, padTop = DEFAULT_PAD, padBottom = DEFAULT_PAD) &#x21d2; FXGradientBar </a>
757
+
758
+
759
+
760
+ </span>
761
+
762
+
763
+ <span class="note title constructor">constructor</span>
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+
772
+ <span class="summary_desc"><div class='inline'>
773
+ <p>Return an initialized FXGradientBar instance.</p>
774
+ </div></span>
775
+
776
+ </li>
777
+
778
+
779
+ <li class="public ">
780
+ <span class="summary_signature">
781
+
782
+ <a href="#mergeSegments-instance_method" title="#mergeSegments (instance method)">#<strong>mergeSegments</strong>(sglo, sghi, notify = false) &#x21d2; Object </a>
783
+
784
+
785
+
786
+ </span>
787
+
788
+
789
+
790
+
791
+
792
+
793
+
794
+
795
+
796
+ <span class="summary_desc"><div class='inline'>
797
+ <p>Merge segments.</p>
798
+ </div></span>
799
+
800
+ </li>
801
+
802
+
803
+ <li class="public ">
804
+ <span class="summary_signature">
805
+
806
+ <a href="#moveSegmentLower-instance_method" title="#moveSegmentLower (instance method)">#<strong>moveSegmentLower</strong>(seg, val, notify = false) &#x21d2; Object </a>
807
+
808
+
809
+
810
+ </span>
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+ <span class="summary_desc"><div class='inline'>
821
+ <p>Move lower point of segment <em>seg</em> to <em>val</em>.</p>
822
+ </div></span>
823
+
824
+ </li>
825
+
826
+
827
+ <li class="public ">
828
+ <span class="summary_signature">
829
+
830
+ <a href="#moveSegmentMiddle-instance_method" title="#moveSegmentMiddle (instance method)">#<strong>moveSegmentMiddle</strong>(seg, val, notify = false) &#x21d2; Object </a>
831
+
832
+
833
+
834
+ </span>
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+ <span class="summary_desc"><div class='inline'>
845
+ <p>Move middle point of segment <em>seg</em> to <em>val</em>.</p>
846
+ </div></span>
847
+
848
+ </li>
849
+
850
+
851
+ <li class="public ">
852
+ <span class="summary_signature">
853
+
854
+ <a href="#moveSegments-instance_method" title="#moveSegments (instance method)">#<strong>moveSegments</strong>(sglo, sghi, val, notify = false) &#x21d2; Object </a>
855
+
856
+
857
+
858
+ </span>
859
+
860
+
861
+
862
+
863
+
864
+
865
+
866
+
867
+
868
+ <span class="summary_desc"><div class='inline'>
869
+ <p>Move segments <em>sglo</em> to <em>sghi</em> to new position <em>val</em>.</p>
870
+ </div></span>
871
+
872
+ </li>
873
+
874
+
875
+ <li class="public ">
876
+ <span class="summary_signature">
877
+
878
+ <a href="#moveSegmentUpper-instance_method" title="#moveSegmentUpper (instance method)">#<strong>moveSegmentUpper</strong>(seg, val, notify = false) &#x21d2; Object </a>
879
+
880
+
881
+
882
+ </span>
883
+
884
+
885
+
886
+
887
+
888
+
889
+
890
+
891
+
892
+ <span class="summary_desc"><div class='inline'>
893
+ <p>Move upper point of segment <em>seg</em> to <em>val</em>.</p>
894
+ </div></span>
895
+
896
+ </li>
897
+
898
+
899
+ <li class="public ">
900
+ <span class="summary_signature">
901
+
902
+ <a href="#numSegments-instance_method" title="#numSegments (instance method)">#<strong>numSegments</strong> &#x21d2; Object </a>
903
+
904
+
905
+
906
+ </span>
907
+
908
+
909
+
910
+
911
+
912
+
913
+
914
+
915
+
916
+ <span class="summary_desc"><div class='inline'>
917
+ <p>Return the number of segments.</p>
918
+ </div></span>
919
+
920
+ </li>
921
+
922
+
923
+ <li class="public ">
924
+ <span class="summary_signature">
925
+
926
+ <a href="#segmentSelected%3F-instance_method" title="#segmentSelected? (instance method)">#<strong>segmentSelected?</strong>(seg) &#x21d2; Boolean </a>
927
+
928
+
929
+
930
+ </span>
931
+
932
+
933
+
934
+
935
+
936
+
937
+
938
+
939
+
940
+ <span class="summary_desc"><div class='inline'>
941
+ <p>Return <code>true</code> if the specified segment is selected.</p>
942
+ </div></span>
943
+
944
+ </li>
945
+
946
+
947
+ <li class="public ">
948
+ <span class="summary_signature">
949
+
950
+ <a href="#selectSegments-instance_method" title="#selectSegments (instance method)">#<strong>selectSegments</strong>(fm, to, notify = false) &#x21d2; Object </a>
951
+
952
+
953
+
954
+ </span>
955
+
956
+
957
+
958
+
959
+
960
+
961
+
962
+
963
+
964
+ <span class="summary_desc"><div class='inline'>
965
+ <p>Select segment(s) <em>fm</em> through <em>to</em> and return <code>true</code> if the selected range is different than it was.</p>
966
+ </div></span>
967
+
968
+ </li>
969
+
970
+
971
+ <li class="public ">
972
+ <span class="summary_signature">
973
+
974
+ <a href="#setCurrentSegment-instance_method" title="#setCurrentSegment (instance method)">#<strong>setCurrentSegment</strong>(index, notify = false) &#x21d2; Object </a>
975
+
976
+
977
+
978
+ </span>
979
+
980
+
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+ <span class="summary_desc"><div class='inline'>
989
+ <p>Change current segment to <em>index</em>.</p>
990
+ </div></span>
991
+
992
+ </li>
993
+
994
+
995
+ <li class="public ">
996
+ <span class="summary_signature">
997
+
998
+ <a href="#setSegmentLowerColor-instance_method" title="#setSegmentLowerColor (instance method)">#<strong>setSegmentLowerColor</strong>(seg, clr, notify = false) &#x21d2; Object </a>
999
+
1000
+
1001
+
1002
+ </span>
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+ <span class="summary_desc"><div class='inline'>
1013
+ <p>Set lower color of the segment with index <em>seg</em>.</p>
1014
+ </div></span>
1015
+
1016
+ </li>
1017
+
1018
+
1019
+ <li class="public ">
1020
+ <span class="summary_signature">
1021
+
1022
+ <a href="#setSegmentUpperColor-instance_method" title="#setSegmentUpperColor (instance method)">#<strong>setSegmentUpperColor</strong>(seg, clr, notify = false) &#x21d2; Object </a>
1023
+
1024
+
1025
+
1026
+ </span>
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+ <span class="summary_desc"><div class='inline'>
1037
+ <p>Set upper color of the segment with index <em>seg</em>.</p>
1038
+ </div></span>
1039
+
1040
+ </li>
1041
+
1042
+
1043
+ <li class="public ">
1044
+ <span class="summary_signature">
1045
+
1046
+ <a href="#splitSegments-instance_method" title="#splitSegments (instance method)">#<strong>splitSegments</strong>(sglo, sghi, notify = false) &#x21d2; Object </a>
1047
+
1048
+
1049
+
1050
+ </span>
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+ <span class="summary_desc"><div class='inline'>
1061
+ <p>Split segment at the midpoint If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after this change is completed.</p>
1062
+ </div></span>
1063
+
1064
+ </li>
1065
+
1066
+
1067
+ <li class="public ">
1068
+ <span class="summary_signature">
1069
+
1070
+ <a href="#uniformSegments-instance_method" title="#uniformSegments (instance method)">#<strong>uniformSegments</strong>(sglo, sghi, notify = false) &#x21d2; Object </a>
1071
+
1072
+
1073
+
1074
+ </span>
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+
1084
+ <span class="summary_desc"><div class='inline'>
1085
+ <p>Make segments uniformly distributed.</p>
1086
+ </div></span>
1087
+
1088
+ </li>
1089
+
1090
+
1091
+ </ul>
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
1110
+ <p class="inherited"><span class='object_link'><a href="FXWindow.html#acceptDrop-instance_method" title="Fox::FXWindow#acceptDrop (method)">#acceptDrop</a></span>, <span class='object_link'><a href="FXWindow.html#acquireClipboard-instance_method" title="Fox::FXWindow#acquireClipboard (method)">#acquireClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#acquireSelection-instance_method" title="Fox::FXWindow#acquireSelection (method)">#acquireSelection</a></span>, <span class='object_link'><a href="FXWindow.html#active%3F-instance_method" title="Fox::FXWindow#active? (method)">#active?</a></span>, <span class='object_link'><a href="FXWindow.html#addHotKey-instance_method" title="Fox::FXWindow#addHotKey (method)">#addHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-class_method" title="Fox::FXWindow.after? (method)">after?</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-instance_method" title="Fox::FXWindow#after? (method)">#after?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-class_method" title="Fox::FXWindow.before? (method)">before?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-instance_method" title="Fox::FXWindow#before? (method)">#before?</a></span>, <span class='object_link'><a href="FXWindow.html#beginDrag-instance_method" title="Fox::FXWindow#beginDrag (method)">#beginDrag</a></span>, <span class='object_link'><a href="FXWindow.html#canFocus%3F-instance_method" title="Fox::FXWindow#canFocus? (method)">#canFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#changeFocus-instance_method" title="Fox::FXWindow#changeFocus (method)">#changeFocus</a></span>, <span class='object_link'><a href="FXWindow.html#childAtIndex-instance_method" title="Fox::FXWindow#childAtIndex (method)">#childAtIndex</a></span>, <span class='object_link'><a href="FXWindow.html#childOf%3F-instance_method" title="Fox::FXWindow#childOf? (method)">#childOf?</a></span>, <span class='object_link'><a href="FXWindow.html#children-instance_method" title="Fox::FXWindow#children (method)">#children</a></span>, <span class='object_link'><a href="FXWindow.html#clearDragRectangle-instance_method" title="Fox::FXWindow#clearDragRectangle (method)">#clearDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#clearShape-instance_method" title="Fox::FXWindow#clearShape (method)">#clearShape</a></span>, <span class='object_link'><a href="FXWindow.html#colorType-class_method" title="Fox::FXWindow.colorType (method)">colorType</a></span>, <span class='object_link'><a href="FXWindow.html#colorTypeName-class_method" title="Fox::FXWindow.colorTypeName (method)">colorTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#commonAncestor-class_method" title="Fox::FXWindow.commonAncestor (method)">commonAncestor</a></span>, <span class='object_link'><a href="FXWindow.html#composeContext-instance_method" title="Fox::FXWindow#composeContext (method)">#composeContext</a></span>, <span class='object_link'><a href="FXWindow.html#composite%3F-instance_method" title="Fox::FXWindow#composite? (method)">#composite?</a></span>, <span class='object_link'><a href="FXWindow.html#contains%3F-instance_method" title="Fox::FXWindow#contains? (method)">#contains?</a></span>, <span class='object_link'><a href="FXWindow.html#containsChild%3F-instance_method" title="Fox::FXWindow#containsChild? (method)">#containsChild?</a></span>, <span class='object_link'><a href="FXWindow.html#create-instance_method" title="Fox::FXWindow#create (method)">#create</a></span>, <span class='object_link'><a href="FXWindow.html#createComposeContext-instance_method" title="Fox::FXWindow#createComposeContext (method)">#createComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#cursorPosition-instance_method" title="Fox::FXWindow#cursorPosition (method)">#cursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#default%3F-instance_method" title="Fox::FXWindow#default? (method)">#default?</a></span>, <span class='object_link'><a href="FXWindow.html#defaultHeight-instance_method" title="Fox::FXWindow#defaultHeight (method)">#defaultHeight</a></span>, <span class='object_link'><a href="FXWindow.html#defaultWidth-instance_method" title="Fox::FXWindow#defaultWidth (method)">#defaultWidth</a></span>, <span class='object_link'><a href="FXWindow.html#deleteType-class_method" title="Fox::FXWindow.deleteType (method)">deleteType</a></span>, <span class='object_link'><a href="FXWindow.html#deleteTypeName-class_method" title="Fox::FXWindow.deleteTypeName (method)">deleteTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#destroy-instance_method" title="Fox::FXWindow#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXWindow.html#destroyComposeContext-instance_method" title="Fox::FXWindow#destroyComposeContext (method)">#destroyComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#detach-instance_method" title="Fox::FXWindow#detach (method)">#detach</a></span>, <span class='object_link'><a href="FXWindow.html#didAccept-instance_method" title="Fox::FXWindow#didAccept (method)">#didAccept</a></span>, <span class='object_link'><a href="FXWindow.html#disable-instance_method" title="Fox::FXWindow#disable (method)">#disable</a></span>, <span class='object_link'><a href="FXWindow.html#doesSaveUnder%3F-instance_method" title="Fox::FXWindow#doesSaveUnder? (method)">#doesSaveUnder?</a></span>, <span class='object_link'><a href="FXWindow.html#dragging%3F-instance_method" title="Fox::FXWindow#dragging? (method)">#dragging?</a></span>, <span class='object_link'><a href="FXWindow.html#dropDisable-instance_method" title="Fox::FXWindow#dropDisable (method)">#dropDisable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnable-instance_method" title="Fox::FXWindow#dropEnable (method)">#dropEnable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnabled%3F-instance_method" title="Fox::FXWindow#dropEnabled? (method)">#dropEnabled?</a></span>, <span class='object_link'><a href="FXWindow.html#dropFinished-instance_method" title="Fox::FXWindow#dropFinished (method)">#dropFinished</a></span>, <span class='object_link'><a href="FXWindow.html#dropTarget%3F-instance_method" title="Fox::FXWindow#dropTarget? (method)">#dropTarget?</a></span>, <span class='object_link'><a href="FXWindow.html#each_child-instance_method" title="Fox::FXWindow#each_child (method)">#each_child</a></span>, <span class='object_link'><a href="FXWindow.html#each_child_recursive-instance_method" title="Fox::FXWindow#each_child_recursive (method)">#each_child_recursive</a></span>, <span class='object_link'><a href="FXWindow.html#enable-instance_method" title="Fox::FXWindow#enable (method)">#enable</a></span>, <span class='object_link'><a href="FXWindow.html#enabled%3F-instance_method" title="Fox::FXWindow#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="FXWindow.html#endDrag-instance_method" title="Fox::FXWindow#endDrag (method)">#endDrag</a></span>, <span class='object_link'><a href="FXWindow.html#forceRefresh-instance_method" title="Fox::FXWindow#forceRefresh (method)">#forceRefresh</a></span>, <span class='object_link'><a href="FXWindow.html#getChildAt-instance_method" title="Fox::FXWindow#getChildAt (method)">#getChildAt</a></span>, <span class='object_link'><a href="FXWindow.html#getDNDData-instance_method" title="Fox::FXWindow#getDNDData (method)">#getDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#getHeightForWidth-instance_method" title="Fox::FXWindow#getHeightForWidth (method)">#getHeightForWidth</a></span>, <span class='object_link'><a href="FXWindow.html#getWidthForHeight-instance_method" title="Fox::FXWindow#getWidthForHeight (method)">#getWidthForHeight</a></span>, <span class='object_link'><a href="FXWindow.html#grab-instance_method" title="Fox::FXWindow#grab (method)">#grab</a></span>, <span class='object_link'><a href="FXWindow.html#grabKeyboard-instance_method" title="Fox::FXWindow#grabKeyboard (method)">#grabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#grabbed%3F-instance_method" title="Fox::FXWindow#grabbed? (method)">#grabbed?</a></span>, <span class='object_link'><a href="FXWindow.html#grabbedKeyboard%3F-instance_method" title="Fox::FXWindow#grabbedKeyboard? (method)">#grabbedKeyboard?</a></span>, <span class='object_link'><a href="FXWindow.html#handleDrag-instance_method" title="Fox::FXWindow#handleDrag (method)">#handleDrag</a></span>, <span class='object_link'><a href="FXWindow.html#hasClipboard%3F-instance_method" title="Fox::FXWindow#hasClipboard? (method)">#hasClipboard?</a></span>, <span class='object_link'><a href="FXWindow.html#hasFocus%3F-instance_method" title="Fox::FXWindow#hasFocus? (method)">#hasFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#hasSelection%3F-instance_method" title="Fox::FXWindow#hasSelection? (method)">#hasSelection?</a></span>, <span class='object_link'><a href="FXWindow.html#height-instance_method" title="Fox::FXWindow#height (method)">#height</a></span>, <span class='object_link'><a href="FXWindow.html#height=-instance_method" title="Fox::FXWindow#height= (method)">#height=</a></span>, <span class='object_link'><a href="FXWindow.html#hide-instance_method" title="Fox::FXWindow#hide (method)">#hide</a></span>, <span class='object_link'><a href="FXWindow.html#imageType-class_method" title="Fox::FXWindow.imageType (method)">imageType</a></span>, <span class='object_link'><a href="FXWindow.html#inFocusChain%3F-instance_method" title="Fox::FXWindow#inFocusChain? (method)">#inFocusChain?</a></span>, <span class='object_link'><a href="FXWindow.html#indexOfChild-instance_method" title="Fox::FXWindow#indexOfChild (method)">#indexOfChild</a></span>, <span class='object_link'><a href="FXWindow.html#initial%3F-instance_method" title="Fox::FXWindow#initial? (method)">#initial?</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDAction-instance_method" title="Fox::FXWindow#inquireDNDAction (method)">#inquireDNDAction</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDTypes-instance_method" title="Fox::FXWindow#inquireDNDTypes (method)">#inquireDNDTypes</a></span>, <span class='object_link'><a href="FXWindow.html#killFocus-instance_method" title="Fox::FXWindow#killFocus (method)">#killFocus</a></span>, <span class='object_link'><a href="FXWindow.html#layout-instance_method" title="Fox::FXWindow#layout (method)">#layout</a></span>, <span class='object_link'><a href="FXWindow.html#linkAfter-instance_method" title="Fox::FXWindow#linkAfter (method)">#linkAfter</a></span>, <span class='object_link'><a href="FXWindow.html#linkBefore-instance_method" title="Fox::FXWindow#linkBefore (method)">#linkBefore</a></span>, <span class='object_link'><a href="FXWindow.html#lower-instance_method" title="Fox::FXWindow#lower (method)">#lower</a></span>, <span class='object_link'><a href="FXWindow.html#move-instance_method" title="Fox::FXWindow#move (method)">#move</a></span>, <span class='object_link'><a href="FXWindow.html#octetType-class_method" title="Fox::FXWindow.octetType (method)">octetType</a></span>, <span class='object_link'><a href="FXWindow.html#octetTypeName-class_method" title="Fox::FXWindow.octetTypeName (method)">octetTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#offeredDNDType%3F-instance_method" title="Fox::FXWindow#offeredDNDType? (method)">#offeredDNDType?</a></span>, <span class='object_link'><a href="FXWindow.html#position-instance_method" title="Fox::FXWindow#position (method)">#position</a></span>, <span class='object_link'><a href="FXWindow.html#raiseWindow-instance_method" title="Fox::FXWindow#raiseWindow (method)">#raiseWindow</a></span>, <span class='object_link'><a href="FXWindow.html#recalc-instance_method" title="Fox::FXWindow#recalc (method)">#recalc</a></span>, <span class='object_link'><a href="FXWindow.html#releaseClipboard-instance_method" title="Fox::FXWindow#releaseClipboard (method)">#releaseClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#releaseSelection-instance_method" title="Fox::FXWindow#releaseSelection (method)">#releaseSelection</a></span>, <span class='object_link'><a href="FXWindow.html#remHotKey-instance_method" title="Fox::FXWindow#remHotKey (method)">#remHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#removeChild-instance_method" title="Fox::FXWindow#removeChild (method)">#removeChild</a></span>, <span class='object_link'><a href="FXWindow.html#repaint-instance_method" title="Fox::FXWindow#repaint (method)">#repaint</a></span>, <span class='object_link'><a href="FXWindow.html#reparent-instance_method" title="Fox::FXWindow#reparent (method)">#reparent</a></span>, <span class='object_link'><a href="FXWindow.html#resize-instance_method" title="Fox::FXWindow#resize (method)">#resize</a></span>, <span class='object_link'><a href="FXWindow.html#scroll-instance_method" title="Fox::FXWindow#scroll (method)">#scroll</a></span>, <span class='object_link'><a href="FXWindow.html#setCursorPosition-instance_method" title="Fox::FXWindow#setCursorPosition (method)">#setCursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#setDNDData-instance_method" title="Fox::FXWindow#setDNDData (method)">#setDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#setDefault-instance_method" title="Fox::FXWindow#setDefault (method)">#setDefault</a></span>, <span class='object_link'><a href="FXWindow.html#setDragRectangle-instance_method" title="Fox::FXWindow#setDragRectangle (method)">#setDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#setFocus-instance_method" title="Fox::FXWindow#setFocus (method)">#setFocus</a></span>, <span class='object_link'><a href="FXWindow.html#setInitial-instance_method" title="Fox::FXWindow#setInitial (method)">#setInitial</a></span>, <span class='object_link'><a href="FXWindow.html#setShape-instance_method" title="Fox::FXWindow#setShape (method)">#setShape</a></span>, <span class='object_link'><a href="FXWindow.html#shell%3F-instance_method" title="Fox::FXWindow#shell? (method)">#shell?</a></span>, <span class='object_link'><a href="FXWindow.html#show-instance_method" title="Fox::FXWindow#show (method)">#show</a></span>, <span class='object_link'><a href="FXWindow.html#shown%3F-instance_method" title="Fox::FXWindow#shown? (method)">#shown?</a></span>, <span class='object_link'><a href="FXWindow.html#stringType-class_method" title="Fox::FXWindow.stringType (method)">stringType</a></span>, <span class='object_link'><a href="FXWindow.html#textType-class_method" title="Fox::FXWindow.textType (method)">textType</a></span>, <span class='object_link'><a href="FXWindow.html#textTypeName-class_method" title="Fox::FXWindow.textTypeName (method)">textTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#tr-instance_method" title="Fox::FXWindow#tr (method)">#tr</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesFrom-instance_method" title="Fox::FXWindow#translateCoordinatesFrom (method)">#translateCoordinatesFrom</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesTo-instance_method" title="Fox::FXWindow#translateCoordinatesTo (method)">#translateCoordinatesTo</a></span>, <span class='object_link'><a href="FXWindow.html#underCursor%3F-instance_method" title="Fox::FXWindow#underCursor? (method)">#underCursor?</a></span>, <span class='object_link'><a href="FXWindow.html#ungrab-instance_method" title="Fox::FXWindow#ungrab (method)">#ungrab</a></span>, <span class='object_link'><a href="FXWindow.html#ungrabKeyboard-instance_method" title="Fox::FXWindow#ungrabKeyboard (method)">#ungrabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#update-instance_method" title="Fox::FXWindow#update (method)">#update</a></span>, <span class='object_link'><a href="FXWindow.html#urilistType-class_method" title="Fox::FXWindow.urilistType (method)">urilistType</a></span>, <span class='object_link'><a href="FXWindow.html#urilistTypeName-class_method" title="Fox::FXWindow.urilistTypeName (method)">urilistTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf16Type-class_method" title="Fox::FXWindow.utf16Type (method)">utf16Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf16TypeName-class_method" title="Fox::FXWindow.utf16TypeName (method)">utf16TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf8Type-class_method" title="Fox::FXWindow.utf8Type (method)">utf8Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf8TypeName-class_method" title="Fox::FXWindow.utf8TypeName (method)">utf8TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#visible=-instance_method" title="Fox::FXWindow#visible= (method)">#visible=</a></span>, <span class='object_link'><a href="FXWindow.html#width-instance_method" title="Fox::FXWindow#width (method)">#width</a></span>, <span class='object_link'><a href="FXWindow.html#width=-instance_method" title="Fox::FXWindow#width= (method)">#width=</a></span></p>
1111
+
1112
+
1113
+
1114
+
1115
+
1116
+
1117
+
1118
+
1119
+
1120
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../Responder2.html" title="Responder2 (module)">Responder2</a></span></h3>
1121
+ <p class="inherited"><span class='object_link'><a href="../Responder2.html#connect-instance_method" title="Responder2#connect (method)">#connect</a></span></p>
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
1132
+ <p class="inherited"><span class='object_link'><a href="FXDrawable.html#resize-instance_method" title="Fox::FXDrawable#resize (method)">#resize</a></span></p>
1133
+
1134
+
1135
+
1136
+
1137
+
1138
+
1139
+
1140
+
1141
+
1142
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
1143
+ <p class="inherited"><span class='object_link'><a href="FXId.html#create-instance_method" title="Fox::FXId#create (method)">#create</a></span>, <span class='object_link'><a href="FXId.html#created%3F-instance_method" title="Fox::FXId#created? (method)">#created?</a></span>, <span class='object_link'><a href="FXId.html#destroy-instance_method" title="Fox::FXId#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXId.html#detach-instance_method" title="Fox::FXId#detach (method)">#detach</a></span>, <span class='object_link'><a href="FXId.html#runOnUiThread-instance_method" title="Fox::FXId#runOnUiThread (method)">#runOnUiThread</a></span></p>
1144
+
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></h3>
1154
+ <p class="inherited"><span class='object_link'><a href="FXObject.html#bind-instance_method" title="Fox::FXObject#bind (method)">#bind</a></span>, <span class='object_link'><a href="FXObject.html#handle-instance_method" title="Fox::FXObject#handle (method)">#handle</a></span>, <span class='object_link'><a href="FXObject.html#load-instance_method" title="Fox::FXObject#load (method)">#load</a></span>, <span class='object_link'><a href="FXObject.html#save-instance_method" title="Fox::FXObject#save (method)">#save</a></span>, <span class='object_link'><a href="FXObject.html#subclasses-class_method" title="Fox::FXObject.subclasses (method)">subclasses</a></span></p>
1155
+ <div id="constructor_details" class="method_details_list">
1156
+ <h2>Constructor Details</h2>
1157
+
1158
+ <div class="method_details first">
1159
+ <h3 class="signature first" id="initialize-instance_method">
1160
+
1161
+ #<strong>initialize</strong>(p, target = nil, selector = 0, opts = FRAME_NORMAL, x = 0, y = 0, width = 0, height = 0, padLeft = DEFAULT_PAD, padRight = DEFAULT_PAD, padTop = DEFAULT_PAD, padBottom = DEFAULT_PAD) &#x21d2; <tt><span class='object_link'><a href="" title="Fox::FXGradientBar (class)">FXGradientBar</a></span></tt>
1162
+
1163
+
1164
+
1165
+
1166
+
1167
+ </h3><div class="docstring">
1168
+ <div class="discussion">
1169
+
1170
+ <p>Return an initialized FXGradientBar instance.</p>
1171
+
1172
+
1173
+ </div>
1174
+ </div>
1175
+ <div class="tags">
1176
+
1177
+
1178
+ </div><table class="source_code">
1179
+ <tr>
1180
+ <td>
1181
+ <pre class="lines">
1182
+
1183
+
1184
+ 97
1185
+ 98</pre>
1186
+ </td>
1187
+ <td>
1188
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 97</span>
1189
+
1190
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_p'>p</span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span><span class='op'>=</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_selector'>selector</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='op'>=</span><span class='const'>FRAME_NORMAL</span><span class='comma'>,</span> <span class='id identifier rubyid_x'>x</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_width'>width</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_height'>height</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_padLeft'>padLeft</span><span class='op'>=</span><span class='const'>DEFAULT_PAD</span><span class='comma'>,</span> <span class='id identifier rubyid_padRight'>padRight</span><span class='op'>=</span><span class='const'>DEFAULT_PAD</span><span class='comma'>,</span> <span class='id identifier rubyid_padTop'>padTop</span><span class='op'>=</span><span class='const'>DEFAULT_PAD</span><span class='comma'>,</span> <span class='id identifier rubyid_padBottom'>padBottom</span><span class='op'>=</span><span class='const'>DEFAULT_PAD</span><span class='rparen'>)</span> <span class='comment'># :yields: theGradientBar
1191
+ </span><span class='kw'>end</span></pre>
1192
+ </td>
1193
+ </tr>
1194
+ </table>
1195
+ </div>
1196
+
1197
+ </div>
1198
+
1199
+ <div id="instance_attr_details" class="attr_details">
1200
+ <h2>Instance Attribute Details</h2>
1201
+
1202
+
1203
+ <span id="barStyle=-instance_method"></span>
1204
+ <div class="method_details first">
1205
+ <h3 class="signature first" id="barStyle-instance_method">
1206
+
1207
+ #<strong>barStyle</strong> &#x21d2; <tt>Object</tt>
1208
+
1209
+
1210
+
1211
+
1212
+
1213
+ </h3><div class="docstring">
1214
+ <div class="discussion">
1215
+
1216
+ <p>Gradient bar style, some combination of <code>GRADIENTBAR_HORIZONTAL</code>, <code>GRADIENTBAR_VERTICAL</code>, <code>GRADIENTBAR_NO_CONTROLS</code>, <code>GRADIENTBAR_CONTROLS_TOP</code>, <code>GRADIENTBAR_CONTROLS_BOTTOM</code>, <code>GRADIENTBAR_CONTROLS_LEFT</code> and <code>GRADIENTBAR_CONTROLS_RIGHT</code>.</p>
1217
+
1218
+
1219
+ </div>
1220
+ </div>
1221
+ <div class="tags">
1222
+
1223
+
1224
+ </div><table class="source_code">
1225
+ <tr>
1226
+ <td>
1227
+ <pre class="lines">
1228
+
1229
+
1230
+ 83
1231
+ 84
1232
+ 85</pre>
1233
+ </td>
1234
+ <td>
1235
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 83</span>
1236
+
1237
+ <span class='kw'>def</span> <span class='id identifier rubyid_barStyle'>barStyle</span>
1238
+ <span class='ivar'>@barStyle</span>
1239
+ <span class='kw'>end</span></pre>
1240
+ </td>
1241
+ </tr>
1242
+ </table>
1243
+ </div>
1244
+
1245
+
1246
+ <span id="helpText=-instance_method"></span>
1247
+ <div class="method_details ">
1248
+ <h3 class="signature " id="helpText-instance_method">
1249
+
1250
+ #<strong>helpText</strong> &#x21d2; <tt>Object</tt>
1251
+
1252
+
1253
+
1254
+
1255
+
1256
+ </h3><div class="docstring">
1257
+ <div class="discussion">
1258
+
1259
+ <p>Status line help text [String]</p>
1260
+
1261
+
1262
+ </div>
1263
+ </div>
1264
+ <div class="tags">
1265
+
1266
+
1267
+ </div><table class="source_code">
1268
+ <tr>
1269
+ <td>
1270
+ <pre class="lines">
1271
+
1272
+
1273
+ 89
1274
+ 90
1275
+ 91</pre>
1276
+ </td>
1277
+ <td>
1278
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 89</span>
1279
+
1280
+ <span class='kw'>def</span> <span class='id identifier rubyid_helpText'>helpText</span>
1281
+ <span class='ivar'>@helpText</span>
1282
+ <span class='kw'>end</span></pre>
1283
+ </td>
1284
+ </tr>
1285
+ </table>
1286
+ </div>
1287
+
1288
+
1289
+ <span id="selectColor=-instance_method"></span>
1290
+ <div class="method_details ">
1291
+ <h3 class="signature " id="selectColor-instance_method">
1292
+
1293
+ #<strong>selectColor</strong> &#x21d2; <tt>Object</tt>
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+ </h3><div class="docstring">
1300
+ <div class="discussion">
1301
+
1302
+ <p>Selection color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">Fox::FXColor</a></span></p>
1303
+
1304
+
1305
+ </div>
1306
+ </div>
1307
+ <div class="tags">
1308
+
1309
+
1310
+ </div><table class="source_code">
1311
+ <tr>
1312
+ <td>
1313
+ <pre class="lines">
1314
+
1315
+
1316
+ 86
1317
+ 87
1318
+ 88</pre>
1319
+ </td>
1320
+ <td>
1321
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 86</span>
1322
+
1323
+ <span class='kw'>def</span> <span class='id identifier rubyid_selectColor'>selectColor</span>
1324
+ <span class='ivar'>@selectColor</span>
1325
+ <span class='kw'>end</span></pre>
1326
+ </td>
1327
+ </tr>
1328
+ </table>
1329
+ </div>
1330
+
1331
+
1332
+ <span id="tipText=-instance_method"></span>
1333
+ <div class="method_details ">
1334
+ <h3 class="signature " id="tipText-instance_method">
1335
+
1336
+ #<strong>tipText</strong> &#x21d2; <tt>Object</tt>
1337
+
1338
+
1339
+
1340
+
1341
+
1342
+ </h3><div class="docstring">
1343
+ <div class="discussion">
1344
+
1345
+ <p>Tool tip text [String]</p>
1346
+
1347
+
1348
+ </div>
1349
+ </div>
1350
+ <div class="tags">
1351
+
1352
+
1353
+ </div><table class="source_code">
1354
+ <tr>
1355
+ <td>
1356
+ <pre class="lines">
1357
+
1358
+
1359
+ 92
1360
+ 93
1361
+ 94</pre>
1362
+ </td>
1363
+ <td>
1364
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 92</span>
1365
+
1366
+ <span class='kw'>def</span> <span class='id identifier rubyid_tipText'>tipText</span>
1367
+ <span class='ivar'>@tipText</span>
1368
+ <span class='kw'>end</span></pre>
1369
+ </td>
1370
+ </tr>
1371
+ </table>
1372
+ </div>
1373
+
1374
+ </div>
1375
+
1376
+
1377
+ <div id="instance_method_details" class="method_details_list">
1378
+ <h2>Instance Method Details</h2>
1379
+
1380
+
1381
+ <div class="method_details first">
1382
+ <h3 class="signature first" id="anchorSegment-instance_method">
1383
+
1384
+ #<strong>anchorSegment</strong> &#x21d2; <tt>Object</tt>
1385
+
1386
+
1387
+
1388
+
1389
+
1390
+ </h3><div class="docstring">
1391
+ <div class="discussion">
1392
+
1393
+ <p>Return the index of the anchor segment, or -1 if there is no anchor segment.</p>
1394
+
1395
+
1396
+ </div>
1397
+ </div>
1398
+ <div class="tags">
1399
+
1400
+
1401
+ </div><table class="source_code">
1402
+ <tr>
1403
+ <td>
1404
+ <pre class="lines">
1405
+
1406
+
1407
+ 152</pre>
1408
+ </td>
1409
+ <td>
1410
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 152</span>
1411
+
1412
+ <span class='kw'>def</span> <span class='id identifier rubyid_anchorSegment'>anchorSegment</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1413
+ </td>
1414
+ </tr>
1415
+ </table>
1416
+ </div>
1417
+
1418
+ <div class="method_details ">
1419
+ <h3 class="signature " id="anchorSegment=-instance_method">
1420
+
1421
+ #<strong>anchorSegment=</strong>(seg) &#x21d2; <tt>Object</tt>
1422
+
1423
+
1424
+
1425
+
1426
+
1427
+ </h3><div class="docstring">
1428
+ <div class="discussion">
1429
+
1430
+ <p>Change anchor segment to <em>seg</em>. Use a <em>seg</em> value of -1 to indicate that there is no anchor segment. Raises IndexError if <em>seg</em> is out of bounds.</p>
1431
+
1432
+
1433
+ </div>
1434
+ </div>
1435
+ <div class="tags">
1436
+
1437
+
1438
+ </div><table class="source_code">
1439
+ <tr>
1440
+ <td>
1441
+ <pre class="lines">
1442
+
1443
+
1444
+ 147</pre>
1445
+ </td>
1446
+ <td>
1447
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 147</span>
1448
+
1449
+ <span class='kw'>def</span> <span class='id identifier rubyid_anchorSegment='>anchorSegment=</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1450
+ </td>
1451
+ </tr>
1452
+ </table>
1453
+ </div>
1454
+
1455
+ <div class="method_details ">
1456
+ <h3 class="signature " id="blendSegments-instance_method">
1457
+
1458
+ #<strong>blendSegments</strong>(sglo, sghi, blend = GRADIENT_BLEND_LINEAR, notify = false) &#x21d2; <tt>Object</tt>
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+ </h3><div class="docstring">
1465
+ <div class="discussion">
1466
+
1467
+ <p>Set the blend mode for segments <em>sglo</em> through <em>sghi</em> to <em>blend</em>, where <em>blend</em> is one of <code>GRADIENT_BLEND_LINEAR</code>, <code>GRADIENT_BLEND_POWER</code>, <code>GRADIENT_BLEND_SINE</code>, <code>GRADIENT_BLEND_INCREASING</code> or <code>GRADIENT_BLEND_DECREASING</code>. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after this change is completed.</p>
1468
+
1469
+
1470
+ </div>
1471
+ </div>
1472
+ <div class="tags">
1473
+
1474
+
1475
+ </div><table class="source_code">
1476
+ <tr>
1477
+ <td>
1478
+ <pre class="lines">
1479
+
1480
+
1481
+ 299</pre>
1482
+ </td>
1483
+ <td>
1484
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 299</span>
1485
+
1486
+ <span class='kw'>def</span> <span class='id identifier rubyid_blendSegments'>blendSegments</span><span class='lparen'>(</span><span class='id identifier rubyid_sglo'>sglo</span><span class='comma'>,</span> <span class='id identifier rubyid_sghi'>sghi</span><span class='comma'>,</span> <span class='id identifier rubyid_blend'>blend</span><span class='op'>=</span><span class='const'>GRADIENT_BLEND_LINEAR</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1487
+ </td>
1488
+ </tr>
1489
+ </table>
1490
+ </div>
1491
+
1492
+ <div class="method_details ">
1493
+ <h3 class="signature " id="deselectSegments-instance_method">
1494
+
1495
+ #<strong>deselectSegments</strong>(notify) &#x21d2; <tt>Object</tt>
1496
+
1497
+
1498
+
1499
+
1500
+
1501
+ </h3><div class="docstring">
1502
+ <div class="discussion">
1503
+
1504
+ <p>Deselect all segments, and return <code>true</code> if there was a previously selected range. If <em>notify</em> is <code>true</code>, a <code>SEL_DESELECTED</code> message is sent to the gradient bar&#39;s message target after the current selection is deselected.</p>
1505
+
1506
+
1507
+ </div>
1508
+ </div>
1509
+ <div class="tags">
1510
+
1511
+
1512
+ </div><table class="source_code">
1513
+ <tr>
1514
+ <td>
1515
+ <pre class="lines">
1516
+
1517
+
1518
+ 170</pre>
1519
+ </td>
1520
+ <td>
1521
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 170</span>
1522
+
1523
+ <span class='kw'>def</span> <span class='id identifier rubyid_deselectSegments'>deselectSegments</span><span class='lparen'>(</span><span class='id identifier rubyid_notify'>notify</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1524
+ </td>
1525
+ </tr>
1526
+ </table>
1527
+ </div>
1528
+
1529
+ <div class="method_details ">
1530
+ <h3 class="signature " id="getCurrentSegment-instance_method">
1531
+
1532
+ #<strong>getCurrentSegment</strong> &#x21d2; <tt>Object</tt>
1533
+
1534
+
1535
+
1536
+
1537
+
1538
+ </h3><div class="docstring">
1539
+ <div class="discussion">
1540
+
1541
+ <p>Return the index of the current segment, or -1 if there is no current segment.</p>
1542
+
1543
+
1544
+ </div>
1545
+ </div>
1546
+ <div class="tags">
1547
+
1548
+
1549
+ </div><table class="source_code">
1550
+ <tr>
1551
+ <td>
1552
+ <pre class="lines">
1553
+
1554
+
1555
+ 140</pre>
1556
+ </td>
1557
+ <td>
1558
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 140</span>
1559
+
1560
+ <span class='kw'>def</span> <span class='id identifier rubyid_getCurrentSegment'>getCurrentSegment</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1561
+ </td>
1562
+ </tr>
1563
+ </table>
1564
+ </div>
1565
+
1566
+ <div class="method_details ">
1567
+ <h3 class="signature " id="getGrip-instance_method">
1568
+
1569
+ #<strong>getGrip</strong>(seg, x, y) &#x21d2; <tt>Object</tt>
1570
+
1571
+
1572
+
1573
+
1574
+
1575
+ </h3><div class="docstring">
1576
+ <div class="discussion">
1577
+
1578
+ <p>Return the grip in segment <em>seg</em> which is closest to location (<em>x</em>, <em>y</em>), one of <code>GRIP_LOWER</code>, <code>GRIP_SEG_LOWER</code>, <code>GRIP_MIDDLE</code>, <code>GRIP_SEG_UPPER</code>, <code>GRIP_UPPER</code> or <code>GRIP_NONE</code>.</p>
1579
+
1580
+
1581
+ </div>
1582
+ </div>
1583
+ <div class="tags">
1584
+
1585
+
1586
+ </div><table class="source_code">
1587
+ <tr>
1588
+ <td>
1589
+ <pre class="lines">
1590
+
1591
+
1592
+ 111</pre>
1593
+ </td>
1594
+ <td>
1595
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 111</span>
1596
+
1597
+ <span class='kw'>def</span> <span class='id identifier rubyid_getGrip'>getGrip</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='comma'>,</span> <span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1598
+ </td>
1599
+ </tr>
1600
+ </table>
1601
+ </div>
1602
+
1603
+ <div class="method_details ">
1604
+ <h3 class="signature " id="getSegment-instance_method">
1605
+
1606
+ #<strong>getSegment</strong>(x, y) &#x21d2; <tt>Object</tt>
1607
+
1608
+
1609
+
1610
+
1611
+
1612
+ </h3><div class="docstring">
1613
+ <div class="discussion">
1614
+
1615
+ <p>Return the zero-based index of the segment containing location (<em>x</em>, <em>y</em>). Returns -1 if no matching segment was found.</p>
1616
+
1617
+
1618
+ </div>
1619
+ </div>
1620
+ <div class="tags">
1621
+
1622
+
1623
+ </div><table class="source_code">
1624
+ <tr>
1625
+ <td>
1626
+ <pre class="lines">
1627
+
1628
+
1629
+ 104</pre>
1630
+ </td>
1631
+ <td>
1632
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 104</span>
1633
+
1634
+ <span class='kw'>def</span> <span class='id identifier rubyid_getSegment'>getSegment</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1635
+ </td>
1636
+ </tr>
1637
+ </table>
1638
+ </div>
1639
+
1640
+ <div class="method_details ">
1641
+ <h3 class="signature " id="getSegmentBlend-instance_method">
1642
+
1643
+ #<strong>getSegmentBlend</strong>(seg) &#x21d2; <tt>Object</tt>
1644
+
1645
+
1646
+
1647
+
1648
+
1649
+ </h3><div class="docstring">
1650
+ <div class="discussion">
1651
+
1652
+ <p>Return the blend mode of segment <em>seg</em>, one of <code>GRADIENT_BLEND_LINEAR</code>, <code>GRADIENT_BLEND_POWER</code>, <code>GRADIENT_BLEND_SINE</code>, <code>GRADIENT_BLEND_INCREASING</code> or <code>GRADIENT_BLEND_DECREASING</code>. Raises IndexError if <em>seg</em> is out of bounds.</p>
1653
+
1654
+
1655
+ </div>
1656
+ </div>
1657
+ <div class="tags">
1658
+
1659
+
1660
+ </div><table class="source_code">
1661
+ <tr>
1662
+ <td>
1663
+ <pre class="lines">
1664
+
1665
+
1666
+ 268</pre>
1667
+ </td>
1668
+ <td>
1669
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 268</span>
1670
+
1671
+ <span class='kw'>def</span> <span class='id identifier rubyid_getSegmentBlend'>getSegmentBlend</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1672
+ </td>
1673
+ </tr>
1674
+ </table>
1675
+ </div>
1676
+
1677
+ <div class="method_details ">
1678
+ <h3 class="signature " id="getSegmentLower-instance_method">
1679
+
1680
+ #<strong>getSegmentLower</strong>(seg) &#x21d2; <tt>Object</tt>
1681
+
1682
+
1683
+
1684
+
1685
+
1686
+ </h3><div class="docstring">
1687
+ <div class="discussion">
1688
+
1689
+ <p>Return lower value of segment <em>seg</em>. Raises IndexError if <em>seg</em> is out of bounds.</p>
1690
+
1691
+
1692
+ </div>
1693
+ </div>
1694
+ <div class="tags">
1695
+
1696
+
1697
+ </div><table class="source_code">
1698
+ <tr>
1699
+ <td>
1700
+ <pre class="lines">
1701
+
1702
+
1703
+ 241</pre>
1704
+ </td>
1705
+ <td>
1706
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 241</span>
1707
+
1708
+ <span class='kw'>def</span> <span class='id identifier rubyid_getSegmentLower'>getSegmentLower</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1709
+ </td>
1710
+ </tr>
1711
+ </table>
1712
+ </div>
1713
+
1714
+ <div class="method_details ">
1715
+ <h3 class="signature " id="getSegmentLowerColor-instance_method">
1716
+
1717
+ #<strong>getSegmentLowerColor</strong>(seg) &#x21d2; <tt>Object</tt>
1718
+
1719
+
1720
+
1721
+
1722
+
1723
+ </h3><div class="docstring">
1724
+ <div class="discussion">
1725
+
1726
+ <p>Return lower color of the segment with index <em>seg</em>. Raises IndexError if <em>seg</em> is out of bounds.</p>
1727
+
1728
+
1729
+ </div>
1730
+ </div>
1731
+ <div class="tags">
1732
+
1733
+
1734
+ </div><table class="source_code">
1735
+ <tr>
1736
+ <td>
1737
+ <pre class="lines">
1738
+
1739
+
1740
+ 198</pre>
1741
+ </td>
1742
+ <td>
1743
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 198</span>
1744
+
1745
+ <span class='kw'>def</span> <span class='id identifier rubyid_getSegmentLowerColor'>getSegmentLowerColor</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1746
+ </td>
1747
+ </tr>
1748
+ </table>
1749
+ </div>
1750
+
1751
+ <div class="method_details ">
1752
+ <h3 class="signature " id="getSegmentMiddle-instance_method">
1753
+
1754
+ #<strong>getSegmentMiddle</strong>(seg) &#x21d2; <tt>Object</tt>
1755
+
1756
+
1757
+
1758
+
1759
+
1760
+ </h3><div class="docstring">
1761
+ <div class="discussion">
1762
+
1763
+ <p>Return middle value of segment <em>seg</em>. Raises IndexError if <em>seg</em> is out of bounds.</p>
1764
+
1765
+
1766
+ </div>
1767
+ </div>
1768
+ <div class="tags">
1769
+
1770
+
1771
+ </div><table class="source_code">
1772
+ <tr>
1773
+ <td>
1774
+ <pre class="lines">
1775
+
1776
+
1777
+ 247</pre>
1778
+ </td>
1779
+ <td>
1780
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 247</span>
1781
+
1782
+ <span class='kw'>def</span> <span class='id identifier rubyid_getSegmentMiddle'>getSegmentMiddle</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1783
+ </td>
1784
+ </tr>
1785
+ </table>
1786
+ </div>
1787
+
1788
+ <div class="method_details ">
1789
+ <h3 class="signature " id="getSegmentUpper-instance_method">
1790
+
1791
+ #<strong>getSegmentUpper</strong>(seg) &#x21d2; <tt>Object</tt>
1792
+
1793
+
1794
+
1795
+
1796
+
1797
+ </h3><div class="docstring">
1798
+ <div class="discussion">
1799
+
1800
+ <p>Return upper value of segment <em>seg</em>. Raises IndexError if <em>seg</em> is out of bounds.</p>
1801
+
1802
+
1803
+ </div>
1804
+ </div>
1805
+ <div class="tags">
1806
+
1807
+
1808
+ </div><table class="source_code">
1809
+ <tr>
1810
+ <td>
1811
+ <pre class="lines">
1812
+
1813
+
1814
+ 253</pre>
1815
+ </td>
1816
+ <td>
1817
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 253</span>
1818
+
1819
+ <span class='kw'>def</span> <span class='id identifier rubyid_getSegmentUpper'>getSegmentUpper</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1820
+ </td>
1821
+ </tr>
1822
+ </table>
1823
+ </div>
1824
+
1825
+ <div class="method_details ">
1826
+ <h3 class="signature " id="getSegmentUpperColor-instance_method">
1827
+
1828
+ #<strong>getSegmentUpperColor</strong>(seg) &#x21d2; <tt>Object</tt>
1829
+
1830
+
1831
+
1832
+
1833
+
1834
+ </h3><div class="docstring">
1835
+ <div class="discussion">
1836
+
1837
+ <p>Return upper color of the segment with index <em>seg</em>. Raises IndexError if <em>seg</em> is out of bounds.</p>
1838
+
1839
+
1840
+ </div>
1841
+ </div>
1842
+ <div class="tags">
1843
+
1844
+
1845
+ </div><table class="source_code">
1846
+ <tr>
1847
+ <td>
1848
+ <pre class="lines">
1849
+
1850
+
1851
+ 204</pre>
1852
+ </td>
1853
+ <td>
1854
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 204</span>
1855
+
1856
+ <span class='kw'>def</span> <span class='id identifier rubyid_getSegmentUpperColor'>getSegmentUpperColor</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1857
+ </td>
1858
+ </tr>
1859
+ </table>
1860
+ </div>
1861
+
1862
+ <div class="method_details ">
1863
+ <h3 class="signature " id="gradient-instance_method">
1864
+
1865
+ #<strong>gradient</strong>(nramp) &#x21d2; <tt>Object</tt>
1866
+
1867
+
1868
+
1869
+
1870
+
1871
+ </h3><div class="docstring">
1872
+ <div class="discussion">
1873
+
1874
+ <p>Return a gradient ramp of size <em>nramp</em> based on the settings for this gradient bar. The return value is an array of color values corresponding to this gradient bar.</p>
1875
+
1876
+
1877
+ </div>
1878
+ </div>
1879
+ <div class="tags">
1880
+
1881
+
1882
+ </div><table class="source_code">
1883
+ <tr>
1884
+ <td>
1885
+ <pre class="lines">
1886
+
1887
+
1888
+ 260</pre>
1889
+ </td>
1890
+ <td>
1891
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 260</span>
1892
+
1893
+ <span class='kw'>def</span> <span class='id identifier rubyid_gradient'>gradient</span><span class='lparen'>(</span><span class='id identifier rubyid_nramp'>nramp</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1894
+ </td>
1895
+ </tr>
1896
+ </table>
1897
+ </div>
1898
+
1899
+ <div class="method_details ">
1900
+ <h3 class="signature " id="gradients-instance_method">
1901
+
1902
+ #<strong>gradients</strong> &#x21d2; <tt>Object</tt>
1903
+
1904
+
1905
+
1906
+
1907
+
1908
+ </h3><div class="docstring">
1909
+ <div class="discussion">
1910
+
1911
+ <p>Return a reference to the array of gradient segments (an array of FXGradient instances).</p>
1912
+
1913
+
1914
+ </div>
1915
+ </div>
1916
+ <div class="tags">
1917
+
1918
+
1919
+ </div><table class="source_code">
1920
+ <tr>
1921
+ <td>
1922
+ <pre class="lines">
1923
+
1924
+
1925
+ 126</pre>
1926
+ </td>
1927
+ <td>
1928
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 126</span>
1929
+
1930
+ <span class='kw'>def</span> <span class='id identifier rubyid_gradients'>gradients</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1931
+ </td>
1932
+ </tr>
1933
+ </table>
1934
+ </div>
1935
+
1936
+ <div class="method_details ">
1937
+ <h3 class="signature " id="gradients=-instance_method">
1938
+
1939
+ #<strong>gradients=</strong>(segments) &#x21d2; <tt>Object</tt>
1940
+
1941
+
1942
+
1943
+
1944
+
1945
+ </h3><div class="docstring">
1946
+ <div class="discussion">
1947
+
1948
+ <p>Replace the current gradient segments with <em>segments</em>, an array of FXGradient instances.</p>
1949
+
1950
+
1951
+ </div>
1952
+ </div>
1953
+ <div class="tags">
1954
+
1955
+
1956
+ </div><table class="source_code">
1957
+ <tr>
1958
+ <td>
1959
+ <pre class="lines">
1960
+
1961
+
1962
+ 120</pre>
1963
+ </td>
1964
+ <td>
1965
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 120</span>
1966
+
1967
+ <span class='kw'>def</span> <span class='id identifier rubyid_gradients='>gradients=</span><span class='lparen'>(</span><span class='id identifier rubyid_segments'>segments</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1968
+ </td>
1969
+ </tr>
1970
+ </table>
1971
+ </div>
1972
+
1973
+ <div class="method_details ">
1974
+ <h3 class="signature " id="mergeSegments-instance_method">
1975
+
1976
+ #<strong>mergeSegments</strong>(sglo, sghi, notify = false) &#x21d2; <tt>Object</tt>
1977
+
1978
+
1979
+
1980
+
1981
+
1982
+ </h3><div class="docstring">
1983
+ <div class="discussion">
1984
+
1985
+ <p>Merge segments. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after this change is completed.</p>
1986
+
1987
+
1988
+ </div>
1989
+ </div>
1990
+ <div class="tags">
1991
+
1992
+
1993
+ </div><table class="source_code">
1994
+ <tr>
1995
+ <td>
1996
+ <pre class="lines">
1997
+
1998
+
1999
+ 282</pre>
2000
+ </td>
2001
+ <td>
2002
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 282</span>
2003
+
2004
+ <span class='kw'>def</span> <span class='id identifier rubyid_mergeSegments'>mergeSegments</span><span class='lparen'>(</span><span class='id identifier rubyid_sglo'>sglo</span><span class='comma'>,</span> <span class='id identifier rubyid_sghi'>sghi</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2005
+ </td>
2006
+ </tr>
2007
+ </table>
2008
+ </div>
2009
+
2010
+ <div class="method_details ">
2011
+ <h3 class="signature " id="moveSegmentLower-instance_method">
2012
+
2013
+ #<strong>moveSegmentLower</strong>(seg, val, notify = false) &#x21d2; <tt>Object</tt>
2014
+
2015
+
2016
+
2017
+
2018
+
2019
+ </h3><div class="docstring">
2020
+ <div class="discussion">
2021
+
2022
+ <p>Move lower point of segment <em>seg</em> to <em>val</em>. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after the segment&#39;s lower value is changed. Raises IndexError if <em>seg</em> is out of bounds.</p>
2023
+
2024
+
2025
+ </div>
2026
+ </div>
2027
+ <div class="tags">
2028
+
2029
+
2030
+ </div><table class="source_code">
2031
+ <tr>
2032
+ <td>
2033
+ <pre class="lines">
2034
+
2035
+
2036
+ 212</pre>
2037
+ </td>
2038
+ <td>
2039
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 212</span>
2040
+
2041
+ <span class='kw'>def</span> <span class='id identifier rubyid_moveSegmentLower'>moveSegmentLower</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2042
+ </td>
2043
+ </tr>
2044
+ </table>
2045
+ </div>
2046
+
2047
+ <div class="method_details ">
2048
+ <h3 class="signature " id="moveSegmentMiddle-instance_method">
2049
+
2050
+ #<strong>moveSegmentMiddle</strong>(seg, val, notify = false) &#x21d2; <tt>Object</tt>
2051
+
2052
+
2053
+
2054
+
2055
+
2056
+ </h3><div class="docstring">
2057
+ <div class="discussion">
2058
+
2059
+ <p>Move middle point of segment <em>seg</em> to <em>val</em>. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after the segment&#39;s middle value is changed. Raises IndexError if <em>seg</em> is out of bounds.</p>
2060
+
2061
+
2062
+ </div>
2063
+ </div>
2064
+ <div class="tags">
2065
+
2066
+
2067
+ </div><table class="source_code">
2068
+ <tr>
2069
+ <td>
2070
+ <pre class="lines">
2071
+
2072
+
2073
+ 220</pre>
2074
+ </td>
2075
+ <td>
2076
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 220</span>
2077
+
2078
+ <span class='kw'>def</span> <span class='id identifier rubyid_moveSegmentMiddle'>moveSegmentMiddle</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2079
+ </td>
2080
+ </tr>
2081
+ </table>
2082
+ </div>
2083
+
2084
+ <div class="method_details ">
2085
+ <h3 class="signature " id="moveSegments-instance_method">
2086
+
2087
+ #<strong>moveSegments</strong>(sglo, sghi, val, notify = false) &#x21d2; <tt>Object</tt>
2088
+
2089
+
2090
+
2091
+
2092
+
2093
+ </h3><div class="docstring">
2094
+ <div class="discussion">
2095
+
2096
+ <p>Move segments <em>sglo</em> to <em>sghi</em> to new position <em>val</em>. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after the segments&#39; values are changed.</p>
2097
+
2098
+
2099
+ </div>
2100
+ </div>
2101
+ <div class="tags">
2102
+
2103
+
2104
+ </div><table class="source_code">
2105
+ <tr>
2106
+ <td>
2107
+ <pre class="lines">
2108
+
2109
+
2110
+ 235</pre>
2111
+ </td>
2112
+ <td>
2113
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 235</span>
2114
+
2115
+ <span class='kw'>def</span> <span class='id identifier rubyid_moveSegments'>moveSegments</span><span class='lparen'>(</span><span class='id identifier rubyid_sglo'>sglo</span><span class='comma'>,</span> <span class='id identifier rubyid_sghi'>sghi</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2116
+ </td>
2117
+ </tr>
2118
+ </table>
2119
+ </div>
2120
+
2121
+ <div class="method_details ">
2122
+ <h3 class="signature " id="moveSegmentUpper-instance_method">
2123
+
2124
+ #<strong>moveSegmentUpper</strong>(seg, val, notify = false) &#x21d2; <tt>Object</tt>
2125
+
2126
+
2127
+
2128
+
2129
+
2130
+ </h3><div class="docstring">
2131
+ <div class="discussion">
2132
+
2133
+ <p>Move upper point of segment <em>seg</em> to <em>val</em>. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after the segment&#39;s upper value is changed. Raises IndexError if <em>seg</em> is out of bounds.</p>
2134
+
2135
+
2136
+ </div>
2137
+ </div>
2138
+ <div class="tags">
2139
+
2140
+
2141
+ </div><table class="source_code">
2142
+ <tr>
2143
+ <td>
2144
+ <pre class="lines">
2145
+
2146
+
2147
+ 228</pre>
2148
+ </td>
2149
+ <td>
2150
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 228</span>
2151
+
2152
+ <span class='kw'>def</span> <span class='id identifier rubyid_moveSegmentUpper'>moveSegmentUpper</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='comma'>,</span> <span class='id identifier rubyid_val'>val</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2153
+ </td>
2154
+ </tr>
2155
+ </table>
2156
+ </div>
2157
+
2158
+ <div class="method_details ">
2159
+ <h3 class="signature " id="numSegments-instance_method">
2160
+
2161
+ #<strong>numSegments</strong> &#x21d2; <tt>Object</tt>
2162
+
2163
+
2164
+
2165
+
2166
+
2167
+ </h3><div class="docstring">
2168
+ <div class="discussion">
2169
+
2170
+ <p>Return the number of segments</p>
2171
+
2172
+
2173
+ </div>
2174
+ </div>
2175
+ <div class="tags">
2176
+
2177
+
2178
+ </div><table class="source_code">
2179
+ <tr>
2180
+ <td>
2181
+ <pre class="lines">
2182
+
2183
+
2184
+ 114</pre>
2185
+ </td>
2186
+ <td>
2187
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 114</span>
2188
+
2189
+ <span class='kw'>def</span> <span class='id identifier rubyid_numSegments'>numSegments</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2190
+ </td>
2191
+ </tr>
2192
+ </table>
2193
+ </div>
2194
+
2195
+ <div class="method_details ">
2196
+ <h3 class="signature " id="segmentSelected?-instance_method">
2197
+
2198
+ #<strong>segmentSelected?</strong>(seg) &#x21d2; <tt>Boolean</tt>
2199
+
2200
+
2201
+
2202
+
2203
+
2204
+ </h3><div class="docstring">
2205
+ <div class="discussion">
2206
+
2207
+ <p>Return <code>true</code> if the specified segment is selected. Raises IndexError if <em>seg</em> is out of bounds.</p>
2208
+
2209
+
2210
+ </div>
2211
+ </div>
2212
+ <div class="tags">
2213
+
2214
+ <p class="tag_title">Returns:</p>
2215
+ <ul class="return">
2216
+
2217
+ <li>
2218
+
2219
+
2220
+ <span class='type'>(<tt>Boolean</tt>)</span>
2221
+
2222
+
2223
+
2224
+ </li>
2225
+
2226
+ </ul>
2227
+
2228
+ </div><table class="source_code">
2229
+ <tr>
2230
+ <td>
2231
+ <pre class="lines">
2232
+
2233
+
2234
+ 176</pre>
2235
+ </td>
2236
+ <td>
2237
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 176</span>
2238
+
2239
+ <span class='kw'>def</span> <span class='id identifier rubyid_segmentSelected?'>segmentSelected?</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2240
+ </td>
2241
+ </tr>
2242
+ </table>
2243
+ </div>
2244
+
2245
+ <div class="method_details ">
2246
+ <h3 class="signature " id="selectSegments-instance_method">
2247
+
2248
+ #<strong>selectSegments</strong>(fm, to, notify = false) &#x21d2; <tt>Object</tt>
2249
+
2250
+
2251
+
2252
+
2253
+
2254
+ </h3><div class="docstring">
2255
+ <div class="discussion">
2256
+
2257
+ <p>Select segment(s) <em>fm</em> through <em>to</em> and return <code>true</code> if the selected range is different than it was. If <em>notify</em> is <code>true</code>, a <code>SEL_SELECTED</code> message is sent to the gradient bar&#39;s message target after the current segment is changed. Raises ArgumentError if <em>fm</em> is greater than <em>to</em>, and IndexError if either <em>fm</em> or <em>to</em> is out of bounds.</p>
2258
+
2259
+
2260
+ </div>
2261
+ </div>
2262
+ <div class="tags">
2263
+
2264
+
2265
+ </div><table class="source_code">
2266
+ <tr>
2267
+ <td>
2268
+ <pre class="lines">
2269
+
2270
+
2271
+ 162</pre>
2272
+ </td>
2273
+ <td>
2274
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 162</span>
2275
+
2276
+ <span class='kw'>def</span> <span class='id identifier rubyid_selectSegments'>selectSegments</span><span class='lparen'>(</span><span class='id identifier rubyid_fm'>fm</span><span class='comma'>,</span> <span class='id identifier rubyid_to'>to</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2277
+ </td>
2278
+ </tr>
2279
+ </table>
2280
+ </div>
2281
+
2282
+ <div class="method_details ">
2283
+ <h3 class="signature " id="setCurrentSegment-instance_method">
2284
+
2285
+ #<strong>setCurrentSegment</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
2286
+
2287
+
2288
+
2289
+
2290
+
2291
+ </h3><div class="docstring">
2292
+ <div class="discussion">
2293
+
2294
+ <p>Change current segment to <em>index</em>. Use an <em>index</em> of -1 to indicate that there is no current segment. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after the current segment is changed. Raises IndexError if <em>index</em> is out of bounds.</p>
2295
+
2296
+
2297
+ </div>
2298
+ </div>
2299
+ <div class="tags">
2300
+
2301
+
2302
+ </div><table class="source_code">
2303
+ <tr>
2304
+ <td>
2305
+ <pre class="lines">
2306
+
2307
+
2308
+ 135</pre>
2309
+ </td>
2310
+ <td>
2311
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 135</span>
2312
+
2313
+ <span class='kw'>def</span> <span class='id identifier rubyid_setCurrentSegment'>setCurrentSegment</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2314
+ </td>
2315
+ </tr>
2316
+ </table>
2317
+ </div>
2318
+
2319
+ <div class="method_details ">
2320
+ <h3 class="signature " id="setSegmentLowerColor-instance_method">
2321
+
2322
+ #<strong>setSegmentLowerColor</strong>(seg, clr, notify = false) &#x21d2; <tt>Object</tt>
2323
+
2324
+
2325
+
2326
+
2327
+
2328
+ </h3><div class="docstring">
2329
+ <div class="discussion">
2330
+
2331
+ <p>Set lower color of the segment with index <em>seg</em>. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after the segment&#39;s lower color is changed. Raises IndexError if <em>seg</em> is out of bounds.</p>
2332
+
2333
+
2334
+ </div>
2335
+ </div>
2336
+ <div class="tags">
2337
+
2338
+
2339
+ </div><table class="source_code">
2340
+ <tr>
2341
+ <td>
2342
+ <pre class="lines">
2343
+
2344
+
2345
+ 184</pre>
2346
+ </td>
2347
+ <td>
2348
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 184</span>
2349
+
2350
+ <span class='kw'>def</span> <span class='id identifier rubyid_setSegmentLowerColor'>setSegmentLowerColor</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='comma'>,</span> <span class='id identifier rubyid_clr'>clr</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2351
+ </td>
2352
+ </tr>
2353
+ </table>
2354
+ </div>
2355
+
2356
+ <div class="method_details ">
2357
+ <h3 class="signature " id="setSegmentUpperColor-instance_method">
2358
+
2359
+ #<strong>setSegmentUpperColor</strong>(seg, clr, notify = false) &#x21d2; <tt>Object</tt>
2360
+
2361
+
2362
+
2363
+
2364
+
2365
+ </h3><div class="docstring">
2366
+ <div class="discussion">
2367
+
2368
+ <p>Set upper color of the segment with index <em>seg</em>. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after the segment&#39;s upper color is changed. Raises IndexError if <em>seg</em> is out of bounds.</p>
2369
+
2370
+
2371
+ </div>
2372
+ </div>
2373
+ <div class="tags">
2374
+
2375
+
2376
+ </div><table class="source_code">
2377
+ <tr>
2378
+ <td>
2379
+ <pre class="lines">
2380
+
2381
+
2382
+ 192</pre>
2383
+ </td>
2384
+ <td>
2385
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 192</span>
2386
+
2387
+ <span class='kw'>def</span> <span class='id identifier rubyid_setSegmentUpperColor'>setSegmentUpperColor</span><span class='lparen'>(</span><span class='id identifier rubyid_seg'>seg</span><span class='comma'>,</span> <span class='id identifier rubyid_clr'>clr</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2388
+ </td>
2389
+ </tr>
2390
+ </table>
2391
+ </div>
2392
+
2393
+ <div class="method_details ">
2394
+ <h3 class="signature " id="splitSegments-instance_method">
2395
+
2396
+ #<strong>splitSegments</strong>(sglo, sghi, notify = false) &#x21d2; <tt>Object</tt>
2397
+
2398
+
2399
+
2400
+
2401
+
2402
+ </h3><div class="docstring">
2403
+ <div class="discussion">
2404
+
2405
+ <p>Split segment at the midpoint If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after this change is completed.</p>
2406
+
2407
+
2408
+ </div>
2409
+ </div>
2410
+ <div class="tags">
2411
+
2412
+
2413
+ </div><table class="source_code">
2414
+ <tr>
2415
+ <td>
2416
+ <pre class="lines">
2417
+
2418
+
2419
+ 275</pre>
2420
+ </td>
2421
+ <td>
2422
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 275</span>
2423
+
2424
+ <span class='kw'>def</span> <span class='id identifier rubyid_splitSegments'>splitSegments</span><span class='lparen'>(</span><span class='id identifier rubyid_sglo'>sglo</span><span class='comma'>,</span> <span class='id identifier rubyid_sghi'>sghi</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2425
+ </td>
2426
+ </tr>
2427
+ </table>
2428
+ </div>
2429
+
2430
+ <div class="method_details ">
2431
+ <h3 class="signature " id="uniformSegments-instance_method">
2432
+
2433
+ #<strong>uniformSegments</strong>(sglo, sghi, notify = false) &#x21d2; <tt>Object</tt>
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+ </h3><div class="docstring">
2440
+ <div class="discussion">
2441
+
2442
+ <p>Make segments uniformly distributed. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the gradient bar&#39;s message target after this change is completed.</p>
2443
+
2444
+
2445
+ </div>
2446
+ </div>
2447
+ <div class="tags">
2448
+
2449
+
2450
+ </div><table class="source_code">
2451
+ <tr>
2452
+ <td>
2453
+ <pre class="lines">
2454
+
2455
+
2456
+ 289</pre>
2457
+ </td>
2458
+ <td>
2459
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXGradientBar.rb', line 289</span>
2460
+
2461
+ <span class='kw'>def</span> <span class='id identifier rubyid_uniformSegments'>uniformSegments</span><span class='lparen'>(</span><span class='id identifier rubyid_sglo'>sglo</span><span class='comma'>,</span> <span class='id identifier rubyid_sghi'>sghi</span><span class='comma'>,</span> <span class='id identifier rubyid_notify'>notify</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2462
+ </td>
2463
+ </tr>
2464
+ </table>
2465
+ </div>
2466
+
2467
+ </div>
2468
+
2469
+ </div>
2470
+
2471
+ <div id="footer">
2472
+ Generated on Fri Nov 27 21:11:23 2020 by
2473
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2474
+ 0.9.24 (ruby-2.7.2).
2475
+ </div>
2476
+
2477
+ </div>
2478
+ </body>
2479
+ </html>