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