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,3040 @@
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::FXHeader
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::FXHeader";
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">FXHeader</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::FXHeader
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::FXHeader</li>
88
+
89
+ </ul>
90
+ <a href="#" class="inheritanceTree">show all</a>
91
+
92
+ </dd>
93
+ </dl>
94
+
95
+
96
+
97
+
98
+
99
+
100
+ <dl>
101
+ <dt>Includes:</dt>
102
+ <dd>Enumerable</dd>
103
+ </dl>
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <dl>
111
+ <dt>Defined in:</dt>
112
+ <dd>rdoc-sources/FXHeader.rb<span class="defines">,<br />
113
+ lib/fox16/core.rb,<br /> lib/fox16/iterators.rb</span>
114
+ </dd>
115
+ </dl>
116
+
117
+ </div>
118
+
119
+ <h2>Overview</h2><div class="docstring">
120
+ <div class="discussion">
121
+
122
+ <p>Header control may be placed over a table or list to provide a resizable captions above a number of columns. Each caption comprises a label and an optional icon; in addition, an arrow may be shown to indicate whether the items in that column are sorted, and if so, whether they are sorted in increasing or decreasing order. Each caption can be interactively resized. During the resizing, if the HEADER_TRACKING was specified, the header control sends a SEL_CHANGED message to its target, with the message data set to the caption number being resized, of the type FXint. If the HEADER_TRACKING was not specified the SEL_CHANGED message is sent at the end of the resizing operation. Clicking on a caption causes a message of type SEL_COMMAND to be sent to the target, with the message data set to the caption number being clicked. A single click on a split causes a message of type SEL_CLICKED to be sent to the target; a typical response to this message would be to adjust the size of the split to fit the contents displayed underneath it. The contents may be scrolled by calling setPosition().</p>
123
+
124
+ <h3 id="label-Events">Events</h3>
125
+
126
+ <p>The following messages are sent by FXHeader to its target:</p>
127
+ <dl class="rdoc-list note-list"><dt><code>SEL_CHANGED</code>
128
+ <dd>
129
+ <p>sent continuously while a header item is being resized, if the <code>HEADER_TRACKING</code> option was specified, or at the end of the resize if <code>HEADER_TRACKING</code> was not specfied. The message data is an integer indicating the index of the item being resized.</p>
130
+ </dd><dt><code>SEL_COMMAND</code>
131
+ <dd>
132
+ <p>sent when a header item is clicked; the message data is an integer indicating the index of the current item.</p>
133
+ </dd><dt><code>SEL_CLICKED</code>
134
+ <dd>
135
+ <p>sent when a header item is clicked; the message data is an integer indicating the index of the current item.</p>
136
+ </dd><dt><code>SEL_LEFTBUTTONPRESS</code>
137
+ <dd>
138
+ <p>sent when the left mouse button goes down; the message data is an FXEvent instance.</p>
139
+ </dd><dt><code>SEL_LEFTBUTTONRELEASE</code>
140
+ <dd>
141
+ <p>sent when the left mouse button goes up; the message data is an FXEvent instance.</p>
142
+ </dd><dt><code>SEL_REPLACED</code>
143
+ <dd>
144
+ <p>sent when a header item is about to be replaced; the message data is an Integer indicating the index of the item to be replaced.</p>
145
+ </dd><dt><code>SEL_INSERTED</code>
146
+ <dd>
147
+ <p>sent after a header item is inserted; the message data is an Integer indicating the index of the item that was inserted.</p>
148
+ </dd><dt><code>SEL_DELETED</code>
149
+ <dd>
150
+ <p>sent when a header item is about to be removed; the message data is an Integer indicating the index of the item to be removed.</p>
151
+ </dd></dl>
152
+
153
+ <h3 id="label-Header+style+options">Header style options</h3>
154
+ <dl class="rdoc-list note-list"><dt><code>HEADER_BUTTON</code>
155
+ <dd>
156
+ <p>Button style can be clicked</p>
157
+ </dd><dt><code>HEADER_HORIZONTAL</code>
158
+ <dd>
159
+ <p>Horizontal header control (default)</p>
160
+ </dd><dt><code>HEADER_VERTICAL</code>
161
+ <dd>
162
+ <p>Vertical header control</p>
163
+ </dd><dt><code>HEADER_TRACKING</code>
164
+ <dd>
165
+ <p>Tracks continuously while moving</p>
166
+ </dd><dt><code>HEADER_RESIZE</code>
167
+ <dd>
168
+ <p>Allow resizing sections</p>
169
+ </dd><dt><code>HEADER_NORMAL</code>
170
+ <dd>
171
+ <p>Normal options, same as <code>HEADER_HORIZONTAL|FRAME_NORMAL</code></p>
172
+ </dd></dl>
173
+
174
+ <h3 id="label-Message+identifiers">Message identifiers</h3>
175
+ <dl class="rdoc-list note-list"><dt><code>ID_TIPTIMER</code>
176
+ <dd>
177
+ <p>x</p>
178
+ </dd></dl>
179
+
180
+
181
+ </div>
182
+ </div>
183
+ <div class="tags">
184
+
185
+
186
+ </div>
187
+
188
+
189
+
190
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
191
+ <ul class="summary">
192
+
193
+ <li class="public ">
194
+ <span class="summary_signature">
195
+
196
+ <a href="#font-instance_method" title="#font (instance method)">#<strong>font</strong> &#x21d2; Object </a>
197
+
198
+
199
+
200
+ </span>
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+ <span class="summary_desc"><div class='inline'>
214
+ <p>Text font <span class='object_link'><a href="FXFont.html" title="Fox::FXFont (class)">FXFont</a></span>.</p>
215
+ </div></span>
216
+
217
+ </li>
218
+
219
+
220
+ <li class="public ">
221
+ <span class="summary_signature">
222
+
223
+ <a href="#headerStyle-instance_method" title="#headerStyle (instance method)">#<strong>headerStyle</strong> &#x21d2; Object </a>
224
+
225
+
226
+
227
+ </span>
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+ <span class="summary_desc"><div class='inline'>
241
+ <p>Header style options [Integer].</p>
242
+ </div></span>
243
+
244
+ </li>
245
+
246
+
247
+ <li class="public ">
248
+ <span class="summary_signature">
249
+
250
+ <a href="#helpText-instance_method" title="#helpText (instance method)">#<strong>helpText</strong> &#x21d2; Object </a>
251
+
252
+
253
+
254
+ </span>
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+ <span class="summary_desc"><div class='inline'>
268
+ <p>Status line help text for this header.</p>
269
+ </div></span>
270
+
271
+ </li>
272
+
273
+
274
+ <li class="public ">
275
+ <span class="summary_signature">
276
+
277
+ <a href="#numItems-instance_method" title="#numItems (instance method)">#<strong>numItems</strong> &#x21d2; Object </a>
278
+
279
+
280
+
281
+ </span>
282
+
283
+
284
+
285
+
286
+ <span class="note title readonly">readonly</span>
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+ <span class="summary_desc"><div class='inline'>
297
+ <p>Number of items [Integer].</p>
298
+ </div></span>
299
+
300
+ </li>
301
+
302
+
303
+ <li class="public ">
304
+ <span class="summary_signature">
305
+
306
+ <a href="#position-instance_method" title="#position (instance method)">#<strong>position</strong> &#x21d2; Object </a>
307
+
308
+
309
+
310
+ </span>
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+ <span class="summary_desc"><div class='inline'>
324
+ <p>Current position [Integer].</p>
325
+ </div></span>
326
+
327
+ </li>
328
+
329
+
330
+ <li class="public ">
331
+ <span class="summary_signature">
332
+
333
+ <a href="#textColor-instance_method" title="#textColor (instance method)">#<strong>textColor</strong> &#x21d2; Object </a>
334
+
335
+
336
+
337
+ </span>
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+ <span class="summary_desc"><div class='inline'>
351
+ <p>Text color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">FXColor</a></span>.</p>
352
+ </div></span>
353
+
354
+ </li>
355
+
356
+
357
+ <li class="public ">
358
+ <span class="summary_signature">
359
+
360
+ <a href="#totalSize-instance_method" title="#totalSize (instance method)">#<strong>totalSize</strong> &#x21d2; Object </a>
361
+
362
+
363
+
364
+ </span>
365
+
366
+
367
+
368
+
369
+ <span class="note title readonly">readonly</span>
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+ <span class="summary_desc"><div class='inline'>
380
+ <p>Total size of all items [Integer].</p>
381
+ </div></span>
382
+
383
+ </li>
384
+
385
+
386
+ </ul>
387
+
388
+
389
+
390
+
391
+
392
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXFrame.html" title="Fox::FXFrame (class)">FXFrame</a></span></h3>
393
+ <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>
394
+
395
+
396
+
397
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
398
+ <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#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>
399
+
400
+
401
+
402
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
403
+ <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>
404
+
405
+
406
+
407
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
408
+ <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>
409
+
410
+
411
+
412
+ <h2>
413
+ Instance Method Summary
414
+ <small><a href="#" class="summary_toggle">collapse</a></small>
415
+ </h2>
416
+
417
+ <ul class="summary">
418
+
419
+ <li class="public ">
420
+ <span class="summary_signature">
421
+
422
+ <a href="#appendItem-instance_method" title="#appendItem (instance method)">#<strong>appendItem</strong>(text, icon = nil, size = 0, data = nil, notify = false) &#x21d2; Object </a>
423
+
424
+
425
+
426
+ </span>
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+ <span class="summary_desc"><div class='inline'>
437
+ <p>Append a new item with the specified text, icon, size and user data object, and return the index of the appended item.</p>
438
+ </div></span>
439
+
440
+ </li>
441
+
442
+
443
+ <li class="public ">
444
+ <span class="summary_signature">
445
+
446
+ <a href="#arrowDown%3F-instance_method" title="#arrowDown? (instance method)">#<strong>arrowDown?</strong>(index) &#x21d2; Boolean </a>
447
+
448
+
449
+
450
+ </span>
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+ <span class="summary_desc"><div class='inline'>
461
+ <p>Returns true if the specified header item&#39;s arrow points down.</p>
462
+ </div></span>
463
+
464
+ </li>
465
+
466
+
467
+ <li class="public ">
468
+ <span class="summary_signature">
469
+
470
+ <a href="#arrowMaybe%3F-instance_method" title="#arrowMaybe? (instance method)">#<strong>arrowMaybe?</strong>(index) &#x21d2; Boolean </a>
471
+
472
+
473
+
474
+ </span>
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+ <span class="summary_desc"><div class='inline'>
485
+ <p>Returns true if the specified header item does not display any arrow.</p>
486
+ </div></span>
487
+
488
+ </li>
489
+
490
+
491
+ <li class="public ">
492
+ <span class="summary_signature">
493
+
494
+ <a href="#arrowUp%3F-instance_method" title="#arrowUp? (instance method)">#<strong>arrowUp?</strong>(index) &#x21d2; Boolean </a>
495
+
496
+
497
+
498
+ </span>
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+ <span class="summary_desc"><div class='inline'>
509
+ <p>Returns true if the specified header item&#39;s arrow points up.</p>
510
+ </div></span>
511
+
512
+ </li>
513
+
514
+
515
+ <li class="public ">
516
+ <span class="summary_signature">
517
+
518
+ <a href="#clearItems-instance_method" title="#clearItems (instance method)">#<strong>clearItems</strong>(notify = false) &#x21d2; Object </a>
519
+
520
+
521
+
522
+ </span>
523
+
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+ <span class="summary_desc"><div class='inline'>
533
+ <p>Remove all items from this header.</p>
534
+ </div></span>
535
+
536
+ </li>
537
+
538
+
539
+ <li class="public ">
540
+ <span class="summary_signature">
541
+
542
+ <a href="#each-instance_method" title="#each (instance method)">#<strong>each</strong> &#x21d2; Object </a>
543
+
544
+
545
+
546
+ </span>
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+ <span class="summary_desc"><div class='inline'>
557
+ <p>Calls block once for each item in the list, passing a reference to that item as a parameter.</p>
558
+ </div></span>
559
+
560
+ </li>
561
+
562
+
563
+ <li class="public ">
564
+ <span class="summary_signature">
565
+
566
+ <a href="#extractItem-instance_method" title="#extractItem (instance method)">#<strong>extractItem</strong>(index, notify = false) &#x21d2; Object </a>
567
+
568
+
569
+
570
+ </span>
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+ <span class="summary_desc"><div class='inline'>
581
+ <p>Extract item from list and return a reference to the item.</p>
582
+ </div></span>
583
+
584
+ </li>
585
+
586
+
587
+ <li class="public ">
588
+ <span class="summary_signature">
589
+
590
+ <a href="#fillItems-instance_method" title="#fillItems (instance method)">#<strong>fillItems</strong>(strings, icon = nil, size = 0, data = nil, notify = false) &#x21d2; Object </a>
591
+
592
+
593
+
594
+ </span>
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+ <span class="summary_desc"><div class='inline'>
605
+ <p>Fill the header by appending items from an array of strings.</p>
606
+ </div></span>
607
+
608
+ </li>
609
+
610
+
611
+ <li class="public ">
612
+ <span class="summary_signature">
613
+
614
+ <a href="#first-instance_method" title="#first (instance method)">#<strong>first</strong> &#x21d2; Object </a>
615
+
616
+
617
+
618
+ </span>
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+ <span class="summary_desc"><div class='inline'>
629
+ <p>Override Enumerable#first with FXWindow#first for backwards compatibility.</p>
630
+ </div></span>
631
+
632
+ </li>
633
+
634
+
635
+ <li class="public ">
636
+ <span class="summary_signature">
637
+
638
+ <a href="#getArrowDir-instance_method" title="#getArrowDir (instance method)">#<strong>getArrowDir</strong>(index) &#x21d2; Object </a>
639
+
640
+
641
+
642
+ </span>
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+ <span class="summary_desc"><div class='inline'>
653
+ <p>Return sort direction for the item at index, one of <code>FALSE</code>, <code>TRUE</code> or <code>MAYBE</code>.</p>
654
+ </div></span>
655
+
656
+ </li>
657
+
658
+
659
+ <li class="public ">
660
+ <span class="summary_signature">
661
+
662
+ <a href="#getItem-instance_method" title="#getItem (instance method)">#<strong>getItem</strong>(index) &#x21d2; Object </a>
663
+
664
+
665
+
666
+ </span>
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+
676
+ <span class="summary_desc"><div class='inline'>
677
+ <p>Return the item (a FXHeaderItem instance) at the given index.</p>
678
+ </div></span>
679
+
680
+ </li>
681
+
682
+
683
+ <li class="public ">
684
+ <span class="summary_signature">
685
+
686
+ <a href="#getItemAt-instance_method" title="#getItemAt (instance method)">#<strong>getItemAt</strong>(coord) &#x21d2; Object </a>
687
+
688
+
689
+
690
+ </span>
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+ <span class="summary_desc"><div class='inline'>
701
+ <p>Return the item-index given its coordinate offset.</p>
702
+ </div></span>
703
+
704
+ </li>
705
+
706
+
707
+ <li class="public ">
708
+ <span class="summary_signature">
709
+
710
+ <a href="#getItemData-instance_method" title="#getItemData (instance method)">#<strong>getItemData</strong>(index) &#x21d2; Object </a>
711
+
712
+
713
+
714
+ </span>
715
+
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+ <span class="summary_desc"><div class='inline'>
725
+ <p>Return user data for item at index.</p>
726
+ </div></span>
727
+
728
+ </li>
729
+
730
+
731
+ <li class="public ">
732
+ <span class="summary_signature">
733
+
734
+ <a href="#getItemIcon-instance_method" title="#getItemIcon (instance method)">#<strong>getItemIcon</strong>(index) &#x21d2; Object </a>
735
+
736
+
737
+
738
+ </span>
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+
747
+
748
+ <span class="summary_desc"><div class='inline'>
749
+ <p>Return icon of item at index.</p>
750
+ </div></span>
751
+
752
+ </li>
753
+
754
+
755
+ <li class="public ">
756
+ <span class="summary_signature">
757
+
758
+ <a href="#getItemIconPosition-instance_method" title="#getItemIconPosition (instance method)">#<strong>getItemIconPosition</strong>(index) &#x21d2; Object </a>
759
+
760
+
761
+
762
+ </span>
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+
772
+ <span class="summary_desc"><div class='inline'>
773
+ <p>Return relative icon and text position of the item at <em>index</em>, one of <code>ABOVE</code>, <code>BELOW</code>, <code>BEFORE</code> or <code>AFTER</code>.</p>
774
+ </div></span>
775
+
776
+ </li>
777
+
778
+
779
+ <li class="public ">
780
+ <span class="summary_signature">
781
+
782
+ <a href="#getItemJustify-instance_method" title="#getItemJustify (instance method)">#<strong>getItemJustify</strong>(index) &#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>Return item justification for the item at <em>index</em>, one of <code>LEFT</code>, <code>RIGHT</code>, <code>CENTER_X</code>, <code>TOP</code>, <code>BOTTOM</code> or <code>CENTER_Y</code>.</p>
798
+ </div></span>
799
+
800
+ </li>
801
+
802
+
803
+ <li class="public ">
804
+ <span class="summary_signature">
805
+
806
+ <a href="#getItemOffset-instance_method" title="#getItemOffset (instance method)">#<strong>getItemOffset</strong>(index) &#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>Return the offset (in pixels) of the left side of the item at index.</p>
822
+ </div></span>
823
+
824
+ </li>
825
+
826
+
827
+ <li class="public ">
828
+ <span class="summary_signature">
829
+
830
+ <a href="#getItemSize-instance_method" title="#getItemSize (instance method)">#<strong>getItemSize</strong>(index) &#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>Return size of item at index.</p>
846
+ </div></span>
847
+
848
+ </li>
849
+
850
+
851
+ <li class="public ">
852
+ <span class="summary_signature">
853
+
854
+ <a href="#getItemText-instance_method" title="#getItemText (instance method)">#<strong>getItemText</strong>(index) &#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>Get text of item at index.</p>
870
+ </div></span>
871
+
872
+ </li>
873
+
874
+
875
+ <li class="public ">
876
+ <span class="summary_signature">
877
+
878
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(p, target = nil, selector = 0, opts = HEADER_NORMAL, x = 0, y = 0, width = 0, height = 0, padLeft = DEFAULT_PAD, padRight = DEFAULT_PAD, padTop = DEFAULT_PAD, padBottom = DEFAULT_PAD) &#x21d2; FXHeader </a>
879
+
880
+
881
+
882
+ </span>
883
+
884
+
885
+ <span class="note title constructor">constructor</span>
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+
894
+ <span class="summary_desc"><div class='inline'>
895
+ <p>Return an initialized FXHeader instance.</p>
896
+ </div></span>
897
+
898
+ </li>
899
+
900
+
901
+ <li class="public ">
902
+ <span class="summary_signature">
903
+
904
+ <a href="#insertItem-instance_method" title="#insertItem (instance method)">#<strong>insertItem</strong>(index, text, icon = nil, size = 0, data = nil, notify = false) &#x21d2; Object </a>
905
+
906
+
907
+
908
+ </span>
909
+
910
+
911
+
912
+
913
+
914
+
915
+
916
+
917
+
918
+ <span class="summary_desc"><div class='inline'>
919
+ <p>Insert a new item at the specified <em>index</em> with the specified text, icon, size and user data object, and return the index of the inserted item.</p>
920
+ </div></span>
921
+
922
+ </li>
923
+
924
+
925
+ <li class="public ">
926
+ <span class="summary_signature">
927
+
928
+ <a href="#isItemPressed-instance_method" title="#isItemPressed (instance method)">#<strong>isItemPressed</strong>(index) &#x21d2; Object </a>
929
+
930
+
931
+
932
+ </span>
933
+
934
+
935
+
936
+
937
+
938
+
939
+
940
+
941
+
942
+ <span class="summary_desc"><div class='inline'>
943
+ <p>Return <code>true</code> if button item at specified index is pressed in.</p>
944
+ </div></span>
945
+
946
+ </li>
947
+
948
+
949
+ <li class="public ">
950
+ <span class="summary_signature">
951
+
952
+ <a href="#makeItemVisible-instance_method" title="#makeItemVisible (instance method)">#<strong>makeItemVisible</strong>(index) &#x21d2; Object </a>
953
+
954
+
955
+
956
+ </span>
957
+
958
+
959
+
960
+
961
+
962
+
963
+
964
+
965
+
966
+ <span class="summary_desc"><div class='inline'>
967
+ <p>Scroll to make the specified item visible.</p>
968
+ </div></span>
969
+
970
+ </li>
971
+
972
+
973
+ <li class="public ">
974
+ <span class="summary_signature">
975
+
976
+ <a href="#prependItem-instance_method" title="#prependItem (instance method)">#<strong>prependItem</strong>(text, icon = nil, size = 0, data = nil, notify = false) &#x21d2; Object </a>
977
+
978
+
979
+
980
+ </span>
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+
989
+
990
+ <span class="summary_desc"><div class='inline'>
991
+ <p>Prepend a new item with the specified text, icon, size and user data object, and return the index of the appended item.</p>
992
+ </div></span>
993
+
994
+ </li>
995
+
996
+
997
+ <li class="public ">
998
+ <span class="summary_signature">
999
+
1000
+ <a href="#removeItem-instance_method" title="#removeItem (instance method)">#<strong>removeItem</strong>(index, notify = false) &#x21d2; Object </a>
1001
+
1002
+
1003
+
1004
+ </span>
1005
+
1006
+
1007
+
1008
+
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+ <span class="summary_desc"><div class='inline'>
1015
+ <p>Remove the item at the specified index from this header.</p>
1016
+ </div></span>
1017
+
1018
+ </li>
1019
+
1020
+
1021
+ <li class="public ">
1022
+ <span class="summary_signature">
1023
+
1024
+ <a href="#setArrowDir-instance_method" title="#setArrowDir (instance method)">#<strong>setArrowDir</strong>(index, dir = MAYBE) &#x21d2; Object </a>
1025
+
1026
+
1027
+
1028
+ </span>
1029
+
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+ <span class="summary_desc"><div class='inline'>
1039
+ <p>Change arrow (sort) direction for item at index, where <em>dir</em> is either <code>FALSE</code>, <code>TRUE</code> or <code>MAYBE</code>.</p>
1040
+ </div></span>
1041
+
1042
+ </li>
1043
+
1044
+
1045
+ <li class="public ">
1046
+ <span class="summary_signature">
1047
+
1048
+ <a href="#setItem-instance_method" title="#setItem (instance method)">#<strong>setItem</strong>(index, text, icon = nil, size = 0, data = nil, notify = false) &#x21d2; Object </a>
1049
+
1050
+
1051
+
1052
+ </span>
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+
1062
+ <span class="summary_desc"><div class='inline'>
1063
+ <p>Replace the item at <em>index</em> with a new item with the specified text, icon, size and user data object, and return the index of the replaced item.</p>
1064
+ </div></span>
1065
+
1066
+ </li>
1067
+
1068
+
1069
+ <li class="public ">
1070
+ <span class="summary_signature">
1071
+
1072
+ <a href="#setItemData-instance_method" title="#setItemData (instance method)">#<strong>setItemData</strong>(index, ptr) &#x21d2; Object </a>
1073
+
1074
+
1075
+
1076
+ </span>
1077
+
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+ <span class="summary_desc"><div class='inline'>
1087
+ <p>Change user data object of item at index.</p>
1088
+ </div></span>
1089
+
1090
+ </li>
1091
+
1092
+
1093
+ <li class="public ">
1094
+ <span class="summary_signature">
1095
+
1096
+ <a href="#setItemIcon-instance_method" title="#setItemIcon (instance method)">#<strong>setItemIcon</strong>(index, icon) &#x21d2; Object </a>
1097
+
1098
+
1099
+
1100
+ </span>
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+ <span class="summary_desc"><div class='inline'>
1111
+ <p>Change icon of item at index.</p>
1112
+ </div></span>
1113
+
1114
+ </li>
1115
+
1116
+
1117
+ <li class="public ">
1118
+ <span class="summary_signature">
1119
+
1120
+ <a href="#setItemIconPosition-instance_method" title="#setItemIconPosition (instance method)">#<strong>setItemIconPosition</strong>(index, mode) &#x21d2; Object </a>
1121
+
1122
+
1123
+
1124
+ </span>
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+ <span class="summary_desc"><div class='inline'>
1135
+ <p>Change relative position of icon and text of item.</p>
1136
+ </div></span>
1137
+
1138
+ </li>
1139
+
1140
+
1141
+ <li class="public ">
1142
+ <span class="summary_signature">
1143
+
1144
+ <a href="#setItemJustify-instance_method" title="#setItemJustify (instance method)">#<strong>setItemJustify</strong>(index, justify) &#x21d2; Object </a>
1145
+
1146
+
1147
+
1148
+ </span>
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+ <span class="summary_desc"><div class='inline'>
1159
+ <p>Change item justification.</p>
1160
+ </div></span>
1161
+
1162
+ </li>
1163
+
1164
+
1165
+ <li class="public ">
1166
+ <span class="summary_signature">
1167
+
1168
+ <a href="#setItemPressed-instance_method" title="#setItemPressed (instance method)">#<strong>setItemPressed</strong>(index, pressed = true) &#x21d2; Object </a>
1169
+
1170
+
1171
+
1172
+ </span>
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+
1180
+
1181
+
1182
+ <span class="summary_desc"><div class='inline'>
1183
+ <p>Changed button item&#39;s pressed state.</p>
1184
+ </div></span>
1185
+
1186
+ </li>
1187
+
1188
+
1189
+ <li class="public ">
1190
+ <span class="summary_signature">
1191
+
1192
+ <a href="#setItemSize-instance_method" title="#setItemSize (instance method)">#<strong>setItemSize</strong>(index, size) &#x21d2; Object </a>
1193
+
1194
+
1195
+
1196
+ </span>
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+
1204
+
1205
+
1206
+ <span class="summary_desc"><div class='inline'>
1207
+ <p>Change size of item at index.</p>
1208
+ </div></span>
1209
+
1210
+ </li>
1211
+
1212
+
1213
+ <li class="public ">
1214
+ <span class="summary_signature">
1215
+
1216
+ <a href="#setItemText-instance_method" title="#setItemText (instance method)">#<strong>setItemText</strong>(index, text) &#x21d2; Object </a>
1217
+
1218
+
1219
+
1220
+ </span>
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+
1228
+
1229
+
1230
+ <span class="summary_desc"><div class='inline'>
1231
+ <p>Change text label for item at index.</p>
1232
+ </div></span>
1233
+
1234
+ </li>
1235
+
1236
+
1237
+ <li class="public ">
1238
+ <span class="summary_signature">
1239
+
1240
+ <a href="#updateItem-instance_method" title="#updateItem (instance method)">#<strong>updateItem</strong>(index) &#x21d2; Object </a>
1241
+
1242
+
1243
+
1244
+ </span>
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+ <span class="summary_desc"><div class='inline'>
1255
+ <p>Repaint header at index.</p>
1256
+ </div></span>
1257
+
1258
+ </li>
1259
+
1260
+
1261
+ </ul>
1262
+
1263
+
1264
+
1265
+
1266
+
1267
+
1268
+
1269
+
1270
+
1271
+
1272
+
1273
+
1274
+
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
1281
+ <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#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>
1282
+
1283
+
1284
+
1285
+
1286
+
1287
+
1288
+
1289
+
1290
+
1291
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../Responder2.html" title="Responder2 (module)">Responder2</a></span></h3>
1292
+ <p class="inherited"><span class='object_link'><a href="../Responder2.html#connect-instance_method" title="Responder2#connect (method)">#connect</a></span></p>
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+
1300
+
1301
+
1302
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
1303
+ <p class="inherited"><span class='object_link'><a href="FXDrawable.html#resize-instance_method" title="Fox::FXDrawable#resize (method)">#resize</a></span></p>
1304
+
1305
+
1306
+
1307
+
1308
+
1309
+
1310
+
1311
+
1312
+
1313
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
1314
+ <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>
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+
1323
+
1324
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></h3>
1325
+ <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>
1326
+ <div id="constructor_details" class="method_details_list">
1327
+ <h2>Constructor Details</h2>
1328
+
1329
+ <div class="method_details first">
1330
+ <h3 class="signature first" id="initialize-instance_method">
1331
+
1332
+ #<strong>initialize</strong>(p, target = nil, selector = 0, opts = HEADER_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::FXHeader (class)">FXHeader</a></span></tt>
1333
+
1334
+
1335
+
1336
+
1337
+
1338
+ </h3><div class="docstring">
1339
+ <div class="discussion">
1340
+
1341
+ <p>Return an initialized FXHeader instance.</p>
1342
+
1343
+
1344
+ </div>
1345
+ </div>
1346
+ <div class="tags">
1347
+
1348
+
1349
+ </div><table class="source_code">
1350
+ <tr>
1351
+ <td>
1352
+ <pre class="lines">
1353
+
1354
+
1355
+ 164
1356
+ 165</pre>
1357
+ </td>
1358
+ <td>
1359
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 164</span>
1360
+
1361
+ <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'>HEADER_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: theHeader
1362
+ </span><span class='kw'>end</span></pre>
1363
+ </td>
1364
+ </tr>
1365
+ </table>
1366
+ </div>
1367
+
1368
+ </div>
1369
+
1370
+ <div id="instance_attr_details" class="attr_details">
1371
+ <h2>Instance Attribute Details</h2>
1372
+
1373
+
1374
+ <span id="font=-instance_method"></span>
1375
+ <div class="method_details first">
1376
+ <h3 class="signature first" id="font-instance_method">
1377
+
1378
+ #<strong>font</strong> &#x21d2; <tt>Object</tt>
1379
+
1380
+
1381
+
1382
+
1383
+
1384
+ </h3><div class="docstring">
1385
+ <div class="discussion">
1386
+
1387
+ <p>Text font <span class='object_link'><a href="FXFont.html" title="Fox::FXFont (class)">Fox::FXFont</a></span></p>
1388
+
1389
+
1390
+ </div>
1391
+ </div>
1392
+ <div class="tags">
1393
+
1394
+
1395
+ </div><table class="source_code">
1396
+ <tr>
1397
+ <td>
1398
+ <pre class="lines">
1399
+
1400
+
1401
+ 150
1402
+ 151
1403
+ 152</pre>
1404
+ </td>
1405
+ <td>
1406
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 150</span>
1407
+
1408
+ <span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span>
1409
+ <span class='ivar'>@font</span>
1410
+ <span class='kw'>end</span></pre>
1411
+ </td>
1412
+ </tr>
1413
+ </table>
1414
+ </div>
1415
+
1416
+
1417
+ <span id="headerStyle=-instance_method"></span>
1418
+ <div class="method_details ">
1419
+ <h3 class="signature " id="headerStyle-instance_method">
1420
+
1421
+ #<strong>headerStyle</strong> &#x21d2; <tt>Object</tt>
1422
+
1423
+
1424
+
1425
+
1426
+
1427
+ </h3><div class="docstring">
1428
+ <div class="discussion">
1429
+
1430
+ <p>Header style options [Integer]</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
+ 156
1445
+ 157
1446
+ 158</pre>
1447
+ </td>
1448
+ <td>
1449
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 156</span>
1450
+
1451
+ <span class='kw'>def</span> <span class='id identifier rubyid_headerStyle'>headerStyle</span>
1452
+ <span class='ivar'>@headerStyle</span>
1453
+ <span class='kw'>end</span></pre>
1454
+ </td>
1455
+ </tr>
1456
+ </table>
1457
+ </div>
1458
+
1459
+
1460
+ <span id="helpText=-instance_method"></span>
1461
+ <div class="method_details ">
1462
+ <h3 class="signature " id="helpText-instance_method">
1463
+
1464
+ #<strong>helpText</strong> &#x21d2; <tt>Object</tt>
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+ </h3><div class="docstring">
1471
+ <div class="discussion">
1472
+
1473
+ <p>Status line help text for this header</p>
1474
+
1475
+
1476
+ </div>
1477
+ </div>
1478
+ <div class="tags">
1479
+
1480
+
1481
+ </div><table class="source_code">
1482
+ <tr>
1483
+ <td>
1484
+ <pre class="lines">
1485
+
1486
+
1487
+ 159
1488
+ 160
1489
+ 161</pre>
1490
+ </td>
1491
+ <td>
1492
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 159</span>
1493
+
1494
+ <span class='kw'>def</span> <span class='id identifier rubyid_helpText'>helpText</span>
1495
+ <span class='ivar'>@helpText</span>
1496
+ <span class='kw'>end</span></pre>
1497
+ </td>
1498
+ </tr>
1499
+ </table>
1500
+ </div>
1501
+
1502
+
1503
+ <span id=""></span>
1504
+ <div class="method_details ">
1505
+ <h3 class="signature " id="numItems-instance_method">
1506
+
1507
+ #<strong>numItems</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1508
+
1509
+
1510
+
1511
+
1512
+
1513
+ </h3><div class="docstring">
1514
+ <div class="discussion">
1515
+
1516
+ <p>Number of items [Integer]</p>
1517
+
1518
+
1519
+ </div>
1520
+ </div>
1521
+ <div class="tags">
1522
+
1523
+
1524
+ </div><table class="source_code">
1525
+ <tr>
1526
+ <td>
1527
+ <pre class="lines">
1528
+
1529
+
1530
+ 141
1531
+ 142
1532
+ 143</pre>
1533
+ </td>
1534
+ <td>
1535
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 141</span>
1536
+
1537
+ <span class='kw'>def</span> <span class='id identifier rubyid_numItems'>numItems</span>
1538
+ <span class='ivar'>@numItems</span>
1539
+ <span class='kw'>end</span></pre>
1540
+ </td>
1541
+ </tr>
1542
+ </table>
1543
+ </div>
1544
+
1545
+
1546
+ <span id="position=-instance_method"></span>
1547
+ <div class="method_details ">
1548
+ <h3 class="signature " id="position-instance_method">
1549
+
1550
+ #<strong>position</strong> &#x21d2; <tt>Object</tt>
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+ </h3><div class="docstring">
1557
+ <div class="discussion">
1558
+
1559
+ <p>Current position [Integer]</p>
1560
+
1561
+
1562
+ </div>
1563
+ </div>
1564
+ <div class="tags">
1565
+
1566
+
1567
+ </div><table class="source_code">
1568
+ <tr>
1569
+ <td>
1570
+ <pre class="lines">
1571
+
1572
+
1573
+ 147
1574
+ 148
1575
+ 149</pre>
1576
+ </td>
1577
+ <td>
1578
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 147</span>
1579
+
1580
+ <span class='kw'>def</span> <span class='id identifier rubyid_position'>position</span>
1581
+ <span class='ivar'>@position</span>
1582
+ <span class='kw'>end</span></pre>
1583
+ </td>
1584
+ </tr>
1585
+ </table>
1586
+ </div>
1587
+
1588
+
1589
+ <span id="textColor=-instance_method"></span>
1590
+ <div class="method_details ">
1591
+ <h3 class="signature " id="textColor-instance_method">
1592
+
1593
+ #<strong>textColor</strong> &#x21d2; <tt>Object</tt>
1594
+
1595
+
1596
+
1597
+
1598
+
1599
+ </h3><div class="docstring">
1600
+ <div class="discussion">
1601
+
1602
+ <p>Text color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">Fox::FXColor</a></span></p>
1603
+
1604
+
1605
+ </div>
1606
+ </div>
1607
+ <div class="tags">
1608
+
1609
+
1610
+ </div><table class="source_code">
1611
+ <tr>
1612
+ <td>
1613
+ <pre class="lines">
1614
+
1615
+
1616
+ 153
1617
+ 154
1618
+ 155</pre>
1619
+ </td>
1620
+ <td>
1621
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 153</span>
1622
+
1623
+ <span class='kw'>def</span> <span class='id identifier rubyid_textColor'>textColor</span>
1624
+ <span class='ivar'>@textColor</span>
1625
+ <span class='kw'>end</span></pre>
1626
+ </td>
1627
+ </tr>
1628
+ </table>
1629
+ </div>
1630
+
1631
+
1632
+ <span id=""></span>
1633
+ <div class="method_details ">
1634
+ <h3 class="signature " id="totalSize-instance_method">
1635
+
1636
+ #<strong>totalSize</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1637
+
1638
+
1639
+
1640
+
1641
+
1642
+ </h3><div class="docstring">
1643
+ <div class="discussion">
1644
+
1645
+ <p>Total size of all items [Integer]</p>
1646
+
1647
+
1648
+ </div>
1649
+ </div>
1650
+ <div class="tags">
1651
+
1652
+
1653
+ </div><table class="source_code">
1654
+ <tr>
1655
+ <td>
1656
+ <pre class="lines">
1657
+
1658
+
1659
+ 144
1660
+ 145
1661
+ 146</pre>
1662
+ </td>
1663
+ <td>
1664
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 144</span>
1665
+
1666
+ <span class='kw'>def</span> <span class='id identifier rubyid_totalSize'>totalSize</span>
1667
+ <span class='ivar'>@totalSize</span>
1668
+ <span class='kw'>end</span></pre>
1669
+ </td>
1670
+ </tr>
1671
+ </table>
1672
+ </div>
1673
+
1674
+ </div>
1675
+
1676
+
1677
+ <div id="instance_method_details" class="method_details_list">
1678
+ <h2>Instance Method Details</h2>
1679
+
1680
+
1681
+ <div class="method_details first">
1682
+ <h3 class="signature first" id="appendItem-instance_method">
1683
+
1684
+ #<strong>appendItem</strong>(text, icon = nil, size = 0, data = nil, notify = false) &#x21d2; <tt>Object</tt>
1685
+
1686
+
1687
+
1688
+
1689
+
1690
+ </h3><div class="docstring">
1691
+ <div class="discussion">
1692
+
1693
+ <p>Append a new item with the specified text, icon, size and user data object, and return the index of the appended item. If <em>notify</em> is <code>true</code>, a <code>SEL_INSERTED</code> message is sent to the header&#39;s message target after the item is appended.</p>
1694
+
1695
+
1696
+ </div>
1697
+ </div>
1698
+ <div class="tags">
1699
+
1700
+
1701
+ </div><table class="source_code">
1702
+ <tr>
1703
+ <td>
1704
+ <pre class="lines">
1705
+
1706
+
1707
+ 230</pre>
1708
+ </td>
1709
+ <td>
1710
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 230</span>
1711
+
1712
+ <span class='kw'>def</span> <span class='id identifier rubyid_appendItem'>appendItem</span><span class='lparen'>(</span><span class='id identifier rubyid_item'>item</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>
1713
+ </td>
1714
+ </tr>
1715
+ </table>
1716
+ </div>
1717
+
1718
+ <div class="method_details ">
1719
+ <h3 class="signature " id="arrowDown?-instance_method">
1720
+
1721
+ #<strong>arrowDown?</strong>(index) &#x21d2; <tt>Boolean</tt>
1722
+
1723
+
1724
+
1725
+
1726
+
1727
+ </h3><div class="docstring">
1728
+ <div class="discussion">
1729
+
1730
+ <p>Returns true if the specified header item&#39;s arrow points down. Raises IndexError if <em>index</em> is out of bounds.</p>
1731
+
1732
+
1733
+ </div>
1734
+ </div>
1735
+ <div class="tags">
1736
+
1737
+ <p class="tag_title">Returns:</p>
1738
+ <ul class="return">
1739
+
1740
+ <li>
1741
+
1742
+
1743
+ <span class='type'>(<tt>Boolean</tt>)</span>
1744
+
1745
+
1746
+
1747
+ </li>
1748
+
1749
+ </ul>
1750
+
1751
+ </div><table class="source_code">
1752
+ <tr>
1753
+ <td>
1754
+ <pre class="lines">
1755
+
1756
+
1757
+ 165
1758
+ 166
1759
+ 167
1760
+ 168
1761
+ 169
1762
+ 170
1763
+ 171</pre>
1764
+ </td>
1765
+ <td>
1766
+ <pre class="code"><span class="info file"># File 'lib/fox16/core.rb', line 165</span>
1767
+
1768
+ <span class='kw'>def</span> <span class='id identifier rubyid_arrowDown?'>arrowDown?</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span>
1769
+ <span class='kw'>if</span> <span class='id identifier rubyid_index'>index</span> <span class='op'>&lt;</span> <span class='int'>0</span> <span class='op'>||</span> <span class='id identifier rubyid_index'>index</span> <span class='op'>&gt;=</span> <span class='id identifier rubyid_numItems'>numItems</span>
1770
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'>IndexError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>header item index out of bounds</span><span class='tstring_end'>&quot;</span></span>
1771
+ <span class='kw'>else</span>
1772
+ <span class='id identifier rubyid_getArrowDir'>getArrowDir</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='const'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span><span class='op'>::</span><span class='const'>FALSE</span>
1773
+ <span class='kw'>end</span>
1774
+ <span class='kw'>end</span></pre>
1775
+ </td>
1776
+ </tr>
1777
+ </table>
1778
+ </div>
1779
+
1780
+ <div class="method_details ">
1781
+ <h3 class="signature " id="arrowMaybe?-instance_method">
1782
+
1783
+ #<strong>arrowMaybe?</strong>(index) &#x21d2; <tt>Boolean</tt>
1784
+
1785
+
1786
+
1787
+
1788
+
1789
+ </h3><div class="docstring">
1790
+ <div class="discussion">
1791
+
1792
+ <p>Returns true if the specified header item does not display any arrow. Raises IndexError if <em>index</em> is out of bounds.</p>
1793
+
1794
+
1795
+ </div>
1796
+ </div>
1797
+ <div class="tags">
1798
+
1799
+ <p class="tag_title">Returns:</p>
1800
+ <ul class="return">
1801
+
1802
+ <li>
1803
+
1804
+
1805
+ <span class='type'>(<tt>Boolean</tt>)</span>
1806
+
1807
+
1808
+
1809
+ </li>
1810
+
1811
+ </ul>
1812
+
1813
+ </div><table class="source_code">
1814
+ <tr>
1815
+ <td>
1816
+ <pre class="lines">
1817
+
1818
+
1819
+ 177
1820
+ 178
1821
+ 179
1822
+ 180
1823
+ 181
1824
+ 182
1825
+ 183</pre>
1826
+ </td>
1827
+ <td>
1828
+ <pre class="code"><span class="info file"># File 'lib/fox16/core.rb', line 177</span>
1829
+
1830
+ <span class='kw'>def</span> <span class='id identifier rubyid_arrowMaybe?'>arrowMaybe?</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span>
1831
+ <span class='kw'>if</span> <span class='id identifier rubyid_index'>index</span> <span class='op'>&lt;</span> <span class='int'>0</span> <span class='op'>||</span> <span class='id identifier rubyid_index'>index</span> <span class='op'>&gt;=</span> <span class='id identifier rubyid_numItems'>numItems</span>
1832
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'>IndexError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>header item index out of bounds</span><span class='tstring_end'>&quot;</span></span>
1833
+ <span class='kw'>else</span>
1834
+ <span class='id identifier rubyid_getArrowDir'>getArrowDir</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='const'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span><span class='op'>::</span><span class='const'>MAYBE</span>
1835
+ <span class='kw'>end</span>
1836
+ <span class='kw'>end</span></pre>
1837
+ </td>
1838
+ </tr>
1839
+ </table>
1840
+ </div>
1841
+
1842
+ <div class="method_details ">
1843
+ <h3 class="signature " id="arrowUp?-instance_method">
1844
+
1845
+ #<strong>arrowUp?</strong>(index) &#x21d2; <tt>Boolean</tt>
1846
+
1847
+
1848
+
1849
+
1850
+
1851
+ </h3><div class="docstring">
1852
+ <div class="discussion">
1853
+
1854
+ <p>Returns true if the specified header item&#39;s arrow points up. Raises IndexError if <em>index</em> is out of bounds.</p>
1855
+
1856
+
1857
+ </div>
1858
+ </div>
1859
+ <div class="tags">
1860
+
1861
+ <p class="tag_title">Returns:</p>
1862
+ <ul class="return">
1863
+
1864
+ <li>
1865
+
1866
+
1867
+ <span class='type'>(<tt>Boolean</tt>)</span>
1868
+
1869
+
1870
+
1871
+ </li>
1872
+
1873
+ </ul>
1874
+
1875
+ </div><table class="source_code">
1876
+ <tr>
1877
+ <td>
1878
+ <pre class="lines">
1879
+
1880
+
1881
+ 153
1882
+ 154
1883
+ 155
1884
+ 156
1885
+ 157
1886
+ 158
1887
+ 159</pre>
1888
+ </td>
1889
+ <td>
1890
+ <pre class="code"><span class="info file"># File 'lib/fox16/core.rb', line 153</span>
1891
+
1892
+ <span class='kw'>def</span> <span class='id identifier rubyid_arrowUp?'>arrowUp?</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span>
1893
+ <span class='kw'>if</span> <span class='id identifier rubyid_index'>index</span> <span class='op'>&lt;</span> <span class='int'>0</span> <span class='op'>||</span> <span class='id identifier rubyid_index'>index</span> <span class='op'>&gt;=</span> <span class='id identifier rubyid_numItems'>numItems</span>
1894
+ <span class='id identifier rubyid_raise'>raise</span> <span class='const'>IndexError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>header item index out of bounds</span><span class='tstring_end'>&quot;</span></span>
1895
+ <span class='kw'>else</span>
1896
+ <span class='id identifier rubyid_getArrowDir'>getArrowDir</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='const'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span><span class='op'>::</span><span class='const'>TRUE</span>
1897
+ <span class='kw'>end</span>
1898
+ <span class='kw'>end</span></pre>
1899
+ </td>
1900
+ </tr>
1901
+ </table>
1902
+ </div>
1903
+
1904
+ <div class="method_details ">
1905
+ <h3 class="signature " id="clearItems-instance_method">
1906
+
1907
+ #<strong>clearItems</strong>(notify = false) &#x21d2; <tt>Object</tt>
1908
+
1909
+
1910
+
1911
+
1912
+
1913
+ </h3><div class="docstring">
1914
+ <div class="discussion">
1915
+
1916
+ <p>Remove all items from this header. If <em>notify</em> is <code>true</code>, a <code>SEL_DELETED</code> message is sent to the header&#39;s message target before each item is removed.</p>
1917
+
1918
+
1919
+ </div>
1920
+ </div>
1921
+ <div class="tags">
1922
+
1923
+
1924
+ </div><table class="source_code">
1925
+ <tr>
1926
+ <td>
1927
+ <pre class="lines">
1928
+
1929
+
1930
+ 277</pre>
1931
+ </td>
1932
+ <td>
1933
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 277</span>
1934
+
1935
+ <span class='kw'>def</span> <span class='id identifier rubyid_clearItems'>clearItems</span><span class='lparen'>(</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>
1936
+ </td>
1937
+ </tr>
1938
+ </table>
1939
+ </div>
1940
+
1941
+ <div class="method_details ">
1942
+ <h3 class="signature " id="each-instance_method">
1943
+
1944
+ #<strong>each</strong> &#x21d2; <tt>Object</tt>
1945
+
1946
+
1947
+
1948
+
1949
+
1950
+ </h3><div class="docstring">
1951
+ <div class="discussion">
1952
+
1953
+ <p>Calls block once for each item in the list, passing a reference to that item as a parameter.</p>
1954
+
1955
+
1956
+ </div>
1957
+ </div>
1958
+ <div class="tags">
1959
+
1960
+
1961
+ </div><table class="source_code">
1962
+ <tr>
1963
+ <td>
1964
+ <pre class="lines">
1965
+
1966
+
1967
+ 79
1968
+ 80
1969
+ 81
1970
+ 82
1971
+ 83
1972
+ 84</pre>
1973
+ </td>
1974
+ <td>
1975
+ <pre class="code"><span class="info file"># File 'lib/fox16/iterators.rb', line 79</span>
1976
+
1977
+ <span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span> <span class='comment'># :yields: aHeaderItem
1978
+ </span> <span class='int'>0</span><span class='period'>.</span><span class='id identifier rubyid_upto'>upto</span><span class='lparen'>(</span><span class='id identifier rubyid_numItems'>numItems</span> <span class='op'>-</span> <span class='int'>1</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
1979
+ <span class='kw'>yield</span> <span class='id identifier rubyid_getItem'>getItem</span><span class='lparen'>(</span><span class='id identifier rubyid_i'>i</span><span class='rparen'>)</span>
1980
+ <span class='kw'>end</span>
1981
+ <span class='kw'>self</span>
1982
+ <span class='kw'>end</span></pre>
1983
+ </td>
1984
+ </tr>
1985
+ </table>
1986
+ </div>
1987
+
1988
+ <div class="method_details ">
1989
+ <h3 class="signature " id="extractItem-instance_method">
1990
+
1991
+ #<strong>extractItem</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
1992
+
1993
+
1994
+
1995
+
1996
+
1997
+ </h3><div class="docstring">
1998
+ <div class="discussion">
1999
+
2000
+ <p>Extract item from list and return a reference to the item. If <em>notify</em> is <code>true</code>, a <code>SEL_DELETED</code> message is sent to the header&#39;s message target before the item is extracted from the list. Raises IndexError if <em>index</em> is out of bounds.</p>
2001
+
2002
+
2003
+ </div>
2004
+ </div>
2005
+ <div class="tags">
2006
+
2007
+
2008
+ </div><table class="source_code">
2009
+ <tr>
2010
+ <td>
2011
+ <pre class="lines">
2012
+
2013
+
2014
+ 262</pre>
2015
+ </td>
2016
+ <td>
2017
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 262</span>
2018
+
2019
+ <span class='kw'>def</span> <span class='id identifier rubyid_extractItem'>extractItem</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>
2020
+ </td>
2021
+ </tr>
2022
+ </table>
2023
+ </div>
2024
+
2025
+ <div class="method_details ">
2026
+ <h3 class="signature " id="fillItems-instance_method">
2027
+
2028
+ #<strong>fillItems</strong>(strings, icon = nil, size = 0, data = nil, notify = false) &#x21d2; <tt>Object</tt>
2029
+
2030
+
2031
+
2032
+
2033
+
2034
+ </h3><div class="docstring">
2035
+ <div class="discussion">
2036
+
2037
+ <p>Fill the header by appending items from an array of strings. Returns the number of items appended.</p>
2038
+
2039
+
2040
+ </div>
2041
+ </div>
2042
+ <div class="tags">
2043
+
2044
+
2045
+ </div><table class="source_code">
2046
+ <tr>
2047
+ <td>
2048
+ <pre class="lines">
2049
+
2050
+
2051
+ 204</pre>
2052
+ </td>
2053
+ <td>
2054
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 204</span>
2055
+
2056
+ <span class='kw'>def</span> <span class='id identifier rubyid_fillItems'>fillItems</span><span class='lparen'>(</span><span class='id identifier rubyid_strings'>strings</span><span class='comma'>,</span> <span class='id identifier rubyid_icon'>icon</span><span class='op'>=</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_size'>size</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='op'>=</span><span class='kw'>nil</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>
2057
+ </td>
2058
+ </tr>
2059
+ </table>
2060
+ </div>
2061
+
2062
+ <div class="method_details ">
2063
+ <h3 class="signature " id="first-instance_method">
2064
+
2065
+ #<strong>first</strong> &#x21d2; <tt>Object</tt>
2066
+
2067
+
2068
+
2069
+
2070
+
2071
+ </h3><div class="docstring">
2072
+ <div class="discussion">
2073
+
2074
+ <p>Override Enumerable#first with FXWindow#first for backwards compatibility.</p>
2075
+
2076
+
2077
+ </div>
2078
+ </div>
2079
+ <div class="tags">
2080
+
2081
+
2082
+ </div><table class="source_code">
2083
+ <tr>
2084
+ <td>
2085
+ <pre class="lines">
2086
+
2087
+
2088
+ 71
2089
+ 72
2090
+ 73</pre>
2091
+ </td>
2092
+ <td>
2093
+ <pre class="code"><span class="info file"># File 'lib/fox16/iterators.rb', line 71</span>
2094
+
2095
+ <span class='kw'>def</span> <span class='id identifier rubyid_first'>first</span>
2096
+ <span class='id identifier rubyid_getFirst'>getFirst</span>
2097
+ <span class='kw'>end</span></pre>
2098
+ </td>
2099
+ </tr>
2100
+ </table>
2101
+ </div>
2102
+
2103
+ <div class="method_details ">
2104
+ <h3 class="signature " id="getArrowDir-instance_method">
2105
+
2106
+ #<strong>getArrowDir</strong>(index) &#x21d2; <tt>Object</tt>
2107
+
2108
+
2109
+
2110
+
2111
+
2112
+ </h3><div class="docstring">
2113
+ <div class="discussion">
2114
+
2115
+ <p>Return sort direction for the item at index, one of <code>FALSE</code>, <code>TRUE</code> or <code>MAYBE</code>. If <em>dir</em> is <code>TRUE</code>, the arrow will point up; if <em>dir</em> is <code>FALSE</code>, the arrow points down; and if <em>dir</em> is <code>MAYBE</code>, no arrow is drawn. Raises IndexError if <em>index</em> is out of bounds.</p>
2116
+
2117
+
2118
+ </div>
2119
+ </div>
2120
+ <div class="tags">
2121
+
2122
+
2123
+ </div><table class="source_code">
2124
+ <tr>
2125
+ <td>
2126
+ <pre class="lines">
2127
+
2128
+
2129
+ 350</pre>
2130
+ </td>
2131
+ <td>
2132
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 350</span>
2133
+
2134
+ <span class='kw'>def</span> <span class='id identifier rubyid_getArrowDir'>getArrowDir</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2135
+ </td>
2136
+ </tr>
2137
+ </table>
2138
+ </div>
2139
+
2140
+ <div class="method_details ">
2141
+ <h3 class="signature " id="getItem-instance_method">
2142
+
2143
+ #<strong>getItem</strong>(index) &#x21d2; <tt>Object</tt>
2144
+
2145
+
2146
+
2147
+
2148
+
2149
+ </h3><div class="docstring">
2150
+ <div class="discussion">
2151
+
2152
+ <p>Return the item (a FXHeaderItem instance) at the given index. Raises IndexError if <em>index</em> is out of bounds.</p>
2153
+
2154
+
2155
+ </div>
2156
+ </div>
2157
+ <div class="tags">
2158
+
2159
+
2160
+ </div><table class="source_code">
2161
+ <tr>
2162
+ <td>
2163
+ <pre class="lines">
2164
+
2165
+
2166
+ 171</pre>
2167
+ </td>
2168
+ <td>
2169
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 171</span>
2170
+
2171
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItem'>getItem</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2172
+ </td>
2173
+ </tr>
2174
+ </table>
2175
+ </div>
2176
+
2177
+ <div class="method_details ">
2178
+ <h3 class="signature " id="getItemAt-instance_method">
2179
+
2180
+ #<strong>getItemAt</strong>(coord) &#x21d2; <tt>Object</tt>
2181
+
2182
+
2183
+
2184
+
2185
+
2186
+ </h3><div class="docstring">
2187
+ <div class="discussion">
2188
+
2189
+ <p>Return the item-index given its coordinate offset. Returns -1 if the specified coordinate is before the first item in the header, or <em>numItems</em> if the coordinate is after the last item in the header.</p>
2190
+
2191
+
2192
+ </div>
2193
+ </div>
2194
+ <div class="tags">
2195
+
2196
+
2197
+ </div><table class="source_code">
2198
+ <tr>
2199
+ <td>
2200
+ <pre class="lines">
2201
+
2202
+
2203
+ 179</pre>
2204
+ </td>
2205
+ <td>
2206
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 179</span>
2207
+
2208
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemAt'>getItemAt</span><span class='lparen'>(</span><span class='id identifier rubyid_coord'>coord</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2209
+ </td>
2210
+ </tr>
2211
+ </table>
2212
+ </div>
2213
+
2214
+ <div class="method_details ">
2215
+ <h3 class="signature " id="getItemData-instance_method">
2216
+
2217
+ #<strong>getItemData</strong>(index) &#x21d2; <tt>Object</tt>
2218
+
2219
+
2220
+
2221
+
2222
+
2223
+ </h3><div class="docstring">
2224
+ <div class="discussion">
2225
+
2226
+ <p>Return user data for item at index. Raises IndexError if <em>index</em> is out of bounds.</p>
2227
+
2228
+
2229
+ </div>
2230
+ </div>
2231
+ <div class="tags">
2232
+
2233
+
2234
+ </div><table class="source_code">
2235
+ <tr>
2236
+ <td>
2237
+ <pre class="lines">
2238
+
2239
+
2240
+ 332</pre>
2241
+ </td>
2242
+ <td>
2243
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 332</span>
2244
+
2245
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemData'>getItemData</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2246
+ </td>
2247
+ </tr>
2248
+ </table>
2249
+ </div>
2250
+
2251
+ <div class="method_details ">
2252
+ <h3 class="signature " id="getItemIcon-instance_method">
2253
+
2254
+ #<strong>getItemIcon</strong>(index) &#x21d2; <tt>Object</tt>
2255
+
2256
+
2257
+
2258
+
2259
+
2260
+ </h3><div class="docstring">
2261
+ <div class="discussion">
2262
+
2263
+ <p>Return icon of item at index. Raises IndexError if <em>index</em> is out of bounds.</p>
2264
+
2265
+
2266
+ </div>
2267
+ </div>
2268
+ <div class="tags">
2269
+
2270
+
2271
+ </div><table class="source_code">
2272
+ <tr>
2273
+ <td>
2274
+ <pre class="lines">
2275
+
2276
+
2277
+ 301</pre>
2278
+ </td>
2279
+ <td>
2280
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 301</span>
2281
+
2282
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemIcon'>getItemIcon</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2283
+ </td>
2284
+ </tr>
2285
+ </table>
2286
+ </div>
2287
+
2288
+ <div class="method_details ">
2289
+ <h3 class="signature " id="getItemIconPosition-instance_method">
2290
+
2291
+ #<strong>getItemIconPosition</strong>(index) &#x21d2; <tt>Object</tt>
2292
+
2293
+
2294
+
2295
+
2296
+
2297
+ </h3><div class="docstring">
2298
+ <div class="discussion">
2299
+
2300
+ <p>Return relative icon and text position of the item at <em>index</em>, one of <code>ABOVE</code>, <code>BELOW</code>, <code>BEFORE</code> or <code>AFTER</code>. Raises IndexError if <em>index</em> is out of bounds.</p>
2301
+
2302
+
2303
+ </div>
2304
+ </div>
2305
+ <div class="tags">
2306
+
2307
+
2308
+ </div><table class="source_code">
2309
+ <tr>
2310
+ <td>
2311
+ <pre class="lines">
2312
+
2313
+
2314
+ 384</pre>
2315
+ </td>
2316
+ <td>
2317
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 384</span>
2318
+
2319
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemIconPosition'>getItemIconPosition</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2320
+ </td>
2321
+ </tr>
2322
+ </table>
2323
+ </div>
2324
+
2325
+ <div class="method_details ">
2326
+ <h3 class="signature " id="getItemJustify-instance_method">
2327
+
2328
+ #<strong>getItemJustify</strong>(index) &#x21d2; <tt>Object</tt>
2329
+
2330
+
2331
+
2332
+
2333
+
2334
+ </h3><div class="docstring">
2335
+ <div class="discussion">
2336
+
2337
+ <p>Return item justification for the item at <em>index</em>, one of <code>LEFT</code>, <code>RIGHT</code>, <code>CENTER_X</code>, <code>TOP</code>, <code>BOTTOM</code> or <code>CENTER_Y</code>. Raises IndexError if <em>index</em> is out of bounds.</p>
2338
+
2339
+
2340
+ </div>
2341
+ </div>
2342
+ <div class="tags">
2343
+
2344
+
2345
+ </div><table class="source_code">
2346
+ <tr>
2347
+ <td>
2348
+ <pre class="lines">
2349
+
2350
+
2351
+ 367</pre>
2352
+ </td>
2353
+ <td>
2354
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 367</span>
2355
+
2356
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemJustify'>getItemJustify</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2357
+ </td>
2358
+ </tr>
2359
+ </table>
2360
+ </div>
2361
+
2362
+ <div class="method_details ">
2363
+ <h3 class="signature " id="getItemOffset-instance_method">
2364
+
2365
+ #<strong>getItemOffset</strong>(index) &#x21d2; <tt>Object</tt>
2366
+
2367
+
2368
+
2369
+
2370
+
2371
+ </h3><div class="docstring">
2372
+ <div class="discussion">
2373
+
2374
+ <p>Return the offset (in pixels) of the left side of the item at index. (If it&#39;s a vertical header, return the offset of the top side of the item). Raises IndexError if <em>index</em> is out of bounds.</p>
2375
+
2376
+
2377
+ </div>
2378
+ </div>
2379
+ <div class="tags">
2380
+
2381
+
2382
+ </div><table class="source_code">
2383
+ <tr>
2384
+ <td>
2385
+ <pre class="lines">
2386
+
2387
+
2388
+ 320</pre>
2389
+ </td>
2390
+ <td>
2391
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 320</span>
2392
+
2393
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemOffset'>getItemOffset</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2394
+ </td>
2395
+ </tr>
2396
+ </table>
2397
+ </div>
2398
+
2399
+ <div class="method_details ">
2400
+ <h3 class="signature " id="getItemSize-instance_method">
2401
+
2402
+ #<strong>getItemSize</strong>(index) &#x21d2; <tt>Object</tt>
2403
+
2404
+
2405
+
2406
+
2407
+
2408
+ </h3><div class="docstring">
2409
+ <div class="discussion">
2410
+
2411
+ <p>Return size of item at index. Raises IndexError if <em>index</em> is out of bounds.</p>
2412
+
2413
+
2414
+ </div>
2415
+ </div>
2416
+ <div class="tags">
2417
+
2418
+
2419
+ </div><table class="source_code">
2420
+ <tr>
2421
+ <td>
2422
+ <pre class="lines">
2423
+
2424
+
2425
+ 313</pre>
2426
+ </td>
2427
+ <td>
2428
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 313</span>
2429
+
2430
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemSize'>getItemSize</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2431
+ </td>
2432
+ </tr>
2433
+ </table>
2434
+ </div>
2435
+
2436
+ <div class="method_details ">
2437
+ <h3 class="signature " id="getItemText-instance_method">
2438
+
2439
+ #<strong>getItemText</strong>(index) &#x21d2; <tt>Object</tt>
2440
+
2441
+
2442
+
2443
+
2444
+
2445
+ </h3><div class="docstring">
2446
+ <div class="discussion">
2447
+
2448
+ <p>Get text of item at index. Raises IndexError if <em>index</em> is out of bounds.</p>
2449
+
2450
+
2451
+ </div>
2452
+ </div>
2453
+ <div class="tags">
2454
+
2455
+
2456
+ </div><table class="source_code">
2457
+ <tr>
2458
+ <td>
2459
+ <pre class="lines">
2460
+
2461
+
2462
+ 289</pre>
2463
+ </td>
2464
+ <td>
2465
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 289</span>
2466
+
2467
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemText'>getItemText</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2468
+ </td>
2469
+ </tr>
2470
+ </table>
2471
+ </div>
2472
+
2473
+ <div class="method_details ">
2474
+ <h3 class="signature " id="insertItem-instance_method">
2475
+
2476
+ #<strong>insertItem</strong>(index, text, icon = nil, size = 0, data = nil, notify = false) &#x21d2; <tt>Object</tt>
2477
+
2478
+
2479
+
2480
+
2481
+
2482
+ </h3><div class="docstring">
2483
+ <div class="discussion">
2484
+
2485
+ <p>Insert a new item at the specified <em>index</em> with the specified text, icon, size and user data object, and return the index of the inserted item. If <em>notify</em> is <code>true</code>, a <code>SEL_INSERTED</code> message is sent to the header&#39;s message target after the item is inserted. Raises IndexError if <em>index</em> is out of bounds.</p>
2486
+
2487
+
2488
+ </div>
2489
+ </div>
2490
+ <div class="tags">
2491
+
2492
+
2493
+ </div><table class="source_code">
2494
+ <tr>
2495
+ <td>
2496
+ <pre class="lines">
2497
+
2498
+
2499
+ 213</pre>
2500
+ </td>
2501
+ <td>
2502
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 213</span>
2503
+
2504
+ <span class='kw'>def</span> <span class='id identifier rubyid_insertItem'>insertItem</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_item'>item</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>
2505
+ </td>
2506
+ </tr>
2507
+ </table>
2508
+ </div>
2509
+
2510
+ <div class="method_details ">
2511
+ <h3 class="signature " id="isItemPressed-instance_method">
2512
+
2513
+ #<strong>isItemPressed</strong>(index) &#x21d2; <tt>Object</tt>
2514
+
2515
+
2516
+
2517
+
2518
+
2519
+ </h3><div class="docstring">
2520
+ <div class="discussion">
2521
+
2522
+ <p>Return <code>true</code> if button item at specified index is pressed in. Raises IndexError if <em>index</em> is out of bounds.</p>
2523
+
2524
+
2525
+ </div>
2526
+ </div>
2527
+ <div class="tags">
2528
+
2529
+
2530
+ </div><table class="source_code">
2531
+ <tr>
2532
+ <td>
2533
+ <pre class="lines">
2534
+
2535
+
2536
+ 396</pre>
2537
+ </td>
2538
+ <td>
2539
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 396</span>
2540
+
2541
+ <span class='kw'>def</span> <span class='id identifier rubyid_isItemPressed'>isItemPressed</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2542
+ </td>
2543
+ </tr>
2544
+ </table>
2545
+ </div>
2546
+
2547
+ <div class="method_details ">
2548
+ <h3 class="signature " id="makeItemVisible-instance_method">
2549
+
2550
+ #<strong>makeItemVisible</strong>(index) &#x21d2; <tt>Object</tt>
2551
+
2552
+
2553
+
2554
+
2555
+
2556
+ </h3><div class="docstring">
2557
+ <div class="discussion">
2558
+
2559
+ <p>Scroll to make the specified item visible.</p>
2560
+
2561
+
2562
+ </div>
2563
+ </div>
2564
+ <div class="tags">
2565
+
2566
+
2567
+ </div><table class="source_code">
2568
+ <tr>
2569
+ <td>
2570
+ <pre class="lines">
2571
+
2572
+
2573
+ 399</pre>
2574
+ </td>
2575
+ <td>
2576
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 399</span>
2577
+
2578
+ <span class='kw'>def</span> <span class='id identifier rubyid_makeItemVisible'>makeItemVisible</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2579
+ </td>
2580
+ </tr>
2581
+ </table>
2582
+ </div>
2583
+
2584
+ <div class="method_details ">
2585
+ <h3 class="signature " id="prependItem-instance_method">
2586
+
2587
+ #<strong>prependItem</strong>(text, icon = nil, size = 0, data = nil, notify = false) &#x21d2; <tt>Object</tt>
2588
+
2589
+
2590
+
2591
+
2592
+
2593
+ </h3><div class="docstring">
2594
+ <div class="discussion">
2595
+
2596
+ <p>Prepend a new item with the specified text, icon, size and user data object, and return the index of the appended item. If <em>notify</em> is <code>true</code>, a <code>SEL_INSERTED</code> message is sent to the header&#39;s message target after the item is appended.</p>
2597
+
2598
+
2599
+ </div>
2600
+ </div>
2601
+ <div class="tags">
2602
+
2603
+
2604
+ </div><table class="source_code">
2605
+ <tr>
2606
+ <td>
2607
+ <pre class="lines">
2608
+
2609
+
2610
+ 246</pre>
2611
+ </td>
2612
+ <td>
2613
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 246</span>
2614
+
2615
+ <span class='kw'>def</span> <span class='id identifier rubyid_prependItem'>prependItem</span><span class='lparen'>(</span><span class='id identifier rubyid_item'>item</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>
2616
+ </td>
2617
+ </tr>
2618
+ </table>
2619
+ </div>
2620
+
2621
+ <div class="method_details ">
2622
+ <h3 class="signature " id="removeItem-instance_method">
2623
+
2624
+ #<strong>removeItem</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
2625
+
2626
+
2627
+
2628
+
2629
+
2630
+ </h3><div class="docstring">
2631
+ <div class="discussion">
2632
+
2633
+ <p>Remove the item at the specified index from this header. If <em>notify</em> is <code>true</code>, a <code>SEL_DELETED</code> message is sent to the header&#39;s message target before the item is removed. Raises IndexError if <em>index</em> is out of bounds.</p>
2634
+
2635
+
2636
+ </div>
2637
+ </div>
2638
+ <div class="tags">
2639
+
2640
+
2641
+ </div><table class="source_code">
2642
+ <tr>
2643
+ <td>
2644
+ <pre class="lines">
2645
+
2646
+
2647
+ 270</pre>
2648
+ </td>
2649
+ <td>
2650
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 270</span>
2651
+
2652
+ <span class='kw'>def</span> <span class='id identifier rubyid_removeItem'>removeItem</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>
2653
+ </td>
2654
+ </tr>
2655
+ </table>
2656
+ </div>
2657
+
2658
+ <div class="method_details ">
2659
+ <h3 class="signature " id="setArrowDir-instance_method">
2660
+
2661
+ #<strong>setArrowDir</strong>(index, dir = MAYBE) &#x21d2; <tt>Object</tt>
2662
+
2663
+
2664
+
2665
+
2666
+
2667
+ </h3><div class="docstring">
2668
+ <div class="discussion">
2669
+
2670
+ <p>Change arrow (sort) direction for item at index, where <em>dir</em> is either <code>FALSE</code>, <code>TRUE</code> or <code>MAYBE</code>. If <em>dir</em> is <code>TRUE</code>, the arrow will point up; if <em>dir</em> is <code>FALSE</code>, the arrow points down; and if <em>dir</em> is <code>MAYBE</code>, no arrow is drawn. Raises IndexError if <em>index</em> is out of bounds.</p>
2671
+
2672
+
2673
+ </div>
2674
+ </div>
2675
+ <div class="tags">
2676
+
2677
+
2678
+ </div><table class="source_code">
2679
+ <tr>
2680
+ <td>
2681
+ <pre class="lines">
2682
+
2683
+
2684
+ 341</pre>
2685
+ </td>
2686
+ <td>
2687
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 341</span>
2688
+
2689
+ <span class='kw'>def</span> <span class='id identifier rubyid_setArrowDir'>setArrowDir</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_dir'>dir</span><span class='op'>=</span><span class='const'>MAYBE</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2690
+ </td>
2691
+ </tr>
2692
+ </table>
2693
+ </div>
2694
+
2695
+ <div class="method_details ">
2696
+ <h3 class="signature " id="setItem-instance_method">
2697
+
2698
+ #<strong>setItem</strong>(index, text, icon = nil, size = 0, data = nil, notify = false) &#x21d2; <tt>Object</tt>
2699
+
2700
+
2701
+
2702
+
2703
+
2704
+ </h3><div class="docstring">
2705
+ <div class="discussion">
2706
+
2707
+ <p>Replace the item at <em>index</em> with a new item with the specified text, icon, size and user data object, and return the index of the replaced item. If <em>notify</em> is <code>true</code>, a <code>SEL_REPLACED</code> message is sent to the header&#39;s message target before the item is replaced. Raises IndexError if <em>index</em> is out of bounds.</p>
2708
+
2709
+
2710
+ </div>
2711
+ </div>
2712
+ <div class="tags">
2713
+
2714
+
2715
+ </div><table class="source_code">
2716
+ <tr>
2717
+ <td>
2718
+ <pre class="lines">
2719
+
2720
+
2721
+ 188</pre>
2722
+ </td>
2723
+ <td>
2724
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 188</span>
2725
+
2726
+ <span class='kw'>def</span> <span class='id identifier rubyid_setItem'>setItem</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_item'>item</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>
2727
+ </td>
2728
+ </tr>
2729
+ </table>
2730
+ </div>
2731
+
2732
+ <div class="method_details ">
2733
+ <h3 class="signature " id="setItemData-instance_method">
2734
+
2735
+ #<strong>setItemData</strong>(index, ptr) &#x21d2; <tt>Object</tt>
2736
+
2737
+
2738
+
2739
+
2740
+
2741
+ </h3><div class="docstring">
2742
+ <div class="discussion">
2743
+
2744
+ <p>Change user data object of item at index. Raises IndexError if <em>index</em> is out of bounds.</p>
2745
+
2746
+
2747
+ </div>
2748
+ </div>
2749
+ <div class="tags">
2750
+
2751
+
2752
+ </div><table class="source_code">
2753
+ <tr>
2754
+ <td>
2755
+ <pre class="lines">
2756
+
2757
+
2758
+ 326</pre>
2759
+ </td>
2760
+ <td>
2761
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 326</span>
2762
+
2763
+ <span class='kw'>def</span> <span class='id identifier rubyid_setItemData'>setItemData</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_ptr'>ptr</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2764
+ </td>
2765
+ </tr>
2766
+ </table>
2767
+ </div>
2768
+
2769
+ <div class="method_details ">
2770
+ <h3 class="signature " id="setItemIcon-instance_method">
2771
+
2772
+ #<strong>setItemIcon</strong>(index, icon) &#x21d2; <tt>Object</tt>
2773
+
2774
+
2775
+
2776
+
2777
+
2778
+ </h3><div class="docstring">
2779
+ <div class="discussion">
2780
+
2781
+ <p>Change icon of item at index. Raises IndexError if <em>index</em> is out of bounds.</p>
2782
+
2783
+
2784
+ </div>
2785
+ </div>
2786
+ <div class="tags">
2787
+
2788
+
2789
+ </div><table class="source_code">
2790
+ <tr>
2791
+ <td>
2792
+ <pre class="lines">
2793
+
2794
+
2795
+ 295</pre>
2796
+ </td>
2797
+ <td>
2798
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 295</span>
2799
+
2800
+ <span class='kw'>def</span> <span class='id identifier rubyid_setItemIcon'>setItemIcon</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_icon'>icon</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2801
+ </td>
2802
+ </tr>
2803
+ </table>
2804
+ </div>
2805
+
2806
+ <div class="method_details ">
2807
+ <h3 class="signature " id="setItemIconPosition-instance_method">
2808
+
2809
+ #<strong>setItemIconPosition</strong>(index, mode) &#x21d2; <tt>Object</tt>
2810
+
2811
+
2812
+
2813
+
2814
+
2815
+ </h3><div class="docstring">
2816
+ <div class="discussion">
2817
+
2818
+ <p>Change relative position of icon and text of item. Passing FXHeaderItem::BEFORE or FXHeaderItem::AFTER places the icon before or after the text, and passing FXHeaderItem::ABOVE or FXHeaderItem::BELOW places it above or below the text, respectively. The default of FXHeaderItem::BEFORE places the icon in front of the text. Raises IndexError if <em>index</em> is out of bounds.</p>
2819
+
2820
+
2821
+ </div>
2822
+ </div>
2823
+ <div class="tags">
2824
+
2825
+
2826
+ </div><table class="source_code">
2827
+ <tr>
2828
+ <td>
2829
+ <pre class="lines">
2830
+
2831
+
2832
+ 377</pre>
2833
+ </td>
2834
+ <td>
2835
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 377</span>
2836
+
2837
+ <span class='kw'>def</span> <span class='id identifier rubyid_setItemIconPosition'>setItemIconPosition</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_mode'>mode</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2838
+ </td>
2839
+ </tr>
2840
+ </table>
2841
+ </div>
2842
+
2843
+ <div class="method_details ">
2844
+ <h3 class="signature " id="setItemJustify-instance_method">
2845
+
2846
+ #<strong>setItemJustify</strong>(index, justify) &#x21d2; <tt>Object</tt>
2847
+
2848
+
2849
+
2850
+
2851
+
2852
+ </h3><div class="docstring">
2853
+ <div class="discussion">
2854
+
2855
+ <p>Change item justification. Horizontal justification is controlled by passing FXHeaderItem::RIGHT, FXHeaderItem::LEFT, or FXHeaderItem::CENTER_X. Vertical justification is controlled by FXHeaderItem::TOP, FXHeaderItem::BOTTOM, or FXHeaderItem::CENTER_Y. The default is a combination of FXHeaderItem::LEFT and FXHeaderItem::CENTER_Y. Raises IndexError if <em>index</em> is out of bounds.</p>
2856
+
2857
+
2858
+ </div>
2859
+ </div>
2860
+ <div class="tags">
2861
+
2862
+
2863
+ </div><table class="source_code">
2864
+ <tr>
2865
+ <td>
2866
+ <pre class="lines">
2867
+
2868
+
2869
+ 360</pre>
2870
+ </td>
2871
+ <td>
2872
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 360</span>
2873
+
2874
+ <span class='kw'>def</span> <span class='id identifier rubyid_setItemJustify'>setItemJustify</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_justify'>justify</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2875
+ </td>
2876
+ </tr>
2877
+ </table>
2878
+ </div>
2879
+
2880
+ <div class="method_details ">
2881
+ <h3 class="signature " id="setItemPressed-instance_method">
2882
+
2883
+ #<strong>setItemPressed</strong>(index, pressed = true) &#x21d2; <tt>Object</tt>
2884
+
2885
+
2886
+
2887
+
2888
+
2889
+ </h3><div class="docstring">
2890
+ <div class="discussion">
2891
+
2892
+ <p>Changed button item&#39;s pressed state. Raises IndexError if <em>index</em> is out of bounds.</p>
2893
+
2894
+
2895
+ </div>
2896
+ </div>
2897
+ <div class="tags">
2898
+
2899
+
2900
+ </div><table class="source_code">
2901
+ <tr>
2902
+ <td>
2903
+ <pre class="lines">
2904
+
2905
+
2906
+ 390</pre>
2907
+ </td>
2908
+ <td>
2909
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 390</span>
2910
+
2911
+ <span class='kw'>def</span> <span class='id identifier rubyid_setItemPressed'>setItemPressed</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_pressed'>pressed</span><span class='op'>=</span><span class='kw'>true</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2912
+ </td>
2913
+ </tr>
2914
+ </table>
2915
+ </div>
2916
+
2917
+ <div class="method_details ">
2918
+ <h3 class="signature " id="setItemSize-instance_method">
2919
+
2920
+ #<strong>setItemSize</strong>(index, size) &#x21d2; <tt>Object</tt>
2921
+
2922
+
2923
+
2924
+
2925
+
2926
+ </h3><div class="docstring">
2927
+ <div class="discussion">
2928
+
2929
+ <p>Change size of item at index. Raises IndexError if <em>index</em> is out of bounds.</p>
2930
+
2931
+
2932
+ </div>
2933
+ </div>
2934
+ <div class="tags">
2935
+
2936
+
2937
+ </div><table class="source_code">
2938
+ <tr>
2939
+ <td>
2940
+ <pre class="lines">
2941
+
2942
+
2943
+ 307</pre>
2944
+ </td>
2945
+ <td>
2946
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 307</span>
2947
+
2948
+ <span class='kw'>def</span> <span class='id identifier rubyid_setItemSize'>setItemSize</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_size'>size</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2949
+ </td>
2950
+ </tr>
2951
+ </table>
2952
+ </div>
2953
+
2954
+ <div class="method_details ">
2955
+ <h3 class="signature " id="setItemText-instance_method">
2956
+
2957
+ #<strong>setItemText</strong>(index, text) &#x21d2; <tt>Object</tt>
2958
+
2959
+
2960
+
2961
+
2962
+
2963
+ </h3><div class="docstring">
2964
+ <div class="discussion">
2965
+
2966
+ <p>Change text label for item at index. Raises IndexError if <em>index</em> is out of bounds.</p>
2967
+
2968
+
2969
+ </div>
2970
+ </div>
2971
+ <div class="tags">
2972
+
2973
+
2974
+ </div><table class="source_code">
2975
+ <tr>
2976
+ <td>
2977
+ <pre class="lines">
2978
+
2979
+
2980
+ 283</pre>
2981
+ </td>
2982
+ <td>
2983
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 283</span>
2984
+
2985
+ <span class='kw'>def</span> <span class='id identifier rubyid_setItemText'>setItemText</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2986
+ </td>
2987
+ </tr>
2988
+ </table>
2989
+ </div>
2990
+
2991
+ <div class="method_details ">
2992
+ <h3 class="signature " id="updateItem-instance_method">
2993
+
2994
+ #<strong>updateItem</strong>(index) &#x21d2; <tt>Object</tt>
2995
+
2996
+
2997
+
2998
+
2999
+
3000
+ </h3><div class="docstring">
3001
+ <div class="discussion">
3002
+
3003
+ <p>Repaint header at index. Raises IndexError if <em>index</em> is out of bounds.</p>
3004
+
3005
+
3006
+ </div>
3007
+ </div>
3008
+ <div class="tags">
3009
+
3010
+
3011
+ </div><table class="source_code">
3012
+ <tr>
3013
+ <td>
3014
+ <pre class="lines">
3015
+
3016
+
3017
+ 405</pre>
3018
+ </td>
3019
+ <td>
3020
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXHeader.rb', line 405</span>
3021
+
3022
+ <span class='kw'>def</span> <span class='id identifier rubyid_updateItem'>updateItem</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3023
+ </td>
3024
+ </tr>
3025
+ </table>
3026
+ </div>
3027
+
3028
+ </div>
3029
+
3030
+ </div>
3031
+
3032
+ <div id="footer">
3033
+ Generated on Fri Nov 27 21:10:42 2020 by
3034
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3035
+ 0.9.24 (ruby-2.7.2).
3036
+ </div>
3037
+
3038
+ </div>
3039
+ </body>
3040
+ </html>