fxruby 1.6.42 → 1.6.43

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