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