fxruby 1.6.39-x64-mingw32 → 1.6.44-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +3 -14
  3. data/.yardopts +1 -1
  4. data/Gemfile +4 -5
  5. data/History.md +1345 -22
  6. data/README.rdoc +5 -5
  7. data/Rakefile +100 -68
  8. data/appveyor.yml +11 -16
  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/examples/inputs.rb +9 -4
  304. data/examples/pig.rb +2 -2
  305. data/examples/unicode.rb +6 -27
  306. data/ext/fox16_c/FXRbApp.cpp +3 -17
  307. data/ext/fox16_c/FXRuby.cpp +36 -46
  308. data/ext/fox16_c/extconf.rb +50 -34
  309. data/ext/fox16_c/impl.cpp +1 -1
  310. data/ext/fox16_c/include/FXRbApp.h +2 -2
  311. data/ext/fox16_c/include/FXRbCommon.h +0 -2
  312. data/ext/fox16_c/include/FXRbText.h +82 -2
  313. data/ext/fox16_c/include/FXRbTextVirtuals.h +22 -0
  314. data/ext/fox16_c/include/FXRuby.h +21 -3
  315. data/ext/fox16_c/include/gvl_wrappers.h +29 -11
  316. data/ext/fox16_c/make_impl.rb +1 -1
  317. data/fxruby.gemspec +2 -1
  318. data/lib/fox16/aliases.rb +3 -0
  319. data/lib/fox16/bitmapview.rb +0 -0
  320. data/lib/fox16/calendar.rb +6 -8
  321. data/lib/fox16/canvas.rb +93 -62
  322. data/lib/fox16/chore.rb +0 -0
  323. data/lib/fox16/colors.rb +0 -0
  324. data/lib/fox16/core.rb +18 -18
  325. data/lib/fox16/dict.rb +0 -0
  326. data/lib/fox16/glgroup.rb +5 -5
  327. data/lib/fox16/glshapes.rb +111 -99
  328. data/lib/fox16/input.rb +9 -7
  329. data/lib/fox16/irb.rb +0 -0
  330. data/lib/fox16/iterators.rb +0 -0
  331. data/lib/fox16/keys.rb +0 -0
  332. data/lib/fox16/missingdep.rb +0 -0
  333. data/lib/fox16/pseudokeyboard.rb +0 -0
  334. data/lib/fox16/pseudomouse.rb +0 -0
  335. data/lib/fox16/responder.rb +0 -0
  336. data/lib/fox16/responder2.rb +0 -0
  337. data/lib/fox16/scintilla.rb +0 -0
  338. data/lib/fox16/settings.rb +0 -0
  339. data/lib/fox16/signal.rb +0 -0
  340. data/lib/fox16/timeout.rb +0 -0
  341. data/lib/fox16/tkcompat.rb +0 -0
  342. data/lib/fox16/undolist.rb +8 -8
  343. data/lib/fox16/version.rb +1 -1
  344. data/rdoc-sources/FXGLVisual.rb +1 -1
  345. data/rdoc-sources/FXIconList.rb +2 -0
  346. data/rdoc-sources/FXImage.rb +5 -0
  347. data/rdoc-sources/FXList.rb +2 -0
  348. data/rdoc-sources/FXListBox.rb +1 -1
  349. data/rdoc-sources/FXText.rb +4 -2
  350. data/swig-interfaces/FXImage.i +9 -4
  351. data/swig-interfaces/FXMemoryBuffer.i +2 -2
  352. data/swig-interfaces/FXText.i +10 -8
  353. data/swig-interfaces/macros.i +9 -0
  354. data/test/TC_FXImage.rb +8 -0
  355. data/test/TC_FXList.rb +8 -8
  356. data/test/TC_FXText.rb +19 -0
  357. data/test/TC_FXVec4f.rb +26 -12
  358. metadata +300 -10
@@ -0,0 +1,3717 @@
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::FXList
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::FXList";
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">FXList</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::FXList
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="FXScrollArea.html" title="Fox::FXScrollArea (class)">FXScrollArea</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="FXComposite.html" title="Fox::FXComposite (class)">FXComposite</a></span></li>
86
+
87
+ <li class="next"><span class='object_link'><a href="FXScrollArea.html" title="Fox::FXScrollArea (class)">FXScrollArea</a></span></li>
88
+
89
+ <li class="next">Fox::FXList</li>
90
+
91
+ </ul>
92
+ <a href="#" class="inheritanceTree">show all</a>
93
+
94
+ </dd>
95
+ </dl>
96
+
97
+
98
+
99
+
100
+
101
+
102
+ <dl>
103
+ <dt>Includes:</dt>
104
+ <dd>Enumerable</dd>
105
+ </dl>
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <dl>
113
+ <dt>Defined in:</dt>
114
+ <dd>rdoc-sources/FXList.rb<span class="defines">,<br />
115
+ lib/fox16/iterators.rb</span>
116
+ </dd>
117
+ </dl>
118
+
119
+ </div>
120
+
121
+ <h2>Overview</h2><div class="docstring">
122
+ <div class="discussion">
123
+
124
+ <p>A List Widget displays a list of items, each with a text and optional icon. When an item&#39;s selected state changes, the list sends a <code>SEL_SELECTED</code> or <code>SEL_DESELECTED</code> message. A change of the current item is signified by the <code>SEL_CHANGED</code> message. The list sends <code>SEL_COMMAND</code> messages when the user clicks on an item, and <code>SEL_CLICKED</code>, <code>SEL_DOUBLECLICKED</code>, and <code>SEL_TRIPLECLICKED</code> when the user clicks once, twice, or thrice, respectively. When items are added, replaced, or removed, the list sends messages of the type <code>SEL_INSERTED</code>, <code>SEL_REPLACED</code>, or <code>SEL_DELETED</code>. In each of these cases, the index to the item, if any, is passed in the 3rd argument of the message.</p>
125
+
126
+ <h3 id="label-Events">Events</h3>
127
+
128
+ <p>The following messages are sent by FXList to its target:</p>
129
+ <dl class="rdoc-list note-list"><dt><code>SEL_CHANGED</code>
130
+ <dd>
131
+ <p>sent when the current list item changes; the message data is an Integer indicating the index of the current item.</p>
132
+ </dd><dt><code>SEL_COMMAND</code>
133
+ <dd>
134
+ <p>sent when the current list item changes; the message data is an Integer indicating the index of the current item.</p>
135
+ </dd><dt><code>SEL_KEYPRESS</code>
136
+ <dd>
137
+ <p>sent when a key goes down; the message data is an FXEvent instance.</p>
138
+ </dd><dt><code>SEL_KEYRELEASE</code>
139
+ <dd>
140
+ <p>sent when a key goes up; the message data is an FXEvent instance.</p>
141
+ </dd><dt><code>SEL_LEFTBUTTONPRESS</code>
142
+ <dd>
143
+ <p>sent when the left mouse button goes down; the message data is an FXEvent instance.</p>
144
+ </dd><dt><code>SEL_LEFTBUTTONRELEASE</code>
145
+ <dd>
146
+ <p>sent when the left mouse button goes up; the message data is an FXEvent instance.</p>
147
+ </dd><dt><code>SEL_RIGHTBUTTONPRESS</code>
148
+ <dd>
149
+ <p>sent when the right mouse button goes down; the message data is an FXEvent instance.</p>
150
+ </dd><dt><code>SEL_RIGHTBUTTONRELEASE</code>
151
+ <dd>
152
+ <p>sent when the right mouse button goes up; the message data is an FXEvent instance.</p>
153
+ </dd><dt><code>SEL_CLICKED</code>
154
+ <dd>
155
+ <p>sent when a list item is single-clicked; the message data is an Integer indicating the index of the current item.</p>
156
+ </dd><dt><code>SEL_DOUBLECLICKED</code>
157
+ <dd>
158
+ <p>sent when a list item is double-clicked; the message data is an Integer indicating the index of the current item.</p>
159
+ </dd><dt><code>SEL_TRIPLECLICKED</code>
160
+ <dd>
161
+ <p>sent when a list item is triple-clicked; the message data is an Integer indicating the index of the current item.</p>
162
+ </dd><dt><code>SEL_SELECTED</code>
163
+ <dd>
164
+ <p>sent when a list item is selected; the message data is an Integer indicating the index of the selected item.</p>
165
+ </dd><dt><code>SEL_DESELECTED</code>
166
+ <dd>
167
+ <p>sent when a list item is deselected; the message data is an Integer indicating the index of the deselected item.</p>
168
+ </dd><dt><code>SEL_REPLACED</code>
169
+ <dd>
170
+ <p>sent when a list item is about to be replaced; the message data is an Integer indicating the index of the item to be replaced.</p>
171
+ </dd><dt><code>SEL_INSERTED</code>
172
+ <dd>
173
+ <p>sent after a list item is inserted; the message data is an Integer indicating the index of the item that was inserted.</p>
174
+ </dd><dt><code>SEL_DELETED</code>
175
+ <dd>
176
+ <p>sent when a list item is about to be removed; the message data is an Integer indicating the index of the item to be removed.</p>
177
+ </dd></dl>
178
+
179
+ <h3 id="label-List+styles">List styles</h3>
180
+ <dl class="rdoc-list note-list"><dt><code>LIST_EXTENDEDSELECT</code>
181
+ <dd>
182
+ <p>Extended selection mode allows for drag-selection of ranges of items</p>
183
+ </dd><dt><code>LIST_SINGLESELECT</code>
184
+ <dd>
185
+ <p>Single selection mode allows up to one item to be selected</p>
186
+ </dd><dt><code>LIST_BROWSESELECT</code>
187
+ <dd>
188
+ <p>Browse selection mode enforces one single item to be selected at all times</p>
189
+ </dd><dt><code>LIST_MULTIPLESELECT</code>
190
+ <dd>
191
+ <p>Multiple selection mode is used for selection of individual items</p>
192
+ </dd><dt><code>LIST_AUTOSELECT</code>
193
+ <dd>
194
+ <p>Automatically select under cursor</p>
195
+ </dd><dt><code>LIST_NORMAL</code>
196
+ <dd>
197
+ <p>same as <code>LIST_EXTENDEDSELECT</code></p>
198
+ </dd></dl>
199
+
200
+ <h3 id="label-Message+identifiers">Message identifiers</h3>
201
+ <dl class="rdoc-list note-list"><dt><code>ID_TIPTIMER</code>
202
+ <dt><code>ID_LOOKUPTIMER</code>
203
+ <dd></dd></dl>
204
+
205
+
206
+ </div>
207
+ </div>
208
+ <div class="tags">
209
+
210
+
211
+ </div><div id="subclasses">
212
+ <h2>Direct Known Subclasses</h2>
213
+ <p class="children"><span class='object_link'><a href="FXColorList.html" title="Fox::FXColorList (class)">FXColorList</a></span></p>
214
+ </div>
215
+
216
+
217
+
218
+
219
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
220
+ <ul class="summary">
221
+
222
+ <li class="public ">
223
+ <span class="summary_signature">
224
+
225
+ <a href="#anchorItem-instance_method" title="#anchorItem (instance method)">#<strong>anchorItem</strong> &#x21d2; Object </a>
226
+
227
+
228
+
229
+ </span>
230
+
231
+
232
+
233
+
234
+ <span class="note title readonly">readonly</span>
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+ <span class="summary_desc"><div class='inline'>
245
+ <p>Index of anchor item, or -1 if no anchor item [Integer].</p>
246
+ </div></span>
247
+
248
+ </li>
249
+
250
+
251
+ <li class="public ">
252
+ <span class="summary_signature">
253
+
254
+ <a href="#currentItem-instance_method" title="#currentItem (instance method)">#<strong>currentItem</strong> &#x21d2; Object </a>
255
+
256
+
257
+
258
+ </span>
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+ <span class="summary_desc"><div class='inline'>
272
+ <p>Index of current item, or -1 if no current item [Integer].</p>
273
+ </div></span>
274
+
275
+ </li>
276
+
277
+
278
+ <li class="public ">
279
+ <span class="summary_signature">
280
+
281
+ <a href="#cursorItem-instance_method" title="#cursorItem (instance method)">#<strong>cursorItem</strong> &#x21d2; Object </a>
282
+
283
+
284
+
285
+ </span>
286
+
287
+
288
+
289
+
290
+ <span class="note title readonly">readonly</span>
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+
299
+
300
+ <span class="summary_desc"><div class='inline'>
301
+ <p>Index of item under the cursor, or -1 if none [Integer].</p>
302
+ </div></span>
303
+
304
+ </li>
305
+
306
+
307
+ <li class="public ">
308
+ <span class="summary_signature">
309
+
310
+ <a href="#font-instance_method" title="#font (instance method)">#<strong>font</strong> &#x21d2; Object </a>
311
+
312
+
313
+
314
+ </span>
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+
326
+
327
+ <span class="summary_desc"><div class='inline'>
328
+ <p>Text font <span class='object_link'><a href="FXFont.html" title="Fox::FXFont (class)">FXFont</a></span>.</p>
329
+ </div></span>
330
+
331
+ </li>
332
+
333
+
334
+ <li class="public ">
335
+ <span class="summary_signature">
336
+
337
+ <a href="#helpText-instance_method" title="#helpText (instance method)">#<strong>helpText</strong> &#x21d2; Object </a>
338
+
339
+
340
+
341
+ </span>
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+
354
+ <span class="summary_desc"><div class='inline'>
355
+ <p>Status line help text [String].</p>
356
+ </div></span>
357
+
358
+ </li>
359
+
360
+
361
+ <li class="public ">
362
+ <span class="summary_signature">
363
+
364
+ <a href="#listStyle-instance_method" title="#listStyle (instance method)">#<strong>listStyle</strong> &#x21d2; Object </a>
365
+
366
+
367
+
368
+ </span>
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+ <span class="summary_desc"><div class='inline'>
382
+ <p>List style [Integer].</p>
383
+ </div></span>
384
+
385
+ </li>
386
+
387
+
388
+ <li class="public ">
389
+ <span class="summary_signature">
390
+
391
+ <a href="#numItems-instance_method" title="#numItems (instance method)">#<strong>numItems</strong> &#x21d2; Object </a>
392
+
393
+
394
+
395
+ </span>
396
+
397
+
398
+
399
+
400
+ <span class="note title readonly">readonly</span>
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+ <span class="summary_desc"><div class='inline'>
411
+ <p>Number of items in the list [Integer].</p>
412
+ </div></span>
413
+
414
+ </li>
415
+
416
+
417
+ <li class="public ">
418
+ <span class="summary_signature">
419
+
420
+ <a href="#numVisible-instance_method" title="#numVisible (instance method)">#<strong>numVisible</strong> &#x21d2; Object </a>
421
+
422
+
423
+
424
+ </span>
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+
437
+ <span class="summary_desc"><div class='inline'>
438
+ <p>Number of visible items [Integer].</p>
439
+ </div></span>
440
+
441
+ </li>
442
+
443
+
444
+ <li class="public ">
445
+ <span class="summary_signature">
446
+
447
+ <a href="#selBackColor-instance_method" title="#selBackColor (instance method)">#<strong>selBackColor</strong> &#x21d2; Object </a>
448
+
449
+
450
+
451
+ </span>
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+ <span class="summary_desc"><div class='inline'>
465
+ <p>Selected text background color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">FXColor</a></span>.</p>
466
+ </div></span>
467
+
468
+ </li>
469
+
470
+
471
+ <li class="public ">
472
+ <span class="summary_signature">
473
+
474
+ <a href="#selTextColor-instance_method" title="#selTextColor (instance method)">#<strong>selTextColor</strong> &#x21d2; Object </a>
475
+
476
+
477
+
478
+ </span>
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+ <span class="summary_desc"><div class='inline'>
492
+ <p>Selected text color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">FXColor</a></span>.</p>
493
+ </div></span>
494
+
495
+ </li>
496
+
497
+
498
+ <li class="public ">
499
+ <span class="summary_signature">
500
+
501
+ <a href="#textColor-instance_method" title="#textColor (instance method)">#<strong>textColor</strong> &#x21d2; Object </a>
502
+
503
+
504
+
505
+ </span>
506
+
507
+
508
+
509
+
510
+
511
+
512
+
513
+
514
+
515
+
516
+
517
+
518
+ <span class="summary_desc"><div class='inline'>
519
+ <p>Normal text color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">FXColor</a></span>.</p>
520
+ </div></span>
521
+
522
+ </li>
523
+
524
+
525
+ </ul>
526
+
527
+
528
+
529
+
530
+
531
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXScrollArea.html" title="Fox::FXScrollArea (class)">FXScrollArea</a></span></h3>
532
+ <p class="inherited"><span class='object_link'><a href="FXScrollArea.html#contentHeight-instance_method" title="Fox::FXScrollArea#contentHeight (method)">#contentHeight</a></span>, <span class='object_link'><a href="FXScrollArea.html#contentWidth-instance_method" title="Fox::FXScrollArea#contentWidth (method)">#contentWidth</a></span>, <span class='object_link'><a href="FXScrollArea.html#horizontalScrollBar-instance_method" title="Fox::FXScrollArea#horizontalScrollBar (method)">#horizontalScrollBar</a></span>, <span class='object_link'><a href="FXScrollArea.html#scrollStyle-instance_method" title="Fox::FXScrollArea#scrollStyle (method)">#scrollStyle</a></span>, <span class='object_link'><a href="FXScrollArea.html#verticalScrollBar-instance_method" title="Fox::FXScrollArea#verticalScrollBar (method)">#verticalScrollBar</a></span>, <span class='object_link'><a href="FXScrollArea.html#viewportHeight-instance_method" title="Fox::FXScrollArea#viewportHeight (method)">#viewportHeight</a></span>, <span class='object_link'><a href="FXScrollArea.html#viewportWidth-instance_method" title="Fox::FXScrollArea#viewportWidth (method)">#viewportWidth</a></span>, <span class='object_link'><a href="FXScrollArea.html#xPosition-instance_method" title="Fox::FXScrollArea#xPosition (method)">#xPosition</a></span>, <span class='object_link'><a href="FXScrollArea.html#yPosition-instance_method" title="Fox::FXScrollArea#yPosition (method)">#yPosition</a></span></p>
533
+
534
+
535
+
536
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
537
+ <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>
538
+
539
+
540
+
541
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
542
+ <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>
543
+
544
+
545
+
546
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
547
+ <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>
548
+
549
+
550
+
551
+ <h2>
552
+ Instance Method Summary
553
+ <small><a href="#" class="summary_toggle">collapse</a></small>
554
+ </h2>
555
+
556
+ <ul class="summary">
557
+
558
+ <li class="public ">
559
+ <span class="summary_signature">
560
+
561
+ <a href="#appendItem-instance_method" title="#appendItem (instance method)">#<strong>appendItem</strong>(text, icon = nil, data = nil, notify = false) &#x21d2; Object </a>
562
+
563
+
564
+
565
+ (also: #&lt;&lt;)
566
+
567
+ </span>
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+ <span class="summary_desc"><div class='inline'>
578
+ <p>Append a new item with given <em>text</em> and optional <em>icon</em> and user <em>data</em>, e.g.</p>
579
+ </div></span>
580
+
581
+ </li>
582
+
583
+
584
+ <li class="public ">
585
+ <span class="summary_signature">
586
+
587
+ <a href="#clearItems-instance_method" title="#clearItems (instance method)">#<strong>clearItems</strong>(notify = false) &#x21d2; Object </a>
588
+
589
+
590
+
591
+ </span>
592
+
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+ <span class="summary_desc"><div class='inline'>
602
+ <p>Remove all items from the list If <em>notify</em> is <code>true</code>, a <code>SEL_DELETED</code> message is sent to the list&#39;s message target before each item is removed.</p>
603
+ </div></span>
604
+
605
+ </li>
606
+
607
+
608
+ <li class="public ">
609
+ <span class="summary_signature">
610
+
611
+ <a href="#deselectItem-instance_method" title="#deselectItem (instance method)">#<strong>deselectItem</strong>(index, notify = false) &#x21d2; Object </a>
612
+
613
+
614
+
615
+ </span>
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+ <span class="summary_desc"><div class='inline'>
626
+ <p>Deselect item.</p>
627
+ </div></span>
628
+
629
+ </li>
630
+
631
+
632
+ <li class="public ">
633
+ <span class="summary_signature">
634
+
635
+ <a href="#disableItem-instance_method" title="#disableItem (instance method)">#<strong>disableItem</strong>(index) &#x21d2; Object </a>
636
+
637
+
638
+
639
+ </span>
640
+
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+ <span class="summary_desc"><div class='inline'>
650
+ <p>Disable item.</p>
651
+ </div></span>
652
+
653
+ </li>
654
+
655
+
656
+ <li class="public ">
657
+ <span class="summary_signature">
658
+
659
+ <a href="#each-instance_method" title="#each (instance method)">#<strong>each</strong> &#x21d2; Object </a>
660
+
661
+
662
+
663
+ </span>
664
+
665
+
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+ <span class="summary_desc"><div class='inline'>
674
+ <p>Calls block once for each item in the list, passing a reference to that item as a parameter.</p>
675
+ </div></span>
676
+
677
+ </li>
678
+
679
+
680
+ <li class="public ">
681
+ <span class="summary_signature">
682
+
683
+ <a href="#enableItem-instance_method" title="#enableItem (instance method)">#<strong>enableItem</strong>(index) &#x21d2; Object </a>
684
+
685
+
686
+
687
+ </span>
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+ <span class="summary_desc"><div class='inline'>
698
+ <p>Enable item.</p>
699
+ </div></span>
700
+
701
+ </li>
702
+
703
+
704
+ <li class="public ">
705
+ <span class="summary_signature">
706
+
707
+ <a href="#extendSelection-instance_method" title="#extendSelection (instance method)">#<strong>extendSelection</strong>(index, notify = false) &#x21d2; Object </a>
708
+
709
+
710
+
711
+ </span>
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+
721
+ <span class="summary_desc"><div class='inline'>
722
+ <p>Extend selection from anchor item to <em>index</em>.</p>
723
+ </div></span>
724
+
725
+ </li>
726
+
727
+
728
+ <li class="public ">
729
+ <span class="summary_signature">
730
+
731
+ <a href="#extractItem-instance_method" title="#extractItem (instance method)">#<strong>extractItem</strong>(index, notify = false) &#x21d2; Object </a>
732
+
733
+
734
+
735
+ </span>
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+ <span class="summary_desc"><div class='inline'>
746
+ <p>Extract item from list and return a reference to the item.</p>
747
+ </div></span>
748
+
749
+ </li>
750
+
751
+
752
+ <li class="public ">
753
+ <span class="summary_signature">
754
+
755
+ <a href="#fillItems-instance_method" title="#fillItems (instance method)">#<strong>fillItems</strong>(strings, icon = nil, ptr = nil, notify = false) &#x21d2; Object </a>
756
+
757
+
758
+
759
+ </span>
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+ <span class="summary_desc"><div class='inline'>
770
+ <p>Fill list by appending items from array of strings, and return the number items added.</p>
771
+ </div></span>
772
+
773
+ </li>
774
+
775
+
776
+ <li class="public ">
777
+ <span class="summary_signature">
778
+
779
+ <a href="#findItem-instance_method" title="#findItem (instance method)">#<strong>findItem</strong>(text, start = -1,, flags = SEARCH_FORWARD|SEARCH_WRAP) &#x21d2; Object </a>
780
+
781
+
782
+
783
+ </span>
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+
792
+
793
+ <span class="summary_desc"><div class='inline'>
794
+ <p>Search items by <em>text</em>, beginning from item <em>start</em>.</p>
795
+ </div></span>
796
+
797
+ </li>
798
+
799
+
800
+ <li class="public ">
801
+ <span class="summary_signature">
802
+
803
+ <a href="#findItemByData-instance_method" title="#findItemByData (instance method)">#<strong>findItemByData</strong>(data, start = -1,, flags = SEARCH_FORWARD|SEARCH_WRAP) &#x21d2; Object </a>
804
+
805
+
806
+
807
+ </span>
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+ <span class="summary_desc"><div class='inline'>
818
+ <p>Search items by associated user <em>data</em>, beginning from item <em>start</em>.</p>
819
+ </div></span>
820
+
821
+ </li>
822
+
823
+
824
+ <li class="public ">
825
+ <span class="summary_signature">
826
+
827
+ <a href="#first-instance_method" title="#first (instance method)">#<strong>first</strong> &#x21d2; Object </a>
828
+
829
+
830
+
831
+ </span>
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+ <span class="summary_desc"><div class='inline'>
842
+ <p>Override Enumerable#first with FXWindow#first for backwards compatibility.</p>
843
+ </div></span>
844
+
845
+ </li>
846
+
847
+
848
+ <li class="public ">
849
+ <span class="summary_signature">
850
+
851
+ <a href="#getItem-instance_method" title="#getItem (instance method)">#<strong>getItem</strong>(index) &#x21d2; Object </a>
852
+
853
+
854
+
855
+ </span>
856
+
857
+
858
+
859
+
860
+
861
+
862
+
863
+
864
+
865
+ <span class="summary_desc"><div class='inline'>
866
+ <p>Return the item at the given <em>index</em>; returns a reference to an FXListItem instance.</p>
867
+ </div></span>
868
+
869
+ </li>
870
+
871
+
872
+ <li class="public ">
873
+ <span class="summary_signature">
874
+
875
+ <a href="#getItemAt-instance_method" title="#getItemAt (instance method)">#<strong>getItemAt</strong>(x, y) &#x21d2; Object </a>
876
+
877
+
878
+
879
+ </span>
880
+
881
+
882
+
883
+
884
+
885
+
886
+
887
+
888
+
889
+ <span class="summary_desc"><div class='inline'>
890
+ <p>Return index of item at (<em>x</em>, <em>y</em>), if any.</p>
891
+ </div></span>
892
+
893
+ </li>
894
+
895
+
896
+ <li class="public ">
897
+ <span class="summary_signature">
898
+
899
+ <a href="#getItemData-instance_method" title="#getItemData (instance method)">#<strong>getItemData</strong>(index) &#x21d2; Object </a>
900
+
901
+
902
+
903
+ </span>
904
+
905
+
906
+
907
+
908
+
909
+
910
+
911
+
912
+
913
+ <span class="summary_desc"><div class='inline'>
914
+ <p>Return item user data; this is equivalent to:.</p>
915
+ </div></span>
916
+
917
+ </li>
918
+
919
+
920
+ <li class="public ">
921
+ <span class="summary_signature">
922
+
923
+ <a href="#getItemHeight-instance_method" title="#getItemHeight (instance method)">#<strong>getItemHeight</strong>(index) &#x21d2; Object </a>
924
+
925
+
926
+
927
+ </span>
928
+
929
+
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+ <span class="summary_desc"><div class='inline'>
938
+ <p>Return height of item at <em>index</em>.</p>
939
+ </div></span>
940
+
941
+ </li>
942
+
943
+
944
+ <li class="public ">
945
+ <span class="summary_signature">
946
+
947
+ <a href="#getItemIcon-instance_method" title="#getItemIcon (instance method)">#<strong>getItemIcon</strong>(index) &#x21d2; Object </a>
948
+
949
+
950
+
951
+ </span>
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+
960
+
961
+ <span class="summary_desc"><div class='inline'>
962
+ <p>Return item icon, if any.</p>
963
+ </div></span>
964
+
965
+ </li>
966
+
967
+
968
+ <li class="public ">
969
+ <span class="summary_signature">
970
+
971
+ <a href="#getItemText-instance_method" title="#getItemText (instance method)">#<strong>getItemText</strong>(index) &#x21d2; Object </a>
972
+
973
+
974
+
975
+ </span>
976
+
977
+
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+ <span class="summary_desc"><div class='inline'>
986
+ <p>Return item text; this is equivalent to:.</p>
987
+ </div></span>
988
+
989
+ </li>
990
+
991
+
992
+ <li class="public ">
993
+ <span class="summary_signature">
994
+
995
+ <a href="#getItemWidth-instance_method" title="#getItemWidth (instance method)">#<strong>getItemWidth</strong>(index) &#x21d2; Object </a>
996
+
997
+
998
+
999
+ </span>
1000
+
1001
+
1002
+
1003
+
1004
+
1005
+
1006
+
1007
+
1008
+
1009
+ <span class="summary_desc"><div class='inline'>
1010
+ <p>Return width of item at <em>index</em>.</p>
1011
+ </div></span>
1012
+
1013
+ </li>
1014
+
1015
+
1016
+ <li class="public ">
1017
+ <span class="summary_signature">
1018
+
1019
+ <a href="#hitItem-instance_method" title="#hitItem (instance method)">#<strong>hitItem</strong>(index, x, y) &#x21d2; Object </a>
1020
+
1021
+
1022
+
1023
+ </span>
1024
+
1025
+
1026
+
1027
+
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+ <span class="summary_desc"><div class='inline'>
1034
+ <p>Return item hit code: 0 no hit; 1 hit the icon; 2 hit the text.</p>
1035
+ </div></span>
1036
+
1037
+ </li>
1038
+
1039
+
1040
+ <li class="public ">
1041
+ <span class="summary_signature">
1042
+
1043
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(p, target = nil, selector = 0, opts = LIST_NORMAL, x = 0, y = 0, width = 0, height = 0) &#x21d2; FXList </a>
1044
+
1045
+
1046
+
1047
+ </span>
1048
+
1049
+
1050
+ <span class="note title constructor">constructor</span>
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+ <span class="summary_desc"><div class='inline'>
1060
+ <p>Construct a list with initially no items in it.</p>
1061
+ </div></span>
1062
+
1063
+ </li>
1064
+
1065
+
1066
+ <li class="public ">
1067
+ <span class="summary_signature">
1068
+
1069
+ <a href="#insertItem-instance_method" title="#insertItem (instance method)">#<strong>insertItem</strong>(index, text, icon = nil, data = nil, notify = false) &#x21d2; Object </a>
1070
+
1071
+
1072
+
1073
+ </span>
1074
+
1075
+
1076
+
1077
+
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+ <span class="summary_desc"><div class='inline'>
1084
+ <p>Insert item at <em>index</em> with given <em>text</em>, <em>icon</em>, and user <em>data</em>, e.g.</p>
1085
+ </div></span>
1086
+
1087
+ </li>
1088
+
1089
+
1090
+ <li class="public ">
1091
+ <span class="summary_signature">
1092
+
1093
+ <a href="#itemCurrent%3F-instance_method" title="#itemCurrent? (instance method)">#<strong>itemCurrent?</strong>(index) &#x21d2; Boolean </a>
1094
+
1095
+
1096
+
1097
+ </span>
1098
+
1099
+
1100
+
1101
+
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+ <span class="summary_desc"><div class='inline'>
1108
+ <p>Return <code>true</code> if item is current.</p>
1109
+ </div></span>
1110
+
1111
+ </li>
1112
+
1113
+
1114
+ <li class="public ">
1115
+ <span class="summary_signature">
1116
+
1117
+ <a href="#itemEnabled%3F-instance_method" title="#itemEnabled? (instance method)">#<strong>itemEnabled?</strong>(index) &#x21d2; Boolean </a>
1118
+
1119
+
1120
+
1121
+ </span>
1122
+
1123
+
1124
+
1125
+
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+ <span class="summary_desc"><div class='inline'>
1132
+ <p>Return <code>true</code> if item is enabled; this is equivalent to:.</p>
1133
+ </div></span>
1134
+
1135
+ </li>
1136
+
1137
+
1138
+ <li class="public ">
1139
+ <span class="summary_signature">
1140
+
1141
+ <a href="#itemSelected%3F-instance_method" title="#itemSelected? (instance method)">#<strong>itemSelected?</strong>(index) &#x21d2; Boolean </a>
1142
+
1143
+
1144
+
1145
+ </span>
1146
+
1147
+
1148
+
1149
+
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+ <span class="summary_desc"><div class='inline'>
1156
+ <p>Return <code>true</code> if item is selected; this is equivalent to:.</p>
1157
+ </div></span>
1158
+
1159
+ </li>
1160
+
1161
+
1162
+ <li class="public ">
1163
+ <span class="summary_signature">
1164
+
1165
+ <a href="#itemVisible%3F-instance_method" title="#itemVisible? (instance method)">#<strong>itemVisible?</strong>(index) &#x21d2; Boolean </a>
1166
+
1167
+
1168
+
1169
+ </span>
1170
+
1171
+
1172
+
1173
+
1174
+
1175
+
1176
+
1177
+
1178
+
1179
+ <span class="summary_desc"><div class='inline'>
1180
+ <p>Return <code>true</code> if item is visible.</p>
1181
+ </div></span>
1182
+
1183
+ </li>
1184
+
1185
+
1186
+ <li class="public ">
1187
+ <span class="summary_signature">
1188
+
1189
+ <a href="#killSelection-instance_method" title="#killSelection (instance method)">#<strong>killSelection</strong>(notify = false) &#x21d2; Object </a>
1190
+
1191
+
1192
+
1193
+ </span>
1194
+
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+ <span class="summary_desc"><div class='inline'>
1204
+ <p>Deselect all items.</p>
1205
+ </div></span>
1206
+
1207
+ </li>
1208
+
1209
+
1210
+ <li class="public ">
1211
+ <span class="summary_signature">
1212
+
1213
+ <a href="#makeItemVisible-instance_method" title="#makeItemVisible (instance method)">#<strong>makeItemVisible</strong>(itemOrIndex) &#x21d2; Object </a>
1214
+
1215
+
1216
+
1217
+ </span>
1218
+
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+
1225
+
1226
+
1227
+ <span class="summary_desc"><div class='inline'>
1228
+ <p>Scroll to bring item into view.</p>
1229
+ </div></span>
1230
+
1231
+ </li>
1232
+
1233
+
1234
+ <li class="public ">
1235
+ <span class="summary_signature">
1236
+
1237
+ <a href="#moveItem-instance_method" title="#moveItem (instance method)">#<strong>moveItem</strong>(newIndex, oldIndex, notify = false) &#x21d2; Object </a>
1238
+
1239
+
1240
+
1241
+ </span>
1242
+
1243
+
1244
+
1245
+
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+ <span class="summary_desc"><div class='inline'>
1252
+ <p>Move item from <em>oldIndex</em> to <em>newIndex</em> and return the new index of the item..</p>
1253
+ </div></span>
1254
+
1255
+ </li>
1256
+
1257
+
1258
+ <li class="public ">
1259
+ <span class="summary_signature">
1260
+
1261
+ <a href="#prependItem-instance_method" title="#prependItem (instance method)">#<strong>prependItem</strong>(text, icon = nil, data = nil, notify = false) &#x21d2; Object </a>
1262
+
1263
+
1264
+
1265
+ </span>
1266
+
1267
+
1268
+
1269
+
1270
+
1271
+
1272
+
1273
+
1274
+
1275
+ <span class="summary_desc"><div class='inline'>
1276
+ <p>Prepend a new item with given <em>text</em> and optional <em>icon</em> and user <em>data</em>, e.g.</p>
1277
+ </div></span>
1278
+
1279
+ </li>
1280
+
1281
+
1282
+ <li class="public ">
1283
+ <span class="summary_signature">
1284
+
1285
+ <a href="#removeItem-instance_method" title="#removeItem (instance method)">#<strong>removeItem</strong>(index, notify = false) &#x21d2; Object </a>
1286
+
1287
+
1288
+
1289
+ </span>
1290
+
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+ <span class="summary_desc"><div class='inline'>
1300
+ <p>Remove item at <em>index</em> from list.</p>
1301
+ </div></span>
1302
+
1303
+ </li>
1304
+
1305
+
1306
+ <li class="public ">
1307
+ <span class="summary_signature">
1308
+
1309
+ <a href="#selectItem-instance_method" title="#selectItem (instance method)">#<strong>selectItem</strong>(index, notify = false) &#x21d2; Object </a>
1310
+
1311
+
1312
+
1313
+ </span>
1314
+
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+
1323
+ <span class="summary_desc"><div class='inline'>
1324
+ <p>Select item.</p>
1325
+ </div></span>
1326
+
1327
+ </li>
1328
+
1329
+
1330
+ <li class="public ">
1331
+ <span class="summary_signature">
1332
+
1333
+ <a href="#setCurrentItem-instance_method" title="#setCurrentItem (instance method)">#<strong>setCurrentItem</strong>(index, notify = false) &#x21d2; Object </a>
1334
+
1335
+
1336
+
1337
+ </span>
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+
1344
+
1345
+
1346
+
1347
+ <span class="summary_desc"><div class='inline'>
1348
+ <p>Change current item.</p>
1349
+ </div></span>
1350
+
1351
+ </li>
1352
+
1353
+
1354
+ <li class="public ">
1355
+ <span class="summary_signature">
1356
+
1357
+ <a href="#setItem-instance_method" title="#setItem (instance method)">#<strong>setItem</strong>(index, text, icon = nil, data = nil, notify = false) &#x21d2; Object </a>
1358
+
1359
+
1360
+
1361
+ </span>
1362
+
1363
+
1364
+
1365
+
1366
+
1367
+
1368
+
1369
+
1370
+
1371
+ <span class="summary_desc"><div class='inline'>
1372
+ <p>Replace the <em>text</em>, <em>icon</em>, and user <em>data</em> for the item at <em>index</em>, e.g.</p>
1373
+ </div></span>
1374
+
1375
+ </li>
1376
+
1377
+
1378
+ <li class="public ">
1379
+ <span class="summary_signature">
1380
+
1381
+ <a href="#setItemData-instance_method" title="#setItemData (instance method)">#<strong>setItemData</strong>(index, data) &#x21d2; Object </a>
1382
+
1383
+
1384
+
1385
+ </span>
1386
+
1387
+
1388
+
1389
+
1390
+
1391
+
1392
+
1393
+
1394
+
1395
+ <span class="summary_desc"><div class='inline'>
1396
+ <p>Change item user data; this is equivalent to:.</p>
1397
+ </div></span>
1398
+
1399
+ </li>
1400
+
1401
+
1402
+ <li class="public ">
1403
+ <span class="summary_signature">
1404
+
1405
+ <a href="#setItemIcon-instance_method" title="#setItemIcon (instance method)">#<strong>setItemIcon</strong>(index, icon, owned = false) &#x21d2; Object </a>
1406
+
1407
+
1408
+
1409
+ </span>
1410
+
1411
+
1412
+
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+ <span class="summary_desc"><div class='inline'>
1420
+ <p>Change item icon and mark the list&#39;s layout as dirty; this is equivalent to:.</p>
1421
+ </div></span>
1422
+
1423
+ </li>
1424
+
1425
+
1426
+ <li class="public ">
1427
+ <span class="summary_signature">
1428
+
1429
+ <a href="#setItemText-instance_method" title="#setItemText (instance method)">#<strong>setItemText</strong>(index, text) &#x21d2; Object </a>
1430
+
1431
+
1432
+
1433
+ </span>
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+ <span class="summary_desc"><div class='inline'>
1444
+ <p>Change item text and mark the list&#39;s layout as dirty; this is equivalent to:.</p>
1445
+ </div></span>
1446
+
1447
+ </li>
1448
+
1449
+
1450
+ <li class="public ">
1451
+ <span class="summary_signature">
1452
+
1453
+ <a href="#sortItems-instance_method" title="#sortItems (instance method)">#<strong>sortItems</strong> &#x21d2; Object </a>
1454
+
1455
+
1456
+
1457
+ </span>
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+
1465
+
1466
+
1467
+ <span class="summary_desc"><div class='inline'>
1468
+ <p>Sort items using current sort function.</p>
1469
+ </div></span>
1470
+
1471
+ </li>
1472
+
1473
+
1474
+ <li class="public ">
1475
+ <span class="summary_signature">
1476
+
1477
+ <a href="#toggleItem-instance_method" title="#toggleItem (instance method)">#<strong>toggleItem</strong>(index, notify = false) &#x21d2; Object </a>
1478
+
1479
+
1480
+
1481
+ </span>
1482
+
1483
+
1484
+
1485
+
1486
+
1487
+
1488
+
1489
+
1490
+
1491
+ <span class="summary_desc"><div class='inline'>
1492
+ <p>Toggle item selection state.</p>
1493
+ </div></span>
1494
+
1495
+ </li>
1496
+
1497
+
1498
+ <li class="public ">
1499
+ <span class="summary_signature">
1500
+
1501
+ <a href="#updateItem-instance_method" title="#updateItem (instance method)">#<strong>updateItem</strong>(index) &#x21d2; Object </a>
1502
+
1503
+
1504
+
1505
+ </span>
1506
+
1507
+
1508
+
1509
+
1510
+
1511
+
1512
+
1513
+
1514
+
1515
+ <span class="summary_desc"><div class='inline'>
1516
+ <p>Repaint item.</p>
1517
+ </div></span>
1518
+
1519
+ </li>
1520
+
1521
+
1522
+ </ul>
1523
+
1524
+
1525
+
1526
+
1527
+
1528
+
1529
+
1530
+
1531
+
1532
+
1533
+
1534
+
1535
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXScrollArea.html" title="Fox::FXScrollArea (class)">FXScrollArea</a></span></h3>
1536
+ <p class="inherited"><span class='object_link'><a href="FXScrollArea.html#horizontalScrollable%3F-instance_method" title="Fox::FXScrollArea#horizontalScrollable? (method)">#horizontalScrollable?</a></span>, <span class='object_link'><a href="FXScrollArea.html#position-instance_method" title="Fox::FXScrollArea#position (method)">#position</a></span>, <span class='object_link'><a href="FXScrollArea.html#scrollCorner-instance_method" title="Fox::FXScrollArea#scrollCorner (method)">#scrollCorner</a></span>, <span class='object_link'><a href="FXScrollArea.html#setPosition-instance_method" title="Fox::FXScrollArea#setPosition (method)">#setPosition</a></span>, <span class='object_link'><a href="FXScrollArea.html#verticalScrollable%3F-instance_method" title="Fox::FXScrollArea#verticalScrollable? (method)">#verticalScrollable?</a></span></p>
1537
+
1538
+
1539
+
1540
+
1541
+
1542
+
1543
+
1544
+
1545
+
1546
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXComposite.html" title="Fox::FXComposite (class)">FXComposite</a></span></h3>
1547
+ <p class="inherited"><span class='object_link'><a href="FXComposite.html#maxChildHeight-instance_method" title="Fox::FXComposite#maxChildHeight (method)">#maxChildHeight</a></span>, <span class='object_link'><a href="FXComposite.html#maxChildWidth-instance_method" title="Fox::FXComposite#maxChildWidth (method)">#maxChildWidth</a></span></p>
1548
+
1549
+
1550
+
1551
+
1552
+
1553
+
1554
+
1555
+
1556
+
1557
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
1558
+ <p class="inherited"><span class='object_link'><a href="FXWindow.html#acceptDrop-instance_method" title="Fox::FXWindow#acceptDrop (method)">#acceptDrop</a></span>, <span class='object_link'><a href="FXWindow.html#acquireClipboard-instance_method" title="Fox::FXWindow#acquireClipboard (method)">#acquireClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#acquireSelection-instance_method" title="Fox::FXWindow#acquireSelection (method)">#acquireSelection</a></span>, <span class='object_link'><a href="FXWindow.html#active%3F-instance_method" title="Fox::FXWindow#active? (method)">#active?</a></span>, <span class='object_link'><a href="FXWindow.html#addHotKey-instance_method" title="Fox::FXWindow#addHotKey (method)">#addHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-class_method" title="Fox::FXWindow.after? (method)">after?</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-instance_method" title="Fox::FXWindow#after? (method)">#after?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-class_method" title="Fox::FXWindow.before? (method)">before?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-instance_method" title="Fox::FXWindow#before? (method)">#before?</a></span>, <span class='object_link'><a href="FXWindow.html#beginDrag-instance_method" title="Fox::FXWindow#beginDrag (method)">#beginDrag</a></span>, <span class='object_link'><a href="FXWindow.html#canFocus%3F-instance_method" title="Fox::FXWindow#canFocus? (method)">#canFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#changeFocus-instance_method" title="Fox::FXWindow#changeFocus (method)">#changeFocus</a></span>, <span class='object_link'><a href="FXWindow.html#childAtIndex-instance_method" title="Fox::FXWindow#childAtIndex (method)">#childAtIndex</a></span>, <span class='object_link'><a href="FXWindow.html#childOf%3F-instance_method" title="Fox::FXWindow#childOf? (method)">#childOf?</a></span>, <span class='object_link'><a href="FXWindow.html#children-instance_method" title="Fox::FXWindow#children (method)">#children</a></span>, <span class='object_link'><a href="FXWindow.html#clearDragRectangle-instance_method" title="Fox::FXWindow#clearDragRectangle (method)">#clearDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#clearShape-instance_method" title="Fox::FXWindow#clearShape (method)">#clearShape</a></span>, <span class='object_link'><a href="FXWindow.html#colorType-class_method" title="Fox::FXWindow.colorType (method)">colorType</a></span>, <span class='object_link'><a href="FXWindow.html#colorTypeName-class_method" title="Fox::FXWindow.colorTypeName (method)">colorTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#commonAncestor-class_method" title="Fox::FXWindow.commonAncestor (method)">commonAncestor</a></span>, <span class='object_link'><a href="FXWindow.html#composeContext-instance_method" title="Fox::FXWindow#composeContext (method)">#composeContext</a></span>, <span class='object_link'><a href="FXWindow.html#composite%3F-instance_method" title="Fox::FXWindow#composite? (method)">#composite?</a></span>, <span class='object_link'><a href="FXWindow.html#contains%3F-instance_method" title="Fox::FXWindow#contains? (method)">#contains?</a></span>, <span class='object_link'><a href="FXWindow.html#containsChild%3F-instance_method" title="Fox::FXWindow#containsChild? (method)">#containsChild?</a></span>, <span class='object_link'><a href="FXWindow.html#create-instance_method" title="Fox::FXWindow#create (method)">#create</a></span>, <span class='object_link'><a href="FXWindow.html#createComposeContext-instance_method" title="Fox::FXWindow#createComposeContext (method)">#createComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#cursorPosition-instance_method" title="Fox::FXWindow#cursorPosition (method)">#cursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#default%3F-instance_method" title="Fox::FXWindow#default? (method)">#default?</a></span>, <span class='object_link'><a href="FXWindow.html#defaultHeight-instance_method" title="Fox::FXWindow#defaultHeight (method)">#defaultHeight</a></span>, <span class='object_link'><a href="FXWindow.html#defaultWidth-instance_method" title="Fox::FXWindow#defaultWidth (method)">#defaultWidth</a></span>, <span class='object_link'><a href="FXWindow.html#deleteType-class_method" title="Fox::FXWindow.deleteType (method)">deleteType</a></span>, <span class='object_link'><a href="FXWindow.html#deleteTypeName-class_method" title="Fox::FXWindow.deleteTypeName (method)">deleteTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#destroy-instance_method" title="Fox::FXWindow#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXWindow.html#destroyComposeContext-instance_method" title="Fox::FXWindow#destroyComposeContext (method)">#destroyComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#detach-instance_method" title="Fox::FXWindow#detach (method)">#detach</a></span>, <span class='object_link'><a href="FXWindow.html#didAccept-instance_method" title="Fox::FXWindow#didAccept (method)">#didAccept</a></span>, <span class='object_link'><a href="FXWindow.html#disable-instance_method" title="Fox::FXWindow#disable (method)">#disable</a></span>, <span class='object_link'><a href="FXWindow.html#doesSaveUnder%3F-instance_method" title="Fox::FXWindow#doesSaveUnder? (method)">#doesSaveUnder?</a></span>, <span class='object_link'><a href="FXWindow.html#dragging%3F-instance_method" title="Fox::FXWindow#dragging? (method)">#dragging?</a></span>, <span class='object_link'><a href="FXWindow.html#dropDisable-instance_method" title="Fox::FXWindow#dropDisable (method)">#dropDisable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnable-instance_method" title="Fox::FXWindow#dropEnable (method)">#dropEnable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnabled%3F-instance_method" title="Fox::FXWindow#dropEnabled? (method)">#dropEnabled?</a></span>, <span class='object_link'><a href="FXWindow.html#dropFinished-instance_method" title="Fox::FXWindow#dropFinished (method)">#dropFinished</a></span>, <span class='object_link'><a href="FXWindow.html#dropTarget%3F-instance_method" title="Fox::FXWindow#dropTarget? (method)">#dropTarget?</a></span>, <span class='object_link'><a href="FXWindow.html#each_child-instance_method" title="Fox::FXWindow#each_child (method)">#each_child</a></span>, <span class='object_link'><a href="FXWindow.html#each_child_recursive-instance_method" title="Fox::FXWindow#each_child_recursive (method)">#each_child_recursive</a></span>, <span class='object_link'><a href="FXWindow.html#enable-instance_method" title="Fox::FXWindow#enable (method)">#enable</a></span>, <span class='object_link'><a href="FXWindow.html#enabled%3F-instance_method" title="Fox::FXWindow#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="FXWindow.html#endDrag-instance_method" title="Fox::FXWindow#endDrag (method)">#endDrag</a></span>, <span class='object_link'><a href="FXWindow.html#forceRefresh-instance_method" title="Fox::FXWindow#forceRefresh (method)">#forceRefresh</a></span>, <span class='object_link'><a href="FXWindow.html#getChildAt-instance_method" title="Fox::FXWindow#getChildAt (method)">#getChildAt</a></span>, <span class='object_link'><a href="FXWindow.html#getDNDData-instance_method" title="Fox::FXWindow#getDNDData (method)">#getDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#getHeightForWidth-instance_method" title="Fox::FXWindow#getHeightForWidth (method)">#getHeightForWidth</a></span>, <span class='object_link'><a href="FXWindow.html#getWidthForHeight-instance_method" title="Fox::FXWindow#getWidthForHeight (method)">#getWidthForHeight</a></span>, <span class='object_link'><a href="FXWindow.html#grab-instance_method" title="Fox::FXWindow#grab (method)">#grab</a></span>, <span class='object_link'><a href="FXWindow.html#grabKeyboard-instance_method" title="Fox::FXWindow#grabKeyboard (method)">#grabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#grabbed%3F-instance_method" title="Fox::FXWindow#grabbed? (method)">#grabbed?</a></span>, <span class='object_link'><a href="FXWindow.html#grabbedKeyboard%3F-instance_method" title="Fox::FXWindow#grabbedKeyboard? (method)">#grabbedKeyboard?</a></span>, <span class='object_link'><a href="FXWindow.html#handleDrag-instance_method" title="Fox::FXWindow#handleDrag (method)">#handleDrag</a></span>, <span class='object_link'><a href="FXWindow.html#hasClipboard%3F-instance_method" title="Fox::FXWindow#hasClipboard? (method)">#hasClipboard?</a></span>, <span class='object_link'><a href="FXWindow.html#hasFocus%3F-instance_method" title="Fox::FXWindow#hasFocus? (method)">#hasFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#hasSelection%3F-instance_method" title="Fox::FXWindow#hasSelection? (method)">#hasSelection?</a></span>, <span class='object_link'><a href="FXWindow.html#height-instance_method" title="Fox::FXWindow#height (method)">#height</a></span>, <span class='object_link'><a href="FXWindow.html#height=-instance_method" title="Fox::FXWindow#height= (method)">#height=</a></span>, <span class='object_link'><a href="FXWindow.html#hide-instance_method" title="Fox::FXWindow#hide (method)">#hide</a></span>, <span class='object_link'><a href="FXWindow.html#imageType-class_method" title="Fox::FXWindow.imageType (method)">imageType</a></span>, <span class='object_link'><a href="FXWindow.html#inFocusChain%3F-instance_method" title="Fox::FXWindow#inFocusChain? (method)">#inFocusChain?</a></span>, <span class='object_link'><a href="FXWindow.html#indexOfChild-instance_method" title="Fox::FXWindow#indexOfChild (method)">#indexOfChild</a></span>, <span class='object_link'><a href="FXWindow.html#initial%3F-instance_method" title="Fox::FXWindow#initial? (method)">#initial?</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDAction-instance_method" title="Fox::FXWindow#inquireDNDAction (method)">#inquireDNDAction</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDTypes-instance_method" title="Fox::FXWindow#inquireDNDTypes (method)">#inquireDNDTypes</a></span>, <span class='object_link'><a href="FXWindow.html#killFocus-instance_method" title="Fox::FXWindow#killFocus (method)">#killFocus</a></span>, <span class='object_link'><a href="FXWindow.html#layout-instance_method" title="Fox::FXWindow#layout (method)">#layout</a></span>, <span class='object_link'><a href="FXWindow.html#linkAfter-instance_method" title="Fox::FXWindow#linkAfter (method)">#linkAfter</a></span>, <span class='object_link'><a href="FXWindow.html#linkBefore-instance_method" title="Fox::FXWindow#linkBefore (method)">#linkBefore</a></span>, <span class='object_link'><a href="FXWindow.html#lower-instance_method" title="Fox::FXWindow#lower (method)">#lower</a></span>, <span class='object_link'><a href="FXWindow.html#move-instance_method" title="Fox::FXWindow#move (method)">#move</a></span>, <span class='object_link'><a href="FXWindow.html#octetType-class_method" title="Fox::FXWindow.octetType (method)">octetType</a></span>, <span class='object_link'><a href="FXWindow.html#octetTypeName-class_method" title="Fox::FXWindow.octetTypeName (method)">octetTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#offeredDNDType%3F-instance_method" title="Fox::FXWindow#offeredDNDType? (method)">#offeredDNDType?</a></span>, <span class='object_link'><a href="FXWindow.html#position-instance_method" title="Fox::FXWindow#position (method)">#position</a></span>, <span class='object_link'><a href="FXWindow.html#raiseWindow-instance_method" title="Fox::FXWindow#raiseWindow (method)">#raiseWindow</a></span>, <span class='object_link'><a href="FXWindow.html#recalc-instance_method" title="Fox::FXWindow#recalc (method)">#recalc</a></span>, <span class='object_link'><a href="FXWindow.html#releaseClipboard-instance_method" title="Fox::FXWindow#releaseClipboard (method)">#releaseClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#releaseSelection-instance_method" title="Fox::FXWindow#releaseSelection (method)">#releaseSelection</a></span>, <span class='object_link'><a href="FXWindow.html#remHotKey-instance_method" title="Fox::FXWindow#remHotKey (method)">#remHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#removeChild-instance_method" title="Fox::FXWindow#removeChild (method)">#removeChild</a></span>, <span class='object_link'><a href="FXWindow.html#repaint-instance_method" title="Fox::FXWindow#repaint (method)">#repaint</a></span>, <span class='object_link'><a href="FXWindow.html#reparent-instance_method" title="Fox::FXWindow#reparent (method)">#reparent</a></span>, <span class='object_link'><a href="FXWindow.html#resize-instance_method" title="Fox::FXWindow#resize (method)">#resize</a></span>, <span class='object_link'><a href="FXWindow.html#scroll-instance_method" title="Fox::FXWindow#scroll (method)">#scroll</a></span>, <span class='object_link'><a href="FXWindow.html#setCursorPosition-instance_method" title="Fox::FXWindow#setCursorPosition (method)">#setCursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#setDNDData-instance_method" title="Fox::FXWindow#setDNDData (method)">#setDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#setDefault-instance_method" title="Fox::FXWindow#setDefault (method)">#setDefault</a></span>, <span class='object_link'><a href="FXWindow.html#setDragRectangle-instance_method" title="Fox::FXWindow#setDragRectangle (method)">#setDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#setFocus-instance_method" title="Fox::FXWindow#setFocus (method)">#setFocus</a></span>, <span class='object_link'><a href="FXWindow.html#setInitial-instance_method" title="Fox::FXWindow#setInitial (method)">#setInitial</a></span>, <span class='object_link'><a href="FXWindow.html#setShape-instance_method" title="Fox::FXWindow#setShape (method)">#setShape</a></span>, <span class='object_link'><a href="FXWindow.html#shell%3F-instance_method" title="Fox::FXWindow#shell? (method)">#shell?</a></span>, <span class='object_link'><a href="FXWindow.html#show-instance_method" title="Fox::FXWindow#show (method)">#show</a></span>, <span class='object_link'><a href="FXWindow.html#shown%3F-instance_method" title="Fox::FXWindow#shown? (method)">#shown?</a></span>, <span class='object_link'><a href="FXWindow.html#stringType-class_method" title="Fox::FXWindow.stringType (method)">stringType</a></span>, <span class='object_link'><a href="FXWindow.html#textType-class_method" title="Fox::FXWindow.textType (method)">textType</a></span>, <span class='object_link'><a href="FXWindow.html#textTypeName-class_method" title="Fox::FXWindow.textTypeName (method)">textTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#tr-instance_method" title="Fox::FXWindow#tr (method)">#tr</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesFrom-instance_method" title="Fox::FXWindow#translateCoordinatesFrom (method)">#translateCoordinatesFrom</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesTo-instance_method" title="Fox::FXWindow#translateCoordinatesTo (method)">#translateCoordinatesTo</a></span>, <span class='object_link'><a href="FXWindow.html#underCursor%3F-instance_method" title="Fox::FXWindow#underCursor? (method)">#underCursor?</a></span>, <span class='object_link'><a href="FXWindow.html#ungrab-instance_method" title="Fox::FXWindow#ungrab (method)">#ungrab</a></span>, <span class='object_link'><a href="FXWindow.html#ungrabKeyboard-instance_method" title="Fox::FXWindow#ungrabKeyboard (method)">#ungrabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#update-instance_method" title="Fox::FXWindow#update (method)">#update</a></span>, <span class='object_link'><a href="FXWindow.html#urilistType-class_method" title="Fox::FXWindow.urilistType (method)">urilistType</a></span>, <span class='object_link'><a href="FXWindow.html#urilistTypeName-class_method" title="Fox::FXWindow.urilistTypeName (method)">urilistTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf16Type-class_method" title="Fox::FXWindow.utf16Type (method)">utf16Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf16TypeName-class_method" title="Fox::FXWindow.utf16TypeName (method)">utf16TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf8Type-class_method" title="Fox::FXWindow.utf8Type (method)">utf8Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf8TypeName-class_method" title="Fox::FXWindow.utf8TypeName (method)">utf8TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#visible=-instance_method" title="Fox::FXWindow#visible= (method)">#visible=</a></span>, <span class='object_link'><a href="FXWindow.html#width-instance_method" title="Fox::FXWindow#width (method)">#width</a></span>, <span class='object_link'><a href="FXWindow.html#width=-instance_method" title="Fox::FXWindow#width= (method)">#width=</a></span></p>
1559
+
1560
+
1561
+
1562
+
1563
+
1564
+
1565
+
1566
+
1567
+
1568
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../Responder2.html" title="Responder2 (module)">Responder2</a></span></h3>
1569
+ <p class="inherited"><span class='object_link'><a href="../Responder2.html#connect-instance_method" title="Responder2#connect (method)">#connect</a></span></p>
1570
+
1571
+
1572
+
1573
+
1574
+
1575
+
1576
+
1577
+
1578
+
1579
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
1580
+ <p class="inherited"><span class='object_link'><a href="FXDrawable.html#resize-instance_method" title="Fox::FXDrawable#resize (method)">#resize</a></span></p>
1581
+
1582
+
1583
+
1584
+
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
1591
+ <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>
1592
+
1593
+
1594
+
1595
+
1596
+
1597
+
1598
+
1599
+
1600
+
1601
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></h3>
1602
+ <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>
1603
+ <div id="constructor_details" class="method_details_list">
1604
+ <h2>Constructor Details</h2>
1605
+
1606
+ <div class="method_details first">
1607
+ <h3 class="signature first" id="initialize-instance_method">
1608
+
1609
+ #<strong>initialize</strong>(p, target = nil, selector = 0, opts = LIST_NORMAL, x = 0, y = 0, width = 0, height = 0) &#x21d2; <tt><span class='object_link'><a href="" title="Fox::FXList (class)">FXList</a></span></tt>
1610
+
1611
+
1612
+
1613
+
1614
+
1615
+ </h3><div class="docstring">
1616
+ <div class="discussion">
1617
+
1618
+ <p>Construct a list with initially no items in it.</p>
1619
+
1620
+
1621
+ </div>
1622
+ </div>
1623
+ <div class="tags">
1624
+
1625
+
1626
+ </div><table class="source_code">
1627
+ <tr>
1628
+ <td>
1629
+ <pre class="lines">
1630
+
1631
+
1632
+ 147
1633
+ 148</pre>
1634
+ </td>
1635
+ <td>
1636
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 147</span>
1637
+
1638
+ <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'>LIST_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='rparen'>)</span> <span class='comment'># :yields: theList
1639
+ </span><span class='kw'>end</span></pre>
1640
+ </td>
1641
+ </tr>
1642
+ </table>
1643
+ </div>
1644
+
1645
+ </div>
1646
+
1647
+ <div id="instance_attr_details" class="attr_details">
1648
+ <h2>Instance Attribute Details</h2>
1649
+
1650
+
1651
+ <span id=""></span>
1652
+ <div class="method_details first">
1653
+ <h3 class="signature first" id="anchorItem-instance_method">
1654
+
1655
+ #<strong>anchorItem</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1656
+
1657
+
1658
+
1659
+
1660
+
1661
+ </h3><div class="docstring">
1662
+ <div class="discussion">
1663
+
1664
+ <p>Index of anchor item, or -1 if no anchor item [Integer]</p>
1665
+
1666
+
1667
+ </div>
1668
+ </div>
1669
+ <div class="tags">
1670
+
1671
+
1672
+ </div><table class="source_code">
1673
+ <tr>
1674
+ <td>
1675
+ <pre class="lines">
1676
+
1677
+
1678
+ 123
1679
+ 124
1680
+ 125</pre>
1681
+ </td>
1682
+ <td>
1683
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 123</span>
1684
+
1685
+ <span class='kw'>def</span> <span class='id identifier rubyid_anchorItem'>anchorItem</span>
1686
+ <span class='ivar'>@anchorItem</span>
1687
+ <span class='kw'>end</span></pre>
1688
+ </td>
1689
+ </tr>
1690
+ </table>
1691
+ </div>
1692
+
1693
+
1694
+ <span id="currentItem=-instance_method"></span>
1695
+ <div class="method_details ">
1696
+ <h3 class="signature " id="currentItem-instance_method">
1697
+
1698
+ #<strong>currentItem</strong> &#x21d2; <tt>Object</tt>
1699
+
1700
+
1701
+
1702
+
1703
+
1704
+ </h3><div class="docstring">
1705
+ <div class="discussion">
1706
+
1707
+ <p>Index of current item, or -1 if no current item [Integer]</p>
1708
+
1709
+
1710
+ </div>
1711
+ </div>
1712
+ <div class="tags">
1713
+
1714
+
1715
+ </div><table class="source_code">
1716
+ <tr>
1717
+ <td>
1718
+ <pre class="lines">
1719
+
1720
+
1721
+ 120
1722
+ 121
1723
+ 122</pre>
1724
+ </td>
1725
+ <td>
1726
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 120</span>
1727
+
1728
+ <span class='kw'>def</span> <span class='id identifier rubyid_currentItem'>currentItem</span>
1729
+ <span class='ivar'>@currentItem</span>
1730
+ <span class='kw'>end</span></pre>
1731
+ </td>
1732
+ </tr>
1733
+ </table>
1734
+ </div>
1735
+
1736
+
1737
+ <span id=""></span>
1738
+ <div class="method_details ">
1739
+ <h3 class="signature " id="cursorItem-instance_method">
1740
+
1741
+ #<strong>cursorItem</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1742
+
1743
+
1744
+
1745
+
1746
+
1747
+ </h3><div class="docstring">
1748
+ <div class="discussion">
1749
+
1750
+ <p>Index of item under the cursor, or -1 if none [Integer]</p>
1751
+
1752
+
1753
+ </div>
1754
+ </div>
1755
+ <div class="tags">
1756
+
1757
+
1758
+ </div><table class="source_code">
1759
+ <tr>
1760
+ <td>
1761
+ <pre class="lines">
1762
+
1763
+
1764
+ 126
1765
+ 127
1766
+ 128</pre>
1767
+ </td>
1768
+ <td>
1769
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 126</span>
1770
+
1771
+ <span class='kw'>def</span> <span class='id identifier rubyid_cursorItem'>cursorItem</span>
1772
+ <span class='ivar'>@cursorItem</span>
1773
+ <span class='kw'>end</span></pre>
1774
+ </td>
1775
+ </tr>
1776
+ </table>
1777
+ </div>
1778
+
1779
+
1780
+ <span id="font=-instance_method"></span>
1781
+ <div class="method_details ">
1782
+ <h3 class="signature " id="font-instance_method">
1783
+
1784
+ #<strong>font</strong> &#x21d2; <tt>Object</tt>
1785
+
1786
+
1787
+
1788
+
1789
+
1790
+ </h3><div class="docstring">
1791
+ <div class="discussion">
1792
+
1793
+ <p>Text font <span class='object_link'><a href="FXFont.html" title="Fox::FXFont (class)">Fox::FXFont</a></span></p>
1794
+
1795
+
1796
+ </div>
1797
+ </div>
1798
+ <div class="tags">
1799
+
1800
+
1801
+ </div><table class="source_code">
1802
+ <tr>
1803
+ <td>
1804
+ <pre class="lines">
1805
+
1806
+
1807
+ 129
1808
+ 130
1809
+ 131</pre>
1810
+ </td>
1811
+ <td>
1812
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 129</span>
1813
+
1814
+ <span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span>
1815
+ <span class='ivar'>@font</span>
1816
+ <span class='kw'>end</span></pre>
1817
+ </td>
1818
+ </tr>
1819
+ </table>
1820
+ </div>
1821
+
1822
+
1823
+ <span id="helpText=-instance_method"></span>
1824
+ <div class="method_details ">
1825
+ <h3 class="signature " id="helpText-instance_method">
1826
+
1827
+ #<strong>helpText</strong> &#x21d2; <tt>Object</tt>
1828
+
1829
+
1830
+
1831
+
1832
+
1833
+ </h3><div class="docstring">
1834
+ <div class="discussion">
1835
+
1836
+ <p>Status line help text [String]</p>
1837
+
1838
+
1839
+ </div>
1840
+ </div>
1841
+ <div class="tags">
1842
+
1843
+
1844
+ </div><table class="source_code">
1845
+ <tr>
1846
+ <td>
1847
+ <pre class="lines">
1848
+
1849
+
1850
+ 144
1851
+ 145
1852
+ 146</pre>
1853
+ </td>
1854
+ <td>
1855
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 144</span>
1856
+
1857
+ <span class='kw'>def</span> <span class='id identifier rubyid_helpText'>helpText</span>
1858
+ <span class='ivar'>@helpText</span>
1859
+ <span class='kw'>end</span></pre>
1860
+ </td>
1861
+ </tr>
1862
+ </table>
1863
+ </div>
1864
+
1865
+
1866
+ <span id="listStyle=-instance_method"></span>
1867
+ <div class="method_details ">
1868
+ <h3 class="signature " id="listStyle-instance_method">
1869
+
1870
+ #<strong>listStyle</strong> &#x21d2; <tt>Object</tt>
1871
+
1872
+
1873
+
1874
+
1875
+
1876
+ </h3><div class="docstring">
1877
+ <div class="discussion">
1878
+
1879
+ <p>List style [Integer]</p>
1880
+
1881
+
1882
+ </div>
1883
+ </div>
1884
+ <div class="tags">
1885
+
1886
+
1887
+ </div><table class="source_code">
1888
+ <tr>
1889
+ <td>
1890
+ <pre class="lines">
1891
+
1892
+
1893
+ 141
1894
+ 142
1895
+ 143</pre>
1896
+ </td>
1897
+ <td>
1898
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 141</span>
1899
+
1900
+ <span class='kw'>def</span> <span class='id identifier rubyid_listStyle'>listStyle</span>
1901
+ <span class='ivar'>@listStyle</span>
1902
+ <span class='kw'>end</span></pre>
1903
+ </td>
1904
+ </tr>
1905
+ </table>
1906
+ </div>
1907
+
1908
+
1909
+ <span id=""></span>
1910
+ <div class="method_details ">
1911
+ <h3 class="signature " id="numItems-instance_method">
1912
+
1913
+ #<strong>numItems</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
1914
+
1915
+
1916
+
1917
+
1918
+
1919
+ </h3><div class="docstring">
1920
+ <div class="discussion">
1921
+
1922
+ <p>Number of items in the list [Integer]</p>
1923
+
1924
+
1925
+ </div>
1926
+ </div>
1927
+ <div class="tags">
1928
+
1929
+
1930
+ </div><table class="source_code">
1931
+ <tr>
1932
+ <td>
1933
+ <pre class="lines">
1934
+
1935
+
1936
+ 114
1937
+ 115
1938
+ 116</pre>
1939
+ </td>
1940
+ <td>
1941
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 114</span>
1942
+
1943
+ <span class='kw'>def</span> <span class='id identifier rubyid_numItems'>numItems</span>
1944
+ <span class='ivar'>@numItems</span>
1945
+ <span class='kw'>end</span></pre>
1946
+ </td>
1947
+ </tr>
1948
+ </table>
1949
+ </div>
1950
+
1951
+
1952
+ <span id="numVisible=-instance_method"></span>
1953
+ <div class="method_details ">
1954
+ <h3 class="signature " id="numVisible-instance_method">
1955
+
1956
+ #<strong>numVisible</strong> &#x21d2; <tt>Object</tt>
1957
+
1958
+
1959
+
1960
+
1961
+
1962
+ </h3><div class="docstring">
1963
+ <div class="discussion">
1964
+
1965
+ <p>Number of visible items [Integer]</p>
1966
+
1967
+
1968
+ </div>
1969
+ </div>
1970
+ <div class="tags">
1971
+
1972
+
1973
+ </div><table class="source_code">
1974
+ <tr>
1975
+ <td>
1976
+ <pre class="lines">
1977
+
1978
+
1979
+ 117
1980
+ 118
1981
+ 119</pre>
1982
+ </td>
1983
+ <td>
1984
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 117</span>
1985
+
1986
+ <span class='kw'>def</span> <span class='id identifier rubyid_numVisible'>numVisible</span>
1987
+ <span class='ivar'>@numVisible</span>
1988
+ <span class='kw'>end</span></pre>
1989
+ </td>
1990
+ </tr>
1991
+ </table>
1992
+ </div>
1993
+
1994
+
1995
+ <span id="selBackColor=-instance_method"></span>
1996
+ <div class="method_details ">
1997
+ <h3 class="signature " id="selBackColor-instance_method">
1998
+
1999
+ #<strong>selBackColor</strong> &#x21d2; <tt>Object</tt>
2000
+
2001
+
2002
+
2003
+
2004
+
2005
+ </h3><div class="docstring">
2006
+ <div class="discussion">
2007
+
2008
+ <p>Selected text background color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">Fox::FXColor</a></span></p>
2009
+
2010
+
2011
+ </div>
2012
+ </div>
2013
+ <div class="tags">
2014
+
2015
+
2016
+ </div><table class="source_code">
2017
+ <tr>
2018
+ <td>
2019
+ <pre class="lines">
2020
+
2021
+
2022
+ 135
2023
+ 136
2024
+ 137</pre>
2025
+ </td>
2026
+ <td>
2027
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 135</span>
2028
+
2029
+ <span class='kw'>def</span> <span class='id identifier rubyid_selBackColor'>selBackColor</span>
2030
+ <span class='ivar'>@selBackColor</span>
2031
+ <span class='kw'>end</span></pre>
2032
+ </td>
2033
+ </tr>
2034
+ </table>
2035
+ </div>
2036
+
2037
+
2038
+ <span id="selTextColor=-instance_method"></span>
2039
+ <div class="method_details ">
2040
+ <h3 class="signature " id="selTextColor-instance_method">
2041
+
2042
+ #<strong>selTextColor</strong> &#x21d2; <tt>Object</tt>
2043
+
2044
+
2045
+
2046
+
2047
+
2048
+ </h3><div class="docstring">
2049
+ <div class="discussion">
2050
+
2051
+ <p>Selected text color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">Fox::FXColor</a></span></p>
2052
+
2053
+
2054
+ </div>
2055
+ </div>
2056
+ <div class="tags">
2057
+
2058
+
2059
+ </div><table class="source_code">
2060
+ <tr>
2061
+ <td>
2062
+ <pre class="lines">
2063
+
2064
+
2065
+ 138
2066
+ 139
2067
+ 140</pre>
2068
+ </td>
2069
+ <td>
2070
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 138</span>
2071
+
2072
+ <span class='kw'>def</span> <span class='id identifier rubyid_selTextColor'>selTextColor</span>
2073
+ <span class='ivar'>@selTextColor</span>
2074
+ <span class='kw'>end</span></pre>
2075
+ </td>
2076
+ </tr>
2077
+ </table>
2078
+ </div>
2079
+
2080
+
2081
+ <span id="textColor=-instance_method"></span>
2082
+ <div class="method_details ">
2083
+ <h3 class="signature " id="textColor-instance_method">
2084
+
2085
+ #<strong>textColor</strong> &#x21d2; <tt>Object</tt>
2086
+
2087
+
2088
+
2089
+
2090
+
2091
+ </h3><div class="docstring">
2092
+ <div class="discussion">
2093
+
2094
+ <p>Normal text color <span class='object_link'><a href="FXColor.html" title="Fox::FXColor (class)">Fox::FXColor</a></span></p>
2095
+
2096
+
2097
+ </div>
2098
+ </div>
2099
+ <div class="tags">
2100
+
2101
+
2102
+ </div><table class="source_code">
2103
+ <tr>
2104
+ <td>
2105
+ <pre class="lines">
2106
+
2107
+
2108
+ 132
2109
+ 133
2110
+ 134</pre>
2111
+ </td>
2112
+ <td>
2113
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 132</span>
2114
+
2115
+ <span class='kw'>def</span> <span class='id identifier rubyid_textColor'>textColor</span>
2116
+ <span class='ivar'>@textColor</span>
2117
+ <span class='kw'>end</span></pre>
2118
+ </td>
2119
+ </tr>
2120
+ </table>
2121
+ </div>
2122
+
2123
+ </div>
2124
+
2125
+
2126
+ <div id="instance_method_details" class="method_details_list">
2127
+ <h2>Instance Method Details</h2>
2128
+
2129
+
2130
+ <div class="method_details first">
2131
+ <h3 class="signature first" id="appendItem-instance_method">
2132
+
2133
+ #<strong>appendItem</strong>(text, icon = nil, data = nil, notify = false) &#x21d2; <tt>Object</tt>
2134
+
2135
+
2136
+
2137
+ <span class="aliases">Also known as:
2138
+ <span class="names"><span id='<<-instance_method'>&lt;&lt;</span></span>
2139
+ </span>
2140
+
2141
+
2142
+
2143
+ </h3><div class="docstring">
2144
+ <div class="discussion">
2145
+
2146
+ <p>Append a new item with given <em>text</em> and optional <em>icon</em> and user <em>data</em>, e.g.</p>
2147
+
2148
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_list'>list</span><span class='period'>.</span><span class='id identifier rubyid_appendItem'>appendItem</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pinky</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
2149
+ </code></pre>
2150
+
2151
+ <p>If <em>notify</em> is <code>true</code>, a <code>SEL_INSERTED</code> message is sent to the list&#39;s message target after the item is appended. Returns the integer index of the newly appended item.</p>
2152
+
2153
+
2154
+ </div>
2155
+ </div>
2156
+ <div class="tags">
2157
+
2158
+
2159
+ </div><table class="source_code">
2160
+ <tr>
2161
+ <td>
2162
+ <pre class="lines">
2163
+
2164
+
2165
+ 209</pre>
2166
+ </td>
2167
+ <td>
2168
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 209</span>
2169
+
2170
+ <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>
2171
+ </td>
2172
+ </tr>
2173
+ </table>
2174
+ </div>
2175
+
2176
+ <div class="method_details ">
2177
+ <h3 class="signature " id="clearItems-instance_method">
2178
+
2179
+ #<strong>clearItems</strong>(notify = false) &#x21d2; <tt>Object</tt>
2180
+
2181
+
2182
+
2183
+
2184
+
2185
+ </h3><div class="docstring">
2186
+ <div class="discussion">
2187
+
2188
+ <p>Remove all items from the list If <em>notify</em> is <code>true</code>, a <code>SEL_DELETED</code> message is sent to the list&#39;s message target before each item is removed.</p>
2189
+
2190
+
2191
+ </div>
2192
+ </div>
2193
+ <div class="tags">
2194
+
2195
+
2196
+ </div><table class="source_code">
2197
+ <tr>
2198
+ <td>
2199
+ <pre class="lines">
2200
+
2201
+
2202
+ 269</pre>
2203
+ </td>
2204
+ <td>
2205
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 269</span>
2206
+
2207
+ <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>
2208
+ </td>
2209
+ </tr>
2210
+ </table>
2211
+ </div>
2212
+
2213
+ <div class="method_details ">
2214
+ <h3 class="signature " id="deselectItem-instance_method">
2215
+
2216
+ #<strong>deselectItem</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
2217
+
2218
+
2219
+
2220
+
2221
+
2222
+ </h3><div class="docstring">
2223
+ <div class="discussion">
2224
+
2225
+ <p>Deselect item. If <em>notify</em> is <code>true</code>, a <code>SEL_DESELECTED</code> message is sent to the list&#39;s message target after the item is deselected. Raises IndexError if <em>index</em> is out of bounds.</p>
2226
+
2227
+
2228
+ </div>
2229
+ </div>
2230
+ <div class="tags">
2231
+
2232
+
2233
+ </div><table class="source_code">
2234
+ <tr>
2235
+ <td>
2236
+ <pre class="lines">
2237
+
2238
+
2239
+ 417</pre>
2240
+ </td>
2241
+ <td>
2242
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 417</span>
2243
+
2244
+ <span class='kw'>def</span> <span class='id identifier rubyid_deselectItem'>deselectItem</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>
2245
+ </td>
2246
+ </tr>
2247
+ </table>
2248
+ </div>
2249
+
2250
+ <div class="method_details ">
2251
+ <h3 class="signature " id="disableItem-instance_method">
2252
+
2253
+ #<strong>disableItem</strong>(index) &#x21d2; <tt>Object</tt>
2254
+
2255
+
2256
+
2257
+
2258
+
2259
+ </h3><div class="docstring">
2260
+ <div class="discussion">
2261
+
2262
+ <p>Disable item. Raises IndexError if <em>index</em> is out of bounds.</p>
2263
+
2264
+
2265
+ </div>
2266
+ </div>
2267
+ <div class="tags">
2268
+
2269
+
2270
+ </div><table class="source_code">
2271
+ <tr>
2272
+ <td>
2273
+ <pre class="lines">
2274
+
2275
+
2276
+ 405</pre>
2277
+ </td>
2278
+ <td>
2279
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 405</span>
2280
+
2281
+ <span class='kw'>def</span> <span class='id identifier rubyid_disableItem'>disableItem</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>
2282
+ </td>
2283
+ </tr>
2284
+ </table>
2285
+ </div>
2286
+
2287
+ <div class="method_details ">
2288
+ <h3 class="signature " id="each-instance_method">
2289
+
2290
+ #<strong>each</strong> &#x21d2; <tt>Object</tt>
2291
+
2292
+
2293
+
2294
+
2295
+
2296
+ </h3><div class="docstring">
2297
+ <div class="discussion">
2298
+
2299
+ <p>Calls block once for each item in the list, passing a reference to that item as a parameter.</p>
2300
+
2301
+
2302
+ </div>
2303
+ </div>
2304
+ <div class="tags">
2305
+
2306
+
2307
+ </div><table class="source_code">
2308
+ <tr>
2309
+ <td>
2310
+ <pre class="lines">
2311
+
2312
+
2313
+ 118
2314
+ 119
2315
+ 120
2316
+ 121
2317
+ 122
2318
+ 123</pre>
2319
+ </td>
2320
+ <td>
2321
+ <pre class="code"><span class="info file"># File 'lib/fox16/iterators.rb', line 118</span>
2322
+
2323
+ <span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span> <span class='comment'># :yields: aListItem
2324
+ </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>
2325
+ <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>
2326
+ <span class='kw'>end</span>
2327
+ <span class='kw'>self</span>
2328
+ <span class='kw'>end</span></pre>
2329
+ </td>
2330
+ </tr>
2331
+ </table>
2332
+ </div>
2333
+
2334
+ <div class="method_details ">
2335
+ <h3 class="signature " id="enableItem-instance_method">
2336
+
2337
+ #<strong>enableItem</strong>(index) &#x21d2; <tt>Object</tt>
2338
+
2339
+
2340
+
2341
+
2342
+
2343
+ </h3><div class="docstring">
2344
+ <div class="discussion">
2345
+
2346
+ <p>Enable item. Raises IndexError if <em>index</em> is out of bounds.</p>
2347
+
2348
+
2349
+ </div>
2350
+ </div>
2351
+ <div class="tags">
2352
+
2353
+
2354
+ </div><table class="source_code">
2355
+ <tr>
2356
+ <td>
2357
+ <pre class="lines">
2358
+
2359
+
2360
+ 400</pre>
2361
+ </td>
2362
+ <td>
2363
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 400</span>
2364
+
2365
+ <span class='kw'>def</span> <span class='id identifier rubyid_enableItem'>enableItem</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>
2366
+ </td>
2367
+ </tr>
2368
+ </table>
2369
+ </div>
2370
+
2371
+ <div class="method_details ">
2372
+ <h3 class="signature " id="extendSelection-instance_method">
2373
+
2374
+ #<strong>extendSelection</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
2375
+
2376
+
2377
+
2378
+
2379
+
2380
+ </h3><div class="docstring">
2381
+ <div class="discussion">
2382
+
2383
+ <p>Extend selection from anchor item to <em>index</em>. If <em>notify</em> is <code>true</code>, a series of <code>SEL_SELECTED</code> and <code>SEL_DESELECTED</code> messages are sent to the list&#39;s message target as the selected-state of different items changes. Raises IndexError if <em>index</em> is out of bounds.</p>
2384
+
2385
+
2386
+ </div>
2387
+ </div>
2388
+ <div class="tags">
2389
+
2390
+
2391
+ </div><table class="source_code">
2392
+ <tr>
2393
+ <td>
2394
+ <pre class="lines">
2395
+
2396
+
2397
+ 435</pre>
2398
+ </td>
2399
+ <td>
2400
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 435</span>
2401
+
2402
+ <span class='kw'>def</span> <span class='id identifier rubyid_extendSelection'>extendSelection</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>
2403
+ </td>
2404
+ </tr>
2405
+ </table>
2406
+ </div>
2407
+
2408
+ <div class="method_details ">
2409
+ <h3 class="signature " id="extractItem-instance_method">
2410
+
2411
+ #<strong>extractItem</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
2412
+
2413
+
2414
+
2415
+
2416
+
2417
+ </h3><div class="docstring">
2418
+ <div class="discussion">
2419
+
2420
+ <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 list&#39;s message target before the item is extracted from the list. Raises IndexError if <em>index</em> is out of bounds.</p>
2421
+
2422
+
2423
+ </div>
2424
+ </div>
2425
+ <div class="tags">
2426
+
2427
+
2428
+ </div><table class="source_code">
2429
+ <tr>
2430
+ <td>
2431
+ <pre class="lines">
2432
+
2433
+
2434
+ 258</pre>
2435
+ </td>
2436
+ <td>
2437
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 258</span>
2438
+
2439
+ <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>
2440
+ </td>
2441
+ </tr>
2442
+ </table>
2443
+ </div>
2444
+
2445
+ <div class="method_details ">
2446
+ <h3 class="signature " id="fillItems-instance_method">
2447
+
2448
+ #<strong>fillItems</strong>(strings, icon = nil, ptr = nil, notify = false) &#x21d2; <tt>Object</tt>
2449
+
2450
+
2451
+
2452
+
2453
+
2454
+ </h3><div class="docstring">
2455
+ <div class="discussion">
2456
+
2457
+ <p>Fill list by appending items from array of strings, and return the number items added. If <em>notify</em> is <code>true</code>, a <code>SEL_INSERTED</code> message is sent to the list&#39;s message target after the item is added.</p>
2458
+
2459
+
2460
+ </div>
2461
+ </div>
2462
+ <div class="tags">
2463
+
2464
+
2465
+ </div><table class="source_code">
2466
+ <tr>
2467
+ <td>
2468
+ <pre class="lines">
2469
+
2470
+
2471
+ 180</pre>
2472
+ </td>
2473
+ <td>
2474
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 180</span>
2475
+
2476
+ <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_ptr'>ptr</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>
2477
+ </td>
2478
+ </tr>
2479
+ </table>
2480
+ </div>
2481
+
2482
+ <div class="method_details ">
2483
+ <h3 class="signature " id="findItem-instance_method">
2484
+
2485
+ #<strong>findItem</strong>(text, start = -1,, flags = SEARCH_FORWARD|SEARCH_WRAP) &#x21d2; <tt>Object</tt>
2486
+
2487
+
2488
+
2489
+
2490
+
2491
+ </h3><div class="docstring">
2492
+ <div class="discussion">
2493
+
2494
+ <p>Search items by <em>text</em>, beginning from item <em>start</em>. If the start item is -1 the search will start at the first item in the list. Flags may be <code>SEARCH_FORWARD</code> or <code>SEARCH_BACKWARD</code> to control the search direction; this can be combined with <code>SEARCH_NOWRAP</code> or <code>SEARCH_WRAP</code> to control whether the search wraps at the start or end of the list. The option <code>SEARCH_IGNORECASE</code> causes a case-insensitive match. Finally, passing <code>SEARCH_PREFIX</code> causes searching for a prefix of the item name. Return -1 if no matching item is found.</p>
2495
+
2496
+
2497
+ </div>
2498
+ </div>
2499
+ <div class="tags">
2500
+
2501
+
2502
+ </div><table class="source_code">
2503
+ <tr>
2504
+ <td>
2505
+ <pre class="lines">
2506
+
2507
+
2508
+ 293</pre>
2509
+ </td>
2510
+ <td>
2511
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 293</span>
2512
+
2513
+ <span class='kw'>def</span> <span class='id identifier rubyid_findItem'>findItem</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='comma'>,</span> <span class='id identifier rubyid_start'>start</span><span class='op'>=</span><span class='op'>-</span><span class='int'>1</span><span class='comma'>,</span> <span class='id identifier rubyid_flags'>flags</span><span class='op'>=</span><span class='const'>SEARCH_FORWARD</span><span class='op'>|</span><span class='const'>SEARCH_WRAP</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2514
+ </td>
2515
+ </tr>
2516
+ </table>
2517
+ </div>
2518
+
2519
+ <div class="method_details ">
2520
+ <h3 class="signature " id="findItemByData-instance_method">
2521
+
2522
+ #<strong>findItemByData</strong>(data, start = -1,, flags = SEARCH_FORWARD|SEARCH_WRAP) &#x21d2; <tt>Object</tt>
2523
+
2524
+
2525
+
2526
+
2527
+
2528
+ </h3><div class="docstring">
2529
+ <div class="discussion">
2530
+
2531
+ <p>Search items by associated user <em>data</em>, beginning from item <em>start</em>. Returns the integer index of the matching item, or -1 if no match is found. If the start item is -1 the search will start at the first item in the list. Flags may be <code>SEARCH_FORWARD</code> or <code>SEARCH_BACKWARD</code> to control the search direction; this can be combined with <code>SEARCH_NOWRAP</code> or <code>SEARCH_WRAP</code> to control whether the search wraps at the start or end of the list.</p>
2532
+
2533
+
2534
+ </div>
2535
+ </div>
2536
+ <div class="tags">
2537
+
2538
+
2539
+ </div><table class="source_code">
2540
+ <tr>
2541
+ <td>
2542
+ <pre class="lines">
2543
+
2544
+
2545
+ 303</pre>
2546
+ </td>
2547
+ <td>
2548
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 303</span>
2549
+
2550
+ <span class='kw'>def</span> <span class='id identifier rubyid_findItemByData'>findItemByData</span><span class='lparen'>(</span><span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_start'>start</span><span class='op'>=</span><span class='op'>-</span><span class='int'>1</span><span class='comma'>,</span> <span class='id identifier rubyid_flags'>flags</span><span class='op'>=</span><span class='const'>SEARCH_FORWARD</span><span class='op'>|</span><span class='const'>SEARCH_WRAP</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2551
+ </td>
2552
+ </tr>
2553
+ </table>
2554
+ </div>
2555
+
2556
+ <div class="method_details ">
2557
+ <h3 class="signature " id="first-instance_method">
2558
+
2559
+ #<strong>first</strong> &#x21d2; <tt>Object</tt>
2560
+
2561
+
2562
+
2563
+
2564
+
2565
+ </h3><div class="docstring">
2566
+ <div class="discussion">
2567
+
2568
+ <p>Override Enumerable#first with FXWindow#first for backwards compatibility.</p>
2569
+
2570
+
2571
+ </div>
2572
+ </div>
2573
+ <div class="tags">
2574
+
2575
+
2576
+ </div><table class="source_code">
2577
+ <tr>
2578
+ <td>
2579
+ <pre class="lines">
2580
+
2581
+
2582
+ 110
2583
+ 111
2584
+ 112</pre>
2585
+ </td>
2586
+ <td>
2587
+ <pre class="code"><span class="info file"># File 'lib/fox16/iterators.rb', line 110</span>
2588
+
2589
+ <span class='kw'>def</span> <span class='id identifier rubyid_first'>first</span>
2590
+ <span class='id identifier rubyid_getFirst'>getFirst</span>
2591
+ <span class='kw'>end</span></pre>
2592
+ </td>
2593
+ </tr>
2594
+ </table>
2595
+ </div>
2596
+
2597
+ <div class="method_details ">
2598
+ <h3 class="signature " id="getItem-instance_method">
2599
+
2600
+ #<strong>getItem</strong>(index) &#x21d2; <tt>Object</tt>
2601
+
2602
+
2603
+
2604
+
2605
+
2606
+ </h3><div class="docstring">
2607
+ <div class="discussion">
2608
+
2609
+ <p>Return the item at the given <em>index</em>; returns a reference to an FXListItem instance. Raises IndexError if <em>index</em> is out of bounds.</p>
2610
+
2611
+
2612
+ </div>
2613
+ </div>
2614
+ <div class="tags">
2615
+
2616
+
2617
+ </div><table class="source_code">
2618
+ <tr>
2619
+ <td>
2620
+ <pre class="lines">
2621
+
2622
+
2623
+ 152</pre>
2624
+ </td>
2625
+ <td>
2626
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 152</span>
2627
+
2628
+ <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>
2629
+ </td>
2630
+ </tr>
2631
+ </table>
2632
+ </div>
2633
+
2634
+ <div class="method_details ">
2635
+ <h3 class="signature " id="getItemAt-instance_method">
2636
+
2637
+ #<strong>getItemAt</strong>(x, y) &#x21d2; <tt>Object</tt>
2638
+
2639
+
2640
+
2641
+
2642
+
2643
+ </h3><div class="docstring">
2644
+ <div class="discussion">
2645
+
2646
+ <p>Return index of item at (<em>x</em>, <em>y</em>), if any</p>
2647
+
2648
+
2649
+ </div>
2650
+ </div>
2651
+ <div class="tags">
2652
+
2653
+
2654
+ </div><table class="source_code">
2655
+ <tr>
2656
+ <td>
2657
+ <pre class="lines">
2658
+
2659
+
2660
+ 278</pre>
2661
+ </td>
2662
+ <td>
2663
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 278</span>
2664
+
2665
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemAt'>getItemAt</span><span class='lparen'>(</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2666
+ </td>
2667
+ </tr>
2668
+ </table>
2669
+ </div>
2670
+
2671
+ <div class="method_details ">
2672
+ <h3 class="signature " id="getItemData-instance_method">
2673
+
2674
+ #<strong>getItemData</strong>(index) &#x21d2; <tt>Object</tt>
2675
+
2676
+
2677
+
2678
+
2679
+
2680
+ </h3><div class="docstring">
2681
+ <div class="discussion">
2682
+
2683
+ <p>Return item user data; this is equivalent to:</p>
2684
+
2685
+ <pre class="code ruby"><code class="ruby"><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='period'>.</span><span class='id identifier rubyid_data'>data</span>
2686
+ </code></pre>
2687
+
2688
+ <p>Raises IndexError if <em>index</em> is out of bounds.</p>
2689
+
2690
+
2691
+ </div>
2692
+ </div>
2693
+ <div class="tags">
2694
+
2695
+
2696
+ </div><table class="source_code">
2697
+ <tr>
2698
+ <td>
2699
+ <pre class="lines">
2700
+
2701
+
2702
+ 368</pre>
2703
+ </td>
2704
+ <td>
2705
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 368</span>
2706
+
2707
+ <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>
2708
+ </td>
2709
+ </tr>
2710
+ </table>
2711
+ </div>
2712
+
2713
+ <div class="method_details ">
2714
+ <h3 class="signature " id="getItemHeight-instance_method">
2715
+
2716
+ #<strong>getItemHeight</strong>(index) &#x21d2; <tt>Object</tt>
2717
+
2718
+
2719
+
2720
+
2721
+
2722
+ </h3><div class="docstring">
2723
+ <div class="discussion">
2724
+
2725
+ <p>Return height of item at <em>index</em>. Raises IndexError if <em>index</em> is out of bounds.</p>
2726
+
2727
+
2728
+ </div>
2729
+ </div>
2730
+ <div class="tags">
2731
+
2732
+
2733
+ </div><table class="source_code">
2734
+ <tr>
2735
+ <td>
2736
+ <pre class="lines">
2737
+
2738
+
2739
+ 275</pre>
2740
+ </td>
2741
+ <td>
2742
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 275</span>
2743
+
2744
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemHeight'>getItemHeight</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>
2745
+ </td>
2746
+ </tr>
2747
+ </table>
2748
+ </div>
2749
+
2750
+ <div class="method_details ">
2751
+ <h3 class="signature " id="getItemIcon-instance_method">
2752
+
2753
+ #<strong>getItemIcon</strong>(index) &#x21d2; <tt>Object</tt>
2754
+
2755
+
2756
+
2757
+
2758
+
2759
+ </h3><div class="docstring">
2760
+ <div class="discussion">
2761
+
2762
+ <p>Return item icon, if any. This is equivalent to:</p>
2763
+
2764
+ <pre class="code ruby"><code class="ruby"><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='period'>.</span><span class='id identifier rubyid_icon'>icon</span>
2765
+ </code></pre>
2766
+
2767
+ <p>Raises IndexError if <em>index</em> is out of bounds.</p>
2768
+
2769
+
2770
+ </div>
2771
+ </div>
2772
+ <div class="tags">
2773
+
2774
+
2775
+ </div><table class="source_code">
2776
+ <tr>
2777
+ <td>
2778
+ <pre class="lines">
2779
+
2780
+
2781
+ 350</pre>
2782
+ </td>
2783
+ <td>
2784
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 350</span>
2785
+
2786
+ <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>
2787
+ </td>
2788
+ </tr>
2789
+ </table>
2790
+ </div>
2791
+
2792
+ <div class="method_details ">
2793
+ <h3 class="signature " id="getItemText-instance_method">
2794
+
2795
+ #<strong>getItemText</strong>(index) &#x21d2; <tt>Object</tt>
2796
+
2797
+
2798
+
2799
+
2800
+
2801
+ </h3><div class="docstring">
2802
+ <div class="discussion">
2803
+
2804
+ <p>Return item text; this is equivalent to:</p>
2805
+
2806
+ <pre class="code ruby"><code class="ruby"><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='period'>.</span><span class='id identifier rubyid_text'>text</span>
2807
+ </code></pre>
2808
+
2809
+ <p>Raises IndexError if <em>index</em> is out of bounds.</p>
2810
+
2811
+
2812
+ </div>
2813
+ </div>
2814
+ <div class="tags">
2815
+
2816
+
2817
+ </div><table class="source_code">
2818
+ <tr>
2819
+ <td>
2820
+ <pre class="lines">
2821
+
2822
+
2823
+ 331</pre>
2824
+ </td>
2825
+ <td>
2826
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 331</span>
2827
+
2828
+ <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>
2829
+ </td>
2830
+ </tr>
2831
+ </table>
2832
+ </div>
2833
+
2834
+ <div class="method_details ">
2835
+ <h3 class="signature " id="getItemWidth-instance_method">
2836
+
2837
+ #<strong>getItemWidth</strong>(index) &#x21d2; <tt>Object</tt>
2838
+
2839
+
2840
+
2841
+
2842
+
2843
+ </h3><div class="docstring">
2844
+ <div class="discussion">
2845
+
2846
+ <p>Return width of item at <em>index</em>. Raises IndexError if <em>index</em> is out of bounds.</p>
2847
+
2848
+
2849
+ </div>
2850
+ </div>
2851
+ <div class="tags">
2852
+
2853
+
2854
+ </div><table class="source_code">
2855
+ <tr>
2856
+ <td>
2857
+ <pre class="lines">
2858
+
2859
+
2860
+ 272</pre>
2861
+ </td>
2862
+ <td>
2863
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 272</span>
2864
+
2865
+ <span class='kw'>def</span> <span class='id identifier rubyid_getItemWidth'>getItemWidth</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>
2866
+ </td>
2867
+ </tr>
2868
+ </table>
2869
+ </div>
2870
+
2871
+ <div class="method_details ">
2872
+ <h3 class="signature " id="hitItem-instance_method">
2873
+
2874
+ #<strong>hitItem</strong>(index, x, y) &#x21d2; <tt>Object</tt>
2875
+
2876
+
2877
+
2878
+
2879
+
2880
+ </h3><div class="docstring">
2881
+ <div class="discussion">
2882
+
2883
+ <p>Return item hit code: 0 no hit; 1 hit the icon; 2 hit the text</p>
2884
+
2885
+
2886
+ </div>
2887
+ </div>
2888
+ <div class="tags">
2889
+
2890
+
2891
+ </div><table class="source_code">
2892
+ <tr>
2893
+ <td>
2894
+ <pre class="lines">
2895
+
2896
+
2897
+ 281</pre>
2898
+ </td>
2899
+ <td>
2900
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 281</span>
2901
+
2902
+ <span class='kw'>def</span> <span class='id identifier rubyid_hitItem'>hitItem</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
2903
+ </td>
2904
+ </tr>
2905
+ </table>
2906
+ </div>
2907
+
2908
+ <div class="method_details ">
2909
+ <h3 class="signature " id="insertItem-instance_method">
2910
+
2911
+ #<strong>insertItem</strong>(index, text, icon = nil, data = nil, notify = false) &#x21d2; <tt>Object</tt>
2912
+
2913
+
2914
+
2915
+
2916
+
2917
+ </h3><div class="docstring">
2918
+ <div class="discussion">
2919
+
2920
+ <p>Insert item at <em>index</em> with given <em>text</em>, <em>icon</em>, and user <em>data</em>, e.g.</p>
2921
+
2922
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_list'>list</span><span class='period'>.</span><span class='id identifier rubyid_insertItem'>insertItem</span><span class='lparen'>(</span><span class='int'>1</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>blinky</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
2923
+ </code></pre>
2924
+
2925
+ <p>If <em>notify</em> is <code>true</code>, a <code>SEL_INSERTED</code> message is sent to the list&#39;s message target after the item is inserted. Raises IndexError if <em>index</em> is out of bounds. Returns the integer index of the inserted item.</p>
2926
+
2927
+
2928
+ </div>
2929
+ </div>
2930
+ <div class="tags">
2931
+
2932
+
2933
+ </div><table class="source_code">
2934
+ <tr>
2935
+ <td>
2936
+ <pre class="lines">
2937
+
2938
+
2939
+ 190</pre>
2940
+ </td>
2941
+ <td>
2942
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 190</span>
2943
+
2944
+ <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>
2945
+ </td>
2946
+ </tr>
2947
+ </table>
2948
+ </div>
2949
+
2950
+ <div class="method_details ">
2951
+ <h3 class="signature " id="itemCurrent?-instance_method">
2952
+
2953
+ #<strong>itemCurrent?</strong>(index) &#x21d2; <tt>Boolean</tt>
2954
+
2955
+
2956
+
2957
+
2958
+
2959
+ </h3><div class="docstring">
2960
+ <div class="discussion">
2961
+
2962
+ <p>Return <code>true</code> if item is current. Raises IndexError if <em>index</em> is out of bounds.</p>
2963
+
2964
+
2965
+ </div>
2966
+ </div>
2967
+ <div class="tags">
2968
+
2969
+ <p class="tag_title">Returns:</p>
2970
+ <ul class="return">
2971
+
2972
+ <li>
2973
+
2974
+
2975
+ <span class='type'>(<tt>Boolean</tt>)</span>
2976
+
2977
+
2978
+
2979
+ </li>
2980
+
2981
+ </ul>
2982
+
2983
+ </div><table class="source_code">
2984
+ <tr>
2985
+ <td>
2986
+ <pre class="lines">
2987
+
2988
+
2989
+ 380</pre>
2990
+ </td>
2991
+ <td>
2992
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 380</span>
2993
+
2994
+ <span class='kw'>def</span> <span class='id identifier rubyid_itemCurrent?'>itemCurrent?</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>
2995
+ </td>
2996
+ </tr>
2997
+ </table>
2998
+ </div>
2999
+
3000
+ <div class="method_details ">
3001
+ <h3 class="signature " id="itemEnabled?-instance_method">
3002
+
3003
+ #<strong>itemEnabled?</strong>(index) &#x21d2; <tt>Boolean</tt>
3004
+
3005
+
3006
+
3007
+
3008
+
3009
+ </h3><div class="docstring">
3010
+ <div class="discussion">
3011
+
3012
+ <p>Return <code>true</code> if item is enabled; this is equivalent to:</p>
3013
+
3014
+ <pre class="code ruby"><code class="ruby"><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='period'>.</span><span class='id identifier rubyid_enabled?'>enabled?</span>
3015
+ </code></pre>
3016
+
3017
+ <p>Raises IndexError if <em>index</em> is out of bounds.</p>
3018
+
3019
+
3020
+ </div>
3021
+ </div>
3022
+ <div class="tags">
3023
+
3024
+ <p class="tag_title">Returns:</p>
3025
+ <ul class="return">
3026
+
3027
+ <li>
3028
+
3029
+
3030
+ <span class='type'>(<tt>Boolean</tt>)</span>
3031
+
3032
+
3033
+
3034
+ </li>
3035
+
3036
+ </ul>
3037
+
3038
+ </div><table class="source_code">
3039
+ <tr>
3040
+ <td>
3041
+ <pre class="lines">
3042
+
3043
+
3044
+ 392</pre>
3045
+ </td>
3046
+ <td>
3047
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 392</span>
3048
+
3049
+ <span class='kw'>def</span> <span class='id identifier rubyid_itemEnabled?'>itemEnabled?</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>
3050
+ </td>
3051
+ </tr>
3052
+ </table>
3053
+ </div>
3054
+
3055
+ <div class="method_details ">
3056
+ <h3 class="signature " id="itemSelected?-instance_method">
3057
+
3058
+ #<strong>itemSelected?</strong>(index) &#x21d2; <tt>Boolean</tt>
3059
+
3060
+
3061
+
3062
+
3063
+
3064
+ </h3><div class="docstring">
3065
+ <div class="discussion">
3066
+
3067
+ <p>Return <code>true</code> if item is selected; this is equivalent to:</p>
3068
+
3069
+ <pre class="code ruby"><code class="ruby"><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='period'>.</span><span class='id identifier rubyid_selected?'>selected?</span>
3070
+ </code></pre>
3071
+
3072
+ <p>Raises IndexError if <em>index</em> is out of bounds.</p>
3073
+
3074
+
3075
+ </div>
3076
+ </div>
3077
+ <div class="tags">
3078
+
3079
+ <p class="tag_title">Returns:</p>
3080
+ <ul class="return">
3081
+
3082
+ <li>
3083
+
3084
+
3085
+ <span class='type'>(<tt>Boolean</tt>)</span>
3086
+
3087
+
3088
+
3089
+ </li>
3090
+
3091
+ </ul>
3092
+
3093
+ </div><table class="source_code">
3094
+ <tr>
3095
+ <td>
3096
+ <pre class="lines">
3097
+
3098
+
3099
+ 377</pre>
3100
+ </td>
3101
+ <td>
3102
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 377</span>
3103
+
3104
+ <span class='kw'>def</span> <span class='id identifier rubyid_itemSelected?'>itemSelected?</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>
3105
+ </td>
3106
+ </tr>
3107
+ </table>
3108
+ </div>
3109
+
3110
+ <div class="method_details ">
3111
+ <h3 class="signature " id="itemVisible?-instance_method">
3112
+
3113
+ #<strong>itemVisible?</strong>(index) &#x21d2; <tt>Boolean</tt>
3114
+
3115
+
3116
+
3117
+
3118
+
3119
+ </h3><div class="docstring">
3120
+ <div class="discussion">
3121
+
3122
+ <p>Return <code>true</code> if item is visible. Raises IndexError if <em>index</em> is out of bounds.</p>
3123
+
3124
+
3125
+ </div>
3126
+ </div>
3127
+ <div class="tags">
3128
+
3129
+ <p class="tag_title">Returns:</p>
3130
+ <ul class="return">
3131
+
3132
+ <li>
3133
+
3134
+
3135
+ <span class='type'>(<tt>Boolean</tt>)</span>
3136
+
3137
+
3138
+
3139
+ </li>
3140
+
3141
+ </ul>
3142
+
3143
+ </div><table class="source_code">
3144
+ <tr>
3145
+ <td>
3146
+ <pre class="lines">
3147
+
3148
+
3149
+ 383</pre>
3150
+ </td>
3151
+ <td>
3152
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 383</span>
3153
+
3154
+ <span class='kw'>def</span> <span class='id identifier rubyid_itemVisible?'>itemVisible?</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>
3155
+ </td>
3156
+ </tr>
3157
+ </table>
3158
+ </div>
3159
+
3160
+ <div class="method_details ">
3161
+ <h3 class="signature " id="killSelection-instance_method">
3162
+
3163
+ #<strong>killSelection</strong>(notify = false) &#x21d2; <tt>Object</tt>
3164
+
3165
+
3166
+
3167
+
3168
+
3169
+ </h3><div class="docstring">
3170
+ <div class="discussion">
3171
+
3172
+ <p>Deselect all items. If <em>notify</em> is <code>true</code>, a <code>SEL_DESELECTED</code> message is sent to the list&#39;s message target for all the items that were selected before killSelection was called.</p>
3173
+
3174
+
3175
+ </div>
3176
+ </div>
3177
+ <div class="tags">
3178
+
3179
+
3180
+ </div><table class="source_code">
3181
+ <tr>
3182
+ <td>
3183
+ <pre class="lines">
3184
+
3185
+
3186
+ 440</pre>
3187
+ </td>
3188
+ <td>
3189
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 440</span>
3190
+
3191
+ <span class='kw'>def</span> <span class='id identifier rubyid_killSelection'>killSelection</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>
3192
+ </td>
3193
+ </tr>
3194
+ </table>
3195
+ </div>
3196
+
3197
+ <div class="method_details ">
3198
+ <h3 class="signature " id="makeItemVisible-instance_method">
3199
+
3200
+ #<strong>makeItemVisible</strong>(itemOrIndex) &#x21d2; <tt>Object</tt>
3201
+
3202
+
3203
+
3204
+
3205
+
3206
+ </h3><div class="docstring">
3207
+ <div class="discussion">
3208
+
3209
+ <p>Scroll to bring item into view. The argument is either a reference to an FXListItem instance, or the integer index of an item in the list. For the latter case, <span class='object_link'><a href="#makeItemVisible-instance_method" title="Fox::FXList#makeItemVisible (method)">#makeItemVisible</a></span> raises IndexError if the index is out of bounds.</p>
3210
+
3211
+
3212
+ </div>
3213
+ </div>
3214
+ <div class="tags">
3215
+
3216
+
3217
+ </div><table class="source_code">
3218
+ <tr>
3219
+ <td>
3220
+ <pre class="lines">
3221
+
3222
+
3223
+ 311</pre>
3224
+ </td>
3225
+ <td>
3226
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 311</span>
3227
+
3228
+ <span class='kw'>def</span> <span class='id identifier rubyid_makeItemVisible'>makeItemVisible</span><span class='lparen'>(</span><span class='id identifier rubyid_itemOrIndex'>itemOrIndex</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3229
+ </td>
3230
+ </tr>
3231
+ </table>
3232
+ </div>
3233
+
3234
+ <div class="method_details ">
3235
+ <h3 class="signature " id="moveItem-instance_method">
3236
+
3237
+ #<strong>moveItem</strong>(newIndex, oldIndex, notify = false) &#x21d2; <tt>Object</tt>
3238
+
3239
+
3240
+
3241
+
3242
+
3243
+ </h3><div class="docstring">
3244
+ <div class="discussion">
3245
+
3246
+ <p>Move item from <em>oldIndex</em> to <em>newIndex</em> and return the new index of the item.. If <em>notify</em> is <code>true</code> and this move causes the current item to change, a <code>SEL_CHANGED</code> message is sent to the list&#39;s message target to indicate this change in the current item. Raises IndexError if either <em>oldIndex</em> or <em>newIndex</em> is out of bounds.</p>
3247
+
3248
+
3249
+ </div>
3250
+ </div>
3251
+ <div class="tags">
3252
+
3253
+
3254
+ </div><table class="source_code">
3255
+ <tr>
3256
+ <td>
3257
+ <pre class="lines">
3258
+
3259
+
3260
+ 250</pre>
3261
+ </td>
3262
+ <td>
3263
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 250</span>
3264
+
3265
+ <span class='kw'>def</span> <span class='id identifier rubyid_moveItem'>moveItem</span><span class='lparen'>(</span><span class='id identifier rubyid_newIndex'>newIndex</span><span class='comma'>,</span> <span class='id identifier rubyid_oldIndex'>oldIndex</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>
3266
+ </td>
3267
+ </tr>
3268
+ </table>
3269
+ </div>
3270
+
3271
+ <div class="method_details ">
3272
+ <h3 class="signature " id="prependItem-instance_method">
3273
+
3274
+ #<strong>prependItem</strong>(text, icon = nil, data = nil, notify = false) &#x21d2; <tt>Object</tt>
3275
+
3276
+
3277
+
3278
+
3279
+
3280
+ </h3><div class="docstring">
3281
+ <div class="discussion">
3282
+
3283
+ <p>Prepend a new item with given <em>text</em> and optional <em>icon</em> and user <em>data</em>, e.g.</p>
3284
+
3285
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_list'>list</span><span class='period'>.</span><span class='id identifier rubyid_prependItem'>prependItem</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>clyde</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
3286
+ </code></pre>
3287
+
3288
+ <p>If <em>notify</em> is <code>true</code>, a <code>SEL_INSERTED</code> message is sent to the list&#39;s message target after the item is prepended. Returns the integer index of the newly prepended item (which should always be zero, by definition).</p>
3289
+
3290
+
3291
+ </div>
3292
+ </div>
3293
+ <div class="tags">
3294
+
3295
+
3296
+ </div><table class="source_code">
3297
+ <tr>
3298
+ <td>
3299
+ <pre class="lines">
3300
+
3301
+
3302
+ 230</pre>
3303
+ </td>
3304
+ <td>
3305
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 230</span>
3306
+
3307
+ <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>
3308
+ </td>
3309
+ </tr>
3310
+ </table>
3311
+ </div>
3312
+
3313
+ <div class="method_details ">
3314
+ <h3 class="signature " id="removeItem-instance_method">
3315
+
3316
+ #<strong>removeItem</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
3317
+
3318
+
3319
+
3320
+
3321
+
3322
+ </h3><div class="docstring">
3323
+ <div class="discussion">
3324
+
3325
+ <p>Remove item at <em>index</em> from list. If <em>notify</em> is <code>true</code>, a <code>SEL_DELETED</code> message is sent to the list&#39;s message target before the item is removed. Raises IndexError if <em>index</em> is out of bounds.</p>
3326
+
3327
+
3328
+ </div>
3329
+ </div>
3330
+ <div class="tags">
3331
+
3332
+
3333
+ </div><table class="source_code">
3334
+ <tr>
3335
+ <td>
3336
+ <pre class="lines">
3337
+
3338
+
3339
+ 264</pre>
3340
+ </td>
3341
+ <td>
3342
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 264</span>
3343
+
3344
+ <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>
3345
+ </td>
3346
+ </tr>
3347
+ </table>
3348
+ </div>
3349
+
3350
+ <div class="method_details ">
3351
+ <h3 class="signature " id="selectItem-instance_method">
3352
+
3353
+ #<strong>selectItem</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
3354
+
3355
+
3356
+
3357
+
3358
+
3359
+ </h3><div class="docstring">
3360
+ <div class="discussion">
3361
+
3362
+ <p>Select item. If <em>notify</em> is <code>true</code>, a <code>SEL_SELECTED</code> message is sent to the list&#39;s message target after the item is selected. Raises IndexError if <em>index</em> is out of bounds.</p>
3363
+
3364
+
3365
+ </div>
3366
+ </div>
3367
+ <div class="tags">
3368
+
3369
+
3370
+ </div><table class="source_code">
3371
+ <tr>
3372
+ <td>
3373
+ <pre class="lines">
3374
+
3375
+
3376
+ 411</pre>
3377
+ </td>
3378
+ <td>
3379
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 411</span>
3380
+
3381
+ <span class='kw'>def</span> <span class='id identifier rubyid_selectItem'>selectItem</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>
3382
+ </td>
3383
+ </tr>
3384
+ </table>
3385
+ </div>
3386
+
3387
+ <div class="method_details ">
3388
+ <h3 class="signature " id="setCurrentItem-instance_method">
3389
+
3390
+ #<strong>setCurrentItem</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
3391
+
3392
+
3393
+
3394
+
3395
+
3396
+ </h3><div class="docstring">
3397
+ <div class="discussion">
3398
+
3399
+ <p>Change current item. If <em>notify</em> is <code>true</code>, a <code>SEL_CHANGED</code> message is sent to the list&#39;s message target after the current item changes. Raises IndexError if <em>index</em> is out of bounds.</p>
3400
+
3401
+
3402
+ </div>
3403
+ </div>
3404
+ <div class="tags">
3405
+
3406
+
3407
+ </div><table class="source_code">
3408
+ <tr>
3409
+ <td>
3410
+ <pre class="lines">
3411
+
3412
+
3413
+ 429</pre>
3414
+ </td>
3415
+ <td>
3416
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 429</span>
3417
+
3418
+ <span class='kw'>def</span> <span class='id identifier rubyid_setCurrentItem'>setCurrentItem</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>
3419
+ </td>
3420
+ </tr>
3421
+ </table>
3422
+ </div>
3423
+
3424
+ <div class="method_details ">
3425
+ <h3 class="signature " id="setItem-instance_method">
3426
+
3427
+ #<strong>setItem</strong>(index, text, icon = nil, data = nil, notify = false) &#x21d2; <tt>Object</tt>
3428
+
3429
+
3430
+
3431
+
3432
+
3433
+ </h3><div class="docstring">
3434
+ <div class="discussion">
3435
+
3436
+ <p>Replace the <em>text</em>, <em>icon</em>, and user <em>data</em> for the item at <em>index</em>, e.g.</p>
3437
+
3438
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_list'>list</span><span class='period'>.</span><span class='id identifier rubyid_setItem'>setItem</span><span class='lparen'>(</span><span class='int'>0</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>inky</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
3439
+ </code></pre>
3440
+
3441
+ <p>If <em>notify</em> is <code>true</code>, a <code>SEL_REPLACED</code> message is sent to the list&#39;s message target before the item is replaced. Raises IndexError if <em>index</em> is out of bounds. Returns the integer index of the replaced item.</p>
3442
+
3443
+
3444
+ </div>
3445
+ </div>
3446
+ <div class="tags">
3447
+
3448
+
3449
+ </div><table class="source_code">
3450
+ <tr>
3451
+ <td>
3452
+ <pre class="lines">
3453
+
3454
+
3455
+ 162</pre>
3456
+ </td>
3457
+ <td>
3458
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 162</span>
3459
+
3460
+ <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>
3461
+ </td>
3462
+ </tr>
3463
+ </table>
3464
+ </div>
3465
+
3466
+ <div class="method_details ">
3467
+ <h3 class="signature " id="setItemData-instance_method">
3468
+
3469
+ #<strong>setItemData</strong>(index, data) &#x21d2; <tt>Object</tt>
3470
+
3471
+
3472
+
3473
+
3474
+
3475
+ </h3><div class="docstring">
3476
+ <div class="discussion">
3477
+
3478
+ <p>Change item user data; this is equivalent to:</p>
3479
+
3480
+ <pre class="code ruby"><code class="ruby"><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='period'>.</span><span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='id identifier rubyid_data'>data</span>
3481
+ </code></pre>
3482
+
3483
+ <p>Raises IndexError if <em>index</em> is out of bounds.</p>
3484
+
3485
+
3486
+ </div>
3487
+ </div>
3488
+ <div class="tags">
3489
+
3490
+
3491
+ </div><table class="source_code">
3492
+ <tr>
3493
+ <td>
3494
+ <pre class="lines">
3495
+
3496
+
3497
+ 359</pre>
3498
+ </td>
3499
+ <td>
3500
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 359</span>
3501
+
3502
+ <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_data'>data</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3503
+ </td>
3504
+ </tr>
3505
+ </table>
3506
+ </div>
3507
+
3508
+ <div class="method_details ">
3509
+ <h3 class="signature " id="setItemIcon-instance_method">
3510
+
3511
+ #<strong>setItemIcon</strong>(index, icon, owned = false) &#x21d2; <tt>Object</tt>
3512
+
3513
+
3514
+
3515
+
3516
+
3517
+ </h3><div class="docstring">
3518
+ <div class="discussion">
3519
+
3520
+ <p>Change item icon and mark the list&#39;s layout as dirty; this is equivalent to:</p>
3521
+
3522
+ <pre class="code ruby"><code class="ruby"><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='period'>.</span><span class='id identifier rubyid_icon'>icon</span> <span class='op'>=</span> <span class='id identifier rubyid_icon'>icon</span>
3523
+ <span class='id identifier rubyid_recalc'>recalc</span>
3524
+ </code></pre>
3525
+
3526
+ <p>Raises IndexError if <em>index</em> is out of bounds.</p>
3527
+
3528
+
3529
+ </div>
3530
+ </div>
3531
+ <div class="tags">
3532
+
3533
+
3534
+ </div><table class="source_code">
3535
+ <tr>
3536
+ <td>
3537
+ <pre class="lines">
3538
+
3539
+
3540
+ 341</pre>
3541
+ </td>
3542
+ <td>
3543
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 341</span>
3544
+
3545
+ <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='comma'>,</span> <span class='id identifier rubyid_owned'>owned</span><span class='op'>=</span><span class='kw'>false</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3546
+ </td>
3547
+ </tr>
3548
+ </table>
3549
+ </div>
3550
+
3551
+ <div class="method_details ">
3552
+ <h3 class="signature " id="setItemText-instance_method">
3553
+
3554
+ #<strong>setItemText</strong>(index, text) &#x21d2; <tt>Object</tt>
3555
+
3556
+
3557
+
3558
+
3559
+
3560
+ </h3><div class="docstring">
3561
+ <div class="discussion">
3562
+
3563
+ <p>Change item text and mark the list&#39;s layout as dirty; this is equivalent to:</p>
3564
+
3565
+ <pre class="code ruby"><code class="ruby"><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='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='op'>=</span> <span class='id identifier rubyid_text'>text</span>
3566
+ <span class='id identifier rubyid_recalc'>recalc</span>
3567
+ </code></pre>
3568
+
3569
+ <p>Raises IndexError if <em>index</em> is out of bounds.</p>
3570
+
3571
+
3572
+ </div>
3573
+ </div>
3574
+ <div class="tags">
3575
+
3576
+
3577
+ </div><table class="source_code">
3578
+ <tr>
3579
+ <td>
3580
+ <pre class="lines">
3581
+
3582
+
3583
+ 322</pre>
3584
+ </td>
3585
+ <td>
3586
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 322</span>
3587
+
3588
+ <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>
3589
+ </td>
3590
+ </tr>
3591
+ </table>
3592
+ </div>
3593
+
3594
+ <div class="method_details ">
3595
+ <h3 class="signature " id="sortItems-instance_method">
3596
+
3597
+ #<strong>sortItems</strong> &#x21d2; <tt>Object</tt>
3598
+
3599
+
3600
+
3601
+
3602
+
3603
+ </h3><div class="docstring">
3604
+ <div class="discussion">
3605
+
3606
+ <p>Sort items using current sort function</p>
3607
+
3608
+
3609
+ </div>
3610
+ </div>
3611
+ <div class="tags">
3612
+
3613
+
3614
+ </div><table class="source_code">
3615
+ <tr>
3616
+ <td>
3617
+ <pre class="lines">
3618
+
3619
+
3620
+ 443</pre>
3621
+ </td>
3622
+ <td>
3623
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 443</span>
3624
+
3625
+ <span class='kw'>def</span> <span class='id identifier rubyid_sortItems'>sortItems</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
3626
+ </td>
3627
+ </tr>
3628
+ </table>
3629
+ </div>
3630
+
3631
+ <div class="method_details ">
3632
+ <h3 class="signature " id="toggleItem-instance_method">
3633
+
3634
+ #<strong>toggleItem</strong>(index, notify = false) &#x21d2; <tt>Object</tt>
3635
+
3636
+
3637
+
3638
+
3639
+
3640
+ </h3><div class="docstring">
3641
+ <div class="discussion">
3642
+
3643
+ <p>Toggle item selection state. If <em>notify</em> is <code>true</code>, either a <code>SEL_SELECTED</code> or <code>SEL_DESELECTED</code> message is sent to the list&#39;s message target to indicate the item&#39;s new state. Raises IndexError if <em>index</em> is out of bounds.</p>
3644
+
3645
+
3646
+ </div>
3647
+ </div>
3648
+ <div class="tags">
3649
+
3650
+
3651
+ </div><table class="source_code">
3652
+ <tr>
3653
+ <td>
3654
+ <pre class="lines">
3655
+
3656
+
3657
+ 423</pre>
3658
+ </td>
3659
+ <td>
3660
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 423</span>
3661
+
3662
+ <span class='kw'>def</span> <span class='id identifier rubyid_toggleItem'>toggleItem</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>
3663
+ </td>
3664
+ </tr>
3665
+ </table>
3666
+ </div>
3667
+
3668
+ <div class="method_details ">
3669
+ <h3 class="signature " id="updateItem-instance_method">
3670
+
3671
+ #<strong>updateItem</strong>(index) &#x21d2; <tt>Object</tt>
3672
+
3673
+
3674
+
3675
+
3676
+
3677
+ </h3><div class="docstring">
3678
+ <div class="discussion">
3679
+
3680
+ <p>Repaint item. Raises IndexError if <em>index</em> is out of bounds.</p>
3681
+
3682
+
3683
+ </div>
3684
+ </div>
3685
+ <div class="tags">
3686
+
3687
+
3688
+ </div><table class="source_code">
3689
+ <tr>
3690
+ <td>
3691
+ <pre class="lines">
3692
+
3693
+
3694
+ 395</pre>
3695
+ </td>
3696
+ <td>
3697
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXList.rb', line 395</span>
3698
+
3699
+ <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>
3700
+ </td>
3701
+ </tr>
3702
+ </table>
3703
+ </div>
3704
+
3705
+ </div>
3706
+
3707
+ </div>
3708
+
3709
+ <div id="footer">
3710
+ Generated on Fri Nov 27 21:10:36 2020 by
3711
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3712
+ 0.9.24 (ruby-2.7.2).
3713
+ </div>
3714
+
3715
+ </div>
3716
+ </body>
3717
+ </html>