fxruby 1.6.42-x64-mingw32 → 1.6.43-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/.yardopts +1 -1
- data/Gemfile +1 -2
- data/History.md +11 -0
- data/README.rdoc +4 -4
- data/Rakefile +10 -0
- data/appveyor.yml +4 -0
- 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/ext/fox16_c/extconf.rb +1 -1
- data/fxruby.gemspec +1 -1
- data/lib/fox16/canvas.rb +76 -45
- data/lib/fox16/glgroup.rb +5 -5
- data/lib/fox16/glshapes.rb +111 -99
- data/lib/fox16/version.rb +1 -1
- metadata +293 -2
@@ -0,0 +1,1385 @@
|
|
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::FXGLGroup
|
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::FXGLGroup";
|
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">FXGLGroup</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::FXGLGroup
|
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="FXGLObject.html" title="Fox::FXGLObject (class)">FXGLObject</a></span></span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next"><span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></li>
|
78
|
+
|
79
|
+
<li class="next"><span class='object_link'><a href="FXGLObject.html" title="Fox::FXGLObject (class)">FXGLObject</a></span></li>
|
80
|
+
|
81
|
+
<li class="next">Fox::FXGLGroup</li>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
85
|
+
|
86
|
+
</dd>
|
87
|
+
</dl>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
<dl>
|
95
|
+
<dt>Includes:</dt>
|
96
|
+
<dd>Enumerable, OpenGL</dd>
|
97
|
+
</dl>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
<dl>
|
105
|
+
<dt>Defined in:</dt>
|
106
|
+
<dd>lib/fox16/glgroup.rb</dd>
|
107
|
+
</dl>
|
108
|
+
|
109
|
+
</div>
|
110
|
+
|
111
|
+
<h2>Overview</h2><div class="docstring">
|
112
|
+
<div class="discussion">
|
113
|
+
|
114
|
+
<p>A group of OpenGL objects</p>
|
115
|
+
|
116
|
+
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
<div class="tags">
|
120
|
+
|
121
|
+
|
122
|
+
</div>
|
123
|
+
|
124
|
+
<h2>
|
125
|
+
Constant Summary
|
126
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
127
|
+
</h2>
|
128
|
+
|
129
|
+
<dl class="constants">
|
130
|
+
|
131
|
+
<dt id="FLT_MAX-constant" class="">FLT_MAX =
|
132
|
+
|
133
|
+
</dt>
|
134
|
+
<dd><pre class="code"><span class='float'>1.0e+20</span></pre></dd>
|
135
|
+
|
136
|
+
<dt id="FLT_MIN-constant" class="">FLT_MIN =
|
137
|
+
|
138
|
+
</dt>
|
139
|
+
<dd><pre class="code"><span class='op'>-</span><span class='float'>1.0e+20</span></pre></dd>
|
140
|
+
|
141
|
+
</dl>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
<h2>
|
152
|
+
Instance Method Summary
|
153
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
154
|
+
</h2>
|
155
|
+
|
156
|
+
<ul class="summary">
|
157
|
+
|
158
|
+
<li class="public ">
|
159
|
+
<span class="summary_signature">
|
160
|
+
|
161
|
+
<a href="#[]-instance_method" title="#[] (instance method)">#<strong>[]</strong>(pos) ⇒ Object </a>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
</span>
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<span class="summary_desc"><div class='inline'>
|
176
|
+
<p>Return child at position <em>pos</em>.</p>
|
177
|
+
</div></span>
|
178
|
+
|
179
|
+
</li>
|
180
|
+
|
181
|
+
|
182
|
+
<li class="public ">
|
183
|
+
<span class="summary_signature">
|
184
|
+
|
185
|
+
<a href="#[]=-instance_method" title="#[]= (instance method)">#<strong>[]=</strong>(pos, obj) ⇒ Object </a>
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
</span>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
<span class="summary_desc"><div class='inline'>
|
200
|
+
<p>Set child at position <em>pos</em> to <em>obj</em>.</p>
|
201
|
+
</div></span>
|
202
|
+
|
203
|
+
</li>
|
204
|
+
|
205
|
+
|
206
|
+
<li class="public ">
|
207
|
+
<span class="summary_signature">
|
208
|
+
|
209
|
+
<a href="#append-instance_method" title="#append (instance method)">#<strong>append</strong>(obj) ⇒ Object </a>
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
(also: #<<)
|
214
|
+
|
215
|
+
</span>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
<span class="summary_desc"><div class='inline'>
|
226
|
+
<p>Append child object.</p>
|
227
|
+
</div></span>
|
228
|
+
|
229
|
+
</li>
|
230
|
+
|
231
|
+
|
232
|
+
<li class="public ">
|
233
|
+
<span class="summary_signature">
|
234
|
+
|
235
|
+
<a href="#bounds-instance_method" title="#bounds (instance method)">#<strong>bounds</strong> ⇒ Object </a>
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
</span>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
<span class="summary_desc"><div class='inline'>
|
250
|
+
<p>Return bounding box for this group (an FXRangef instance).</p>
|
251
|
+
</div></span>
|
252
|
+
|
253
|
+
</li>
|
254
|
+
|
255
|
+
|
256
|
+
<li class="public ">
|
257
|
+
<span class="summary_signature">
|
258
|
+
|
259
|
+
<a href="#canDrag-instance_method" title="#canDrag (instance method)">#<strong>canDrag</strong> ⇒ Object </a>
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
</span>
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
<span class="summary_desc"><div class='inline'>
|
274
|
+
<p>Return <code>true</code> if group can be dragged.</p>
|
275
|
+
</div></span>
|
276
|
+
|
277
|
+
</li>
|
278
|
+
|
279
|
+
|
280
|
+
<li class="public ">
|
281
|
+
<span class="summary_signature">
|
282
|
+
|
283
|
+
<a href="#clear-instance_method" title="#clear (instance method)">#<strong>clear</strong> ⇒ Object </a>
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
</span>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
<span class="summary_desc"><div class='inline'>
|
298
|
+
<p>Remove all children from this group.</p>
|
299
|
+
</div></span>
|
300
|
+
|
301
|
+
</li>
|
302
|
+
|
303
|
+
|
304
|
+
<li class="public ">
|
305
|
+
<span class="summary_signature">
|
306
|
+
|
307
|
+
<a href="#drag-instance_method" title="#drag (instance method)">#<strong>drag</strong>(viewer, fx, fy, tx, ty) ⇒ Object </a>
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
</span>
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
<span class="summary_desc"><div class='inline'>
|
322
|
+
<p>Drag group object around in <em>viewer</em> (an FXGLViewer instance), from (<em>fx</em>, <em>fy</em>) to (<em>tx</em>, <em>ty</em>).</p>
|
323
|
+
</div></span>
|
324
|
+
|
325
|
+
</li>
|
326
|
+
|
327
|
+
|
328
|
+
<li class="public ">
|
329
|
+
<span class="summary_signature">
|
330
|
+
|
331
|
+
<a href="#draw-instance_method" title="#draw (instance method)">#<strong>draw</strong>(viewer) ⇒ Object </a>
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
</span>
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
<span class="summary_desc"><div class='inline'>
|
346
|
+
<p>Draw this group into <em>viewer</em> (an FXGLViewer instance).</p>
|
347
|
+
</div></span>
|
348
|
+
|
349
|
+
</li>
|
350
|
+
|
351
|
+
|
352
|
+
<li class="public ">
|
353
|
+
<span class="summary_signature">
|
354
|
+
|
355
|
+
<a href="#each_child-instance_method" title="#each_child (instance method)">#<strong>each_child</strong> ⇒ Object </a>
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
(also: #each)
|
360
|
+
|
361
|
+
</span>
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
<span class="summary_desc"><div class='inline'>
|
372
|
+
<p>Iterate over child objects.</p>
|
373
|
+
</div></span>
|
374
|
+
|
375
|
+
</li>
|
376
|
+
|
377
|
+
|
378
|
+
<li class="public ">
|
379
|
+
<span class="summary_signature">
|
380
|
+
|
381
|
+
<a href="#hit-instance_method" title="#hit (instance method)">#<strong>hit</strong>(viewer) ⇒ Object </a>
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
</span>
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
<span class="summary_desc"><div class='inline'>
|
396
|
+
<p>Perform hit test in <em>viewer</em> (an FXGLViewer instance).</p>
|
397
|
+
</div></span>
|
398
|
+
|
399
|
+
</li>
|
400
|
+
|
401
|
+
|
402
|
+
<li class="public ">
|
403
|
+
<span class="summary_signature">
|
404
|
+
|
405
|
+
<a href="#identify-instance_method" title="#identify (instance method)">#<strong>identify</strong>(path) ⇒ Object </a>
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
</span>
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
<span class="summary_desc"><div class='inline'>
|
420
|
+
<p>Identify object by means of <em>path</em>.</p>
|
421
|
+
</div></span>
|
422
|
+
|
423
|
+
</li>
|
424
|
+
|
425
|
+
|
426
|
+
<li class="public ">
|
427
|
+
<span class="summary_signature">
|
428
|
+
|
429
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ FXGLGroup </a>
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
</span>
|
434
|
+
|
435
|
+
|
436
|
+
<span class="note title constructor">constructor</span>
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
<span class="summary_desc"><div class='inline'>
|
446
|
+
<p>Returns an initialized FXGLGroup instance.</p>
|
447
|
+
</div></span>
|
448
|
+
|
449
|
+
</li>
|
450
|
+
|
451
|
+
|
452
|
+
<li class="public ">
|
453
|
+
<span class="summary_signature">
|
454
|
+
|
455
|
+
<a href="#insert-instance_method" title="#insert (instance method)">#<strong>insert</strong>(pos, obj) ⇒ Object </a>
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
</span>
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
<span class="summary_desc"><div class='inline'>
|
470
|
+
<p>Insert child object (<em>obj</em>) at position <em>pos</em>.</p>
|
471
|
+
</div></span>
|
472
|
+
|
473
|
+
</li>
|
474
|
+
|
475
|
+
|
476
|
+
<li class="public ">
|
477
|
+
<span class="summary_signature">
|
478
|
+
|
479
|
+
<a href="#prepend-instance_method" title="#prepend (instance method)">#<strong>prepend</strong>(obj) ⇒ Object </a>
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
</span>
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
<span class="summary_desc"><div class='inline'>
|
494
|
+
<p>Prepend child object (<em>obj</em>).</p>
|
495
|
+
</div></span>
|
496
|
+
|
497
|
+
</li>
|
498
|
+
|
499
|
+
|
500
|
+
<li class="public ">
|
501
|
+
<span class="summary_signature">
|
502
|
+
|
503
|
+
<a href="#remove-instance_method" title="#remove (instance method)">#<strong>remove</strong>(obj) ⇒ Object </a>
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
(also: #erase)
|
508
|
+
|
509
|
+
</span>
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
<span class="summary_desc"><div class='inline'>
|
520
|
+
<p>If <em>obj</em> is a reference to an FXGLObject in this group, remove the child object from the list.</p>
|
521
|
+
</div></span>
|
522
|
+
|
523
|
+
</li>
|
524
|
+
|
525
|
+
|
526
|
+
<li class="public ">
|
527
|
+
<span class="summary_signature">
|
528
|
+
|
529
|
+
<a href="#replace-instance_method" title="#replace (instance method)">#<strong>replace</strong>(pos, obj) ⇒ Object </a>
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
</span>
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
<span class="summary_desc"><div class='inline'>
|
544
|
+
<p>Replace child object at position <em>pos</em> with <em>obj</em>.</p>
|
545
|
+
</div></span>
|
546
|
+
|
547
|
+
</li>
|
548
|
+
|
549
|
+
|
550
|
+
<li class="public ">
|
551
|
+
<span class="summary_signature">
|
552
|
+
|
553
|
+
<a href="#size-instance_method" title="#size (instance method)">#<strong>size</strong> ⇒ Object </a>
|
554
|
+
|
555
|
+
|
556
|
+
|
557
|
+
</span>
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
<span class="summary_desc"><div class='inline'>
|
568
|
+
<p>Return number of objects in this group.</p>
|
569
|
+
</div></span>
|
570
|
+
|
571
|
+
</li>
|
572
|
+
|
573
|
+
|
574
|
+
</ul>
|
575
|
+
|
576
|
+
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
|
581
|
+
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
|
588
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXGLObject.html" title="Fox::FXGLObject (class)">FXGLObject</a></span></h3>
|
589
|
+
<p class="inherited"><span class='object_link'><a href="FXGLObject.html#canDelete-instance_method" title="Fox::FXGLObject#canDelete (method)">#canDelete</a></span>, <span class='object_link'><a href="FXGLObject.html#copy-instance_method" title="Fox::FXGLObject#copy (method)">#copy</a></span></p>
|
590
|
+
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></h3>
|
600
|
+
<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>
|
601
|
+
<div id="constructor_details" class="method_details_list">
|
602
|
+
<h2>Constructor Details</h2>
|
603
|
+
|
604
|
+
<div class="method_details first">
|
605
|
+
<h3 class="signature first" id="initialize-instance_method">
|
606
|
+
|
607
|
+
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="Fox::FXGLGroup (class)">FXGLGroup</a></span></tt>
|
608
|
+
|
609
|
+
|
610
|
+
|
611
|
+
|
612
|
+
|
613
|
+
</h3><div class="docstring">
|
614
|
+
<div class="discussion">
|
615
|
+
|
616
|
+
<p>Returns an initialized FXGLGroup instance</p>
|
617
|
+
|
618
|
+
|
619
|
+
</div>
|
620
|
+
</div>
|
621
|
+
<div class="tags">
|
622
|
+
|
623
|
+
|
624
|
+
</div><table class="source_code">
|
625
|
+
<tr>
|
626
|
+
<td>
|
627
|
+
<pre class="lines">
|
628
|
+
|
629
|
+
|
630
|
+
21
|
631
|
+
22
|
632
|
+
23
|
633
|
+
24</pre>
|
634
|
+
</td>
|
635
|
+
<td>
|
636
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 21</span>
|
637
|
+
|
638
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
639
|
+
<span class='kw'>super</span>
|
640
|
+
<span class='ivar'>@list</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
641
|
+
<span class='kw'>end</span></pre>
|
642
|
+
</td>
|
643
|
+
</tr>
|
644
|
+
</table>
|
645
|
+
</div>
|
646
|
+
|
647
|
+
</div>
|
648
|
+
|
649
|
+
|
650
|
+
<div id="instance_method_details" class="method_details_list">
|
651
|
+
<h2>Instance Method Details</h2>
|
652
|
+
|
653
|
+
|
654
|
+
<div class="method_details first">
|
655
|
+
<h3 class="signature first" id="[]-instance_method">
|
656
|
+
|
657
|
+
#<strong>[]</strong>(pos) ⇒ <tt>Object</tt>
|
658
|
+
|
659
|
+
|
660
|
+
|
661
|
+
|
662
|
+
|
663
|
+
</h3><div class="docstring">
|
664
|
+
<div class="discussion">
|
665
|
+
|
666
|
+
<p>Return child at position <em>pos</em>.</p>
|
667
|
+
|
668
|
+
|
669
|
+
</div>
|
670
|
+
</div>
|
671
|
+
<div class="tags">
|
672
|
+
|
673
|
+
|
674
|
+
</div><table class="source_code">
|
675
|
+
<tr>
|
676
|
+
<td>
|
677
|
+
<pre class="lines">
|
678
|
+
|
679
|
+
|
680
|
+
36
|
681
|
+
37
|
682
|
+
38</pre>
|
683
|
+
</td>
|
684
|
+
<td>
|
685
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 36</span>
|
686
|
+
|
687
|
+
<span class='kw'>def</span> <span class='op'>[]</span><span class='lparen'>(</span><span class='id identifier rubyid_pos'>pos</span><span class='rparen'>)</span>
|
688
|
+
<span class='ivar'>@list</span><span class='lbracket'>[</span><span class='id identifier rubyid_pos'>pos</span><span class='rbracket'>]</span>
|
689
|
+
<span class='kw'>end</span></pre>
|
690
|
+
</td>
|
691
|
+
</tr>
|
692
|
+
</table>
|
693
|
+
</div>
|
694
|
+
|
695
|
+
<div class="method_details ">
|
696
|
+
<h3 class="signature " id="[]=-instance_method">
|
697
|
+
|
698
|
+
#<strong>[]=</strong>(pos, obj) ⇒ <tt>Object</tt>
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
|
704
|
+
</h3><div class="docstring">
|
705
|
+
<div class="discussion">
|
706
|
+
|
707
|
+
<p>Set child at position <em>pos</em> to <em>obj</em>.</p>
|
708
|
+
|
709
|
+
|
710
|
+
</div>
|
711
|
+
</div>
|
712
|
+
<div class="tags">
|
713
|
+
|
714
|
+
|
715
|
+
</div><table class="source_code">
|
716
|
+
<tr>
|
717
|
+
<td>
|
718
|
+
<pre class="lines">
|
719
|
+
|
720
|
+
|
721
|
+
43
|
722
|
+
44
|
723
|
+
45</pre>
|
724
|
+
</td>
|
725
|
+
<td>
|
726
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 43</span>
|
727
|
+
|
728
|
+
<span class='kw'>def</span> <span class='op'>[]=</span><span class='lparen'>(</span><span class='id identifier rubyid_pos'>pos</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
729
|
+
<span class='ivar'>@list</span><span class='lbracket'>[</span><span class='id identifier rubyid_pos'>pos</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_obj'>obj</span>
|
730
|
+
<span class='kw'>end</span></pre>
|
731
|
+
</td>
|
732
|
+
</tr>
|
733
|
+
</table>
|
734
|
+
</div>
|
735
|
+
|
736
|
+
<div class="method_details ">
|
737
|
+
<h3 class="signature " id="append-instance_method">
|
738
|
+
|
739
|
+
#<strong>append</strong>(obj) ⇒ <tt>Object</tt>
|
740
|
+
|
741
|
+
|
742
|
+
|
743
|
+
<span class="aliases">Also known as:
|
744
|
+
<span class="names"><span id='<<-instance_method'><<</span></span>
|
745
|
+
</span>
|
746
|
+
|
747
|
+
|
748
|
+
|
749
|
+
</h3><div class="docstring">
|
750
|
+
<div class="discussion">
|
751
|
+
|
752
|
+
<p>Append child object</p>
|
753
|
+
|
754
|
+
|
755
|
+
</div>
|
756
|
+
</div>
|
757
|
+
<div class="tags">
|
758
|
+
|
759
|
+
|
760
|
+
</div><table class="source_code">
|
761
|
+
<tr>
|
762
|
+
<td>
|
763
|
+
<pre class="lines">
|
764
|
+
|
765
|
+
|
766
|
+
131
|
767
|
+
132
|
768
|
+
133</pre>
|
769
|
+
</td>
|
770
|
+
<td>
|
771
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 131</span>
|
772
|
+
|
773
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_append'>append</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
774
|
+
<span class='ivar'>@list</span> <span class='op'><<</span> <span class='id identifier rubyid_obj'>obj</span>
|
775
|
+
<span class='kw'>end</span></pre>
|
776
|
+
</td>
|
777
|
+
</tr>
|
778
|
+
</table>
|
779
|
+
</div>
|
780
|
+
|
781
|
+
<div class="method_details ">
|
782
|
+
<h3 class="signature " id="bounds-instance_method">
|
783
|
+
|
784
|
+
#<strong>bounds</strong> ⇒ <tt>Object</tt>
|
785
|
+
|
786
|
+
|
787
|
+
|
788
|
+
|
789
|
+
|
790
|
+
</h3><div class="docstring">
|
791
|
+
<div class="discussion">
|
792
|
+
|
793
|
+
<p>Return bounding box for this group (an FXRangef instance)</p>
|
794
|
+
|
795
|
+
|
796
|
+
</div>
|
797
|
+
</div>
|
798
|
+
<div class="tags">
|
799
|
+
|
800
|
+
|
801
|
+
</div><table class="source_code">
|
802
|
+
<tr>
|
803
|
+
<td>
|
804
|
+
<pre class="lines">
|
805
|
+
|
806
|
+
|
807
|
+
60
|
808
|
+
61
|
809
|
+
62
|
810
|
+
63
|
811
|
+
64
|
812
|
+
65
|
813
|
+
66
|
814
|
+
67
|
815
|
+
68
|
816
|
+
69</pre>
|
817
|
+
</td>
|
818
|
+
<td>
|
819
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 60</span>
|
820
|
+
|
821
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_bounds'>bounds</span>
|
822
|
+
<span class='id identifier rubyid_box'>box</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
823
|
+
<span class='kw'>if</span> <span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
824
|
+
<span class='id identifier rubyid_box'>box</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="FXRangef.html" title="Fox::FXRangef (class)">FXRangef</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="FXRangef.html#initialize-instance_method" title="Fox::FXRangef#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='rparen'>)</span>
|
825
|
+
<span class='kw'>else</span>
|
826
|
+
<span class='id identifier rubyid_box'>box</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="FXRangef.html" title="Fox::FXRangef (class)">FXRangef</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="FXRangef.html#initialize-instance_method" title="Fox::FXRangef#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="#FLT_MAX-constant" title="Fox::FXGLGroup::FLT_MAX (constant)">FLT_MAX</a></span></span><span class='comma'>,</span> <span class='op'>-</span><span class='const'><span class='object_link'><a href="#FLT_MAX-constant" title="Fox::FXGLGroup::FLT_MAX (constant)">FLT_MAX</a></span></span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="#FLT_MAX-constant" title="Fox::FXGLGroup::FLT_MAX (constant)">FLT_MAX</a></span></span><span class='comma'>,</span> <span class='op'>-</span><span class='const'><span class='object_link'><a href="#FLT_MAX-constant" title="Fox::FXGLGroup::FLT_MAX (constant)">FLT_MAX</a></span></span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="#FLT_MAX-constant" title="Fox::FXGLGroup::FLT_MAX (constant)">FLT_MAX</a></span></span><span class='comma'>,</span> <span class='op'>-</span><span class='const'><span class='object_link'><a href="#FLT_MAX-constant" title="Fox::FXGLGroup::FLT_MAX (constant)">FLT_MAX</a></span></span><span class='rparen'>)</span>
|
827
|
+
<span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_obj'>obj</span><span class='op'>|</span> <span class='id identifier rubyid_box'>box</span><span class='period'>.</span><span class='id identifier rubyid_include!'>include!</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_bounds'>bounds</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
828
|
+
<span class='kw'>end</span>
|
829
|
+
<span class='id identifier rubyid_box'>box</span>
|
830
|
+
<span class='kw'>end</span></pre>
|
831
|
+
</td>
|
832
|
+
</tr>
|
833
|
+
</table>
|
834
|
+
</div>
|
835
|
+
|
836
|
+
<div class="method_details ">
|
837
|
+
<h3 class="signature " id="canDrag-instance_method">
|
838
|
+
|
839
|
+
#<strong>canDrag</strong> ⇒ <tt>Object</tt>
|
840
|
+
|
841
|
+
|
842
|
+
|
843
|
+
|
844
|
+
|
845
|
+
</h3><div class="docstring">
|
846
|
+
<div class="discussion">
|
847
|
+
|
848
|
+
<p>Return <code>true</code> if group can be dragged.</p>
|
849
|
+
|
850
|
+
|
851
|
+
</div>
|
852
|
+
</div>
|
853
|
+
<div class="tags">
|
854
|
+
|
855
|
+
|
856
|
+
</div><table class="source_code">
|
857
|
+
<tr>
|
858
|
+
<td>
|
859
|
+
<pre class="lines">
|
860
|
+
|
861
|
+
|
862
|
+
102
|
863
|
+
103
|
864
|
+
104</pre>
|
865
|
+
</td>
|
866
|
+
<td>
|
867
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 102</span>
|
868
|
+
|
869
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_canDrag'>canDrag</span>
|
870
|
+
<span class='kw'>true</span>
|
871
|
+
<span class='kw'>end</span></pre>
|
872
|
+
</td>
|
873
|
+
</tr>
|
874
|
+
</table>
|
875
|
+
</div>
|
876
|
+
|
877
|
+
<div class="method_details ">
|
878
|
+
<h3 class="signature " id="clear-instance_method">
|
879
|
+
|
880
|
+
#<strong>clear</strong> ⇒ <tt>Object</tt>
|
881
|
+
|
882
|
+
|
883
|
+
|
884
|
+
|
885
|
+
|
886
|
+
</h3><div class="docstring">
|
887
|
+
<div class="discussion">
|
888
|
+
|
889
|
+
<p>Remove all children from this group.</p>
|
890
|
+
|
891
|
+
|
892
|
+
</div>
|
893
|
+
</div>
|
894
|
+
<div class="tags">
|
895
|
+
|
896
|
+
|
897
|
+
</div><table class="source_code">
|
898
|
+
<tr>
|
899
|
+
<td>
|
900
|
+
<pre class="lines">
|
901
|
+
|
902
|
+
|
903
|
+
162
|
904
|
+
163
|
905
|
+
164</pre>
|
906
|
+
</td>
|
907
|
+
<td>
|
908
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 162</span>
|
909
|
+
|
910
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_clear'>clear</span>
|
911
|
+
<span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_clear'>clear</span>
|
912
|
+
<span class='kw'>end</span></pre>
|
913
|
+
</td>
|
914
|
+
</tr>
|
915
|
+
</table>
|
916
|
+
</div>
|
917
|
+
|
918
|
+
<div class="method_details ">
|
919
|
+
<h3 class="signature " id="drag-instance_method">
|
920
|
+
|
921
|
+
#<strong>drag</strong>(viewer, fx, fy, tx, ty) ⇒ <tt>Object</tt>
|
922
|
+
|
923
|
+
|
924
|
+
|
925
|
+
|
926
|
+
|
927
|
+
</h3><div class="docstring">
|
928
|
+
<div class="discussion">
|
929
|
+
|
930
|
+
<p>Drag group object around in <em>viewer</em> (an FXGLViewer instance), from (<em>fx</em>, <em>fy</em>) to (<em>tx</em>, <em>ty</em>).</p>
|
931
|
+
|
932
|
+
|
933
|
+
</div>
|
934
|
+
</div>
|
935
|
+
<div class="tags">
|
936
|
+
|
937
|
+
|
938
|
+
</div><table class="source_code">
|
939
|
+
<tr>
|
940
|
+
<td>
|
941
|
+
<pre class="lines">
|
942
|
+
|
943
|
+
|
944
|
+
110
|
945
|
+
111
|
946
|
+
112</pre>
|
947
|
+
</td>
|
948
|
+
<td>
|
949
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 110</span>
|
950
|
+
|
951
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_drag'>drag</span><span class='lparen'>(</span><span class='id identifier rubyid_viewer'>viewer</span><span class='comma'>,</span> <span class='id identifier rubyid_fx'>fx</span><span class='comma'>,</span> <span class='id identifier rubyid_fy'>fy</span><span class='comma'>,</span> <span class='id identifier rubyid_tx'>tx</span><span class='comma'>,</span> <span class='id identifier rubyid_ty'>ty</span><span class='rparen'>)</span>
|
952
|
+
<span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_obj'>obj</span><span class='op'>|</span> <span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_drag'>drag</span><span class='lparen'>(</span><span class='id identifier rubyid_viewer'>viewer</span><span class='comma'>,</span> <span class='id identifier rubyid_fx'>fx</span><span class='comma'>,</span> <span class='id identifier rubyid_fy'>fy</span><span class='comma'>,</span> <span class='id identifier rubyid_tx'>tx</span><span class='comma'>,</span> <span class='id identifier rubyid_ty'>ty</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
953
|
+
<span class='kw'>end</span></pre>
|
954
|
+
</td>
|
955
|
+
</tr>
|
956
|
+
</table>
|
957
|
+
</div>
|
958
|
+
|
959
|
+
<div class="method_details ">
|
960
|
+
<h3 class="signature " id="draw-instance_method">
|
961
|
+
|
962
|
+
#<strong>draw</strong>(viewer) ⇒ <tt>Object</tt>
|
963
|
+
|
964
|
+
|
965
|
+
|
966
|
+
|
967
|
+
|
968
|
+
</h3><div class="docstring">
|
969
|
+
<div class="discussion">
|
970
|
+
|
971
|
+
<p>Draw this group into <em>viewer</em> (an FXGLViewer instance).</p>
|
972
|
+
|
973
|
+
|
974
|
+
</div>
|
975
|
+
</div>
|
976
|
+
<div class="tags">
|
977
|
+
|
978
|
+
|
979
|
+
</div><table class="source_code">
|
980
|
+
<tr>
|
981
|
+
<td>
|
982
|
+
<pre class="lines">
|
983
|
+
|
984
|
+
|
985
|
+
74
|
986
|
+
75
|
987
|
+
76</pre>
|
988
|
+
</td>
|
989
|
+
<td>
|
990
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 74</span>
|
991
|
+
|
992
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_draw'>draw</span><span class='lparen'>(</span><span class='id identifier rubyid_viewer'>viewer</span><span class='rparen'>)</span>
|
993
|
+
<span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_obj'>obj</span><span class='op'>|</span> <span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_draw'>draw</span><span class='lparen'>(</span><span class='id identifier rubyid_viewer'>viewer</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
|
994
|
+
<span class='kw'>end</span></pre>
|
995
|
+
</td>
|
996
|
+
</tr>
|
997
|
+
</table>
|
998
|
+
</div>
|
999
|
+
|
1000
|
+
<div class="method_details ">
|
1001
|
+
<h3 class="signature " id="each_child-instance_method">
|
1002
|
+
|
1003
|
+
#<strong>each_child</strong> ⇒ <tt>Object</tt>
|
1004
|
+
|
1005
|
+
|
1006
|
+
|
1007
|
+
<span class="aliases">Also known as:
|
1008
|
+
<span class="names"><span id='each-instance_method'>each</span></span>
|
1009
|
+
</span>
|
1010
|
+
|
1011
|
+
|
1012
|
+
|
1013
|
+
</h3><div class="docstring">
|
1014
|
+
<div class="discussion">
|
1015
|
+
|
1016
|
+
<p>Iterate over child objects</p>
|
1017
|
+
|
1018
|
+
|
1019
|
+
</div>
|
1020
|
+
</div>
|
1021
|
+
<div class="tags">
|
1022
|
+
|
1023
|
+
|
1024
|
+
</div><table class="source_code">
|
1025
|
+
<tr>
|
1026
|
+
<td>
|
1027
|
+
<pre class="lines">
|
1028
|
+
|
1029
|
+
|
1030
|
+
50
|
1031
|
+
51
|
1032
|
+
52
|
1033
|
+
53</pre>
|
1034
|
+
</td>
|
1035
|
+
<td>
|
1036
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 50</span>
|
1037
|
+
|
1038
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_each_child'>each_child</span> <span class='comment'># :yields: childObject
|
1039
|
+
</span> <span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_child'>child</span><span class='op'>|</span> <span class='kw'>yield</span> <span class='id identifier rubyid_child'>child</span> <span class='rbrace'>}</span>
|
1040
|
+
<span class='kw'>self</span>
|
1041
|
+
<span class='kw'>end</span></pre>
|
1042
|
+
</td>
|
1043
|
+
</tr>
|
1044
|
+
</table>
|
1045
|
+
</div>
|
1046
|
+
|
1047
|
+
<div class="method_details ">
|
1048
|
+
<h3 class="signature " id="hit-instance_method">
|
1049
|
+
|
1050
|
+
#<strong>hit</strong>(viewer) ⇒ <tt>Object</tt>
|
1051
|
+
|
1052
|
+
|
1053
|
+
|
1054
|
+
|
1055
|
+
|
1056
|
+
</h3><div class="docstring">
|
1057
|
+
<div class="discussion">
|
1058
|
+
|
1059
|
+
<p>Perform hit test in <em>viewer</em> (an FXGLViewer instance).</p>
|
1060
|
+
|
1061
|
+
|
1062
|
+
</div>
|
1063
|
+
</div>
|
1064
|
+
<div class="tags">
|
1065
|
+
|
1066
|
+
|
1067
|
+
</div><table class="source_code">
|
1068
|
+
<tr>
|
1069
|
+
<td>
|
1070
|
+
<pre class="lines">
|
1071
|
+
|
1072
|
+
|
1073
|
+
81
|
1074
|
+
82
|
1075
|
+
83
|
1076
|
+
84
|
1077
|
+
85
|
1078
|
+
86
|
1079
|
+
87
|
1080
|
+
88
|
1081
|
+
89</pre>
|
1082
|
+
</td>
|
1083
|
+
<td>
|
1084
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 81</span>
|
1085
|
+
|
1086
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_hit'>hit</span><span class='lparen'>(</span><span class='id identifier rubyid_viewer'>viewer</span><span class='rparen'>)</span>
|
1087
|
+
<span class='comment'># GL.PushName(0xffffffff)
|
1088
|
+
</span> <span class='id identifier rubyid_glPushName'>glPushName</span><span class='lparen'>(</span><span class='int'>1000000</span><span class='rparen'>)</span>
|
1089
|
+
<span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_each_with_index'>each_with_index</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_obj'>obj</span><span class='comma'>,</span> <span class='id identifier rubyid_i'>i</span><span class='op'>|</span>
|
1090
|
+
<span class='id identifier rubyid_glLoadName'>glLoadName</span><span class='lparen'>(</span><span class='id identifier rubyid_i'>i</span><span class='rparen'>)</span>
|
1091
|
+
<span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_hit'>hit</span><span class='lparen'>(</span><span class='id identifier rubyid_viewer'>viewer</span><span class='rparen'>)</span>
|
1092
|
+
<span class='kw'>end</span>
|
1093
|
+
<span class='id identifier rubyid_glPopName'>glPopName</span>
|
1094
|
+
<span class='kw'>end</span></pre>
|
1095
|
+
</td>
|
1096
|
+
</tr>
|
1097
|
+
</table>
|
1098
|
+
</div>
|
1099
|
+
|
1100
|
+
<div class="method_details ">
|
1101
|
+
<h3 class="signature " id="identify-instance_method">
|
1102
|
+
|
1103
|
+
#<strong>identify</strong>(path) ⇒ <tt>Object</tt>
|
1104
|
+
|
1105
|
+
|
1106
|
+
|
1107
|
+
|
1108
|
+
|
1109
|
+
</h3><div class="docstring">
|
1110
|
+
<div class="discussion">
|
1111
|
+
|
1112
|
+
<p>Identify object by means of <em>path</em>.</p>
|
1113
|
+
|
1114
|
+
|
1115
|
+
</div>
|
1116
|
+
</div>
|
1117
|
+
<div class="tags">
|
1118
|
+
|
1119
|
+
|
1120
|
+
</div><table class="source_code">
|
1121
|
+
<tr>
|
1122
|
+
<td>
|
1123
|
+
<pre class="lines">
|
1124
|
+
|
1125
|
+
|
1126
|
+
94
|
1127
|
+
95
|
1128
|
+
96
|
1129
|
+
97</pre>
|
1130
|
+
</td>
|
1131
|
+
<td>
|
1132
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 94</span>
|
1133
|
+
|
1134
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_identify'>identify</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
1135
|
+
<span class='id identifier rubyid_objIndex'>objIndex</span> <span class='op'>=</span> <span class='id identifier rubyid_path'>path</span><span class='period'>.</span><span class='id identifier rubyid_shift'>shift</span>
|
1136
|
+
<span class='ivar'>@list</span><span class='lbracket'>[</span><span class='id identifier rubyid_objIndex'>objIndex</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_identify'>identify</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
1137
|
+
<span class='kw'>end</span></pre>
|
1138
|
+
</td>
|
1139
|
+
</tr>
|
1140
|
+
</table>
|
1141
|
+
</div>
|
1142
|
+
|
1143
|
+
<div class="method_details ">
|
1144
|
+
<h3 class="signature " id="insert-instance_method">
|
1145
|
+
|
1146
|
+
#<strong>insert</strong>(pos, obj) ⇒ <tt>Object</tt>
|
1147
|
+
|
1148
|
+
|
1149
|
+
|
1150
|
+
|
1151
|
+
|
1152
|
+
</h3><div class="docstring">
|
1153
|
+
<div class="discussion">
|
1154
|
+
|
1155
|
+
<p>Insert child object (<em>obj</em>) at position <em>pos</em>.</p>
|
1156
|
+
|
1157
|
+
|
1158
|
+
</div>
|
1159
|
+
</div>
|
1160
|
+
<div class="tags">
|
1161
|
+
|
1162
|
+
<p class="tag_title">Raises:</p>
|
1163
|
+
<ul class="raise">
|
1164
|
+
|
1165
|
+
<li>
|
1166
|
+
|
1167
|
+
|
1168
|
+
<span class='type'>(<tt>NotImplementedError</tt>)</span>
|
1169
|
+
|
1170
|
+
|
1171
|
+
|
1172
|
+
</li>
|
1173
|
+
|
1174
|
+
</ul>
|
1175
|
+
|
1176
|
+
</div><table class="source_code">
|
1177
|
+
<tr>
|
1178
|
+
<td>
|
1179
|
+
<pre class="lines">
|
1180
|
+
|
1181
|
+
|
1182
|
+
117
|
1183
|
+
118
|
1184
|
+
119</pre>
|
1185
|
+
</td>
|
1186
|
+
<td>
|
1187
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 117</span>
|
1188
|
+
|
1189
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_insert'>insert</span><span class='lparen'>(</span><span class='id identifier rubyid_pos'>pos</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1190
|
+
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span>
|
1191
|
+
<span class='kw'>end</span></pre>
|
1192
|
+
</td>
|
1193
|
+
</tr>
|
1194
|
+
</table>
|
1195
|
+
</div>
|
1196
|
+
|
1197
|
+
<div class="method_details ">
|
1198
|
+
<h3 class="signature " id="prepend-instance_method">
|
1199
|
+
|
1200
|
+
#<strong>prepend</strong>(obj) ⇒ <tt>Object</tt>
|
1201
|
+
|
1202
|
+
|
1203
|
+
|
1204
|
+
|
1205
|
+
|
1206
|
+
</h3><div class="docstring">
|
1207
|
+
<div class="discussion">
|
1208
|
+
|
1209
|
+
<p>Prepend child object (<em>obj</em>).</p>
|
1210
|
+
|
1211
|
+
|
1212
|
+
</div>
|
1213
|
+
</div>
|
1214
|
+
<div class="tags">
|
1215
|
+
|
1216
|
+
|
1217
|
+
</div><table class="source_code">
|
1218
|
+
<tr>
|
1219
|
+
<td>
|
1220
|
+
<pre class="lines">
|
1221
|
+
|
1222
|
+
|
1223
|
+
124
|
1224
|
+
125
|
1225
|
+
126</pre>
|
1226
|
+
</td>
|
1227
|
+
<td>
|
1228
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 124</span>
|
1229
|
+
|
1230
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_prepend'>prepend</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1231
|
+
<span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_unshift'>unshift</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1232
|
+
<span class='kw'>end</span></pre>
|
1233
|
+
</td>
|
1234
|
+
</tr>
|
1235
|
+
</table>
|
1236
|
+
</div>
|
1237
|
+
|
1238
|
+
<div class="method_details ">
|
1239
|
+
<h3 class="signature " id="remove-instance_method">
|
1240
|
+
|
1241
|
+
#<strong>remove</strong>(obj) ⇒ <tt>Object</tt>
|
1242
|
+
|
1243
|
+
|
1244
|
+
|
1245
|
+
<span class="aliases">Also known as:
|
1246
|
+
<span class="names"><span id='erase-instance_method'>erase</span></span>
|
1247
|
+
</span>
|
1248
|
+
|
1249
|
+
|
1250
|
+
|
1251
|
+
</h3><div class="docstring">
|
1252
|
+
<div class="discussion">
|
1253
|
+
|
1254
|
+
<p>If <em>obj</em> is a reference to an FXGLObject in this group, remove the child object from the list. If <em>obj</em> is an integer, remove the child object at that position from the list.</p>
|
1255
|
+
|
1256
|
+
|
1257
|
+
</div>
|
1258
|
+
</div>
|
1259
|
+
<div class="tags">
|
1260
|
+
|
1261
|
+
|
1262
|
+
</div><table class="source_code">
|
1263
|
+
<tr>
|
1264
|
+
<td>
|
1265
|
+
<pre class="lines">
|
1266
|
+
|
1267
|
+
|
1268
|
+
149
|
1269
|
+
150
|
1270
|
+
151
|
1271
|
+
152
|
1272
|
+
153
|
1273
|
+
154
|
1274
|
+
155</pre>
|
1275
|
+
</td>
|
1276
|
+
<td>
|
1277
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 149</span>
|
1278
|
+
|
1279
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_remove'>remove</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1280
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_obj'>obj</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'><span class='object_link'><a href="FXGLObject.html" title="Fox::FXGLObject (class)">FXGLObject</a></span></span>
|
1281
|
+
<span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1282
|
+
<span class='kw'>else</span>
|
1283
|
+
<span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_delete_at'>delete_at</span><span class='lparen'>(</span><span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1284
|
+
<span class='kw'>end</span>
|
1285
|
+
<span class='kw'>end</span></pre>
|
1286
|
+
</td>
|
1287
|
+
</tr>
|
1288
|
+
</table>
|
1289
|
+
</div>
|
1290
|
+
|
1291
|
+
<div class="method_details ">
|
1292
|
+
<h3 class="signature " id="replace-instance_method">
|
1293
|
+
|
1294
|
+
#<strong>replace</strong>(pos, obj) ⇒ <tt>Object</tt>
|
1295
|
+
|
1296
|
+
|
1297
|
+
|
1298
|
+
|
1299
|
+
|
1300
|
+
</h3><div class="docstring">
|
1301
|
+
<div class="discussion">
|
1302
|
+
|
1303
|
+
<p>Replace child object at position <em>pos</em> with <em>obj</em>.</p>
|
1304
|
+
|
1305
|
+
|
1306
|
+
</div>
|
1307
|
+
</div>
|
1308
|
+
<div class="tags">
|
1309
|
+
|
1310
|
+
|
1311
|
+
</div><table class="source_code">
|
1312
|
+
<tr>
|
1313
|
+
<td>
|
1314
|
+
<pre class="lines">
|
1315
|
+
|
1316
|
+
|
1317
|
+
140
|
1318
|
+
141
|
1319
|
+
142</pre>
|
1320
|
+
</td>
|
1321
|
+
<td>
|
1322
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 140</span>
|
1323
|
+
|
1324
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_replace'>replace</span><span class='lparen'>(</span><span class='id identifier rubyid_pos'>pos</span><span class='comma'>,</span> <span class='id identifier rubyid_obj'>obj</span><span class='rparen'>)</span>
|
1325
|
+
<span class='ivar'>@list</span><span class='lbracket'>[</span><span class='id identifier rubyid_pos'>pos</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_obj'>obj</span>
|
1326
|
+
<span class='kw'>end</span></pre>
|
1327
|
+
</td>
|
1328
|
+
</tr>
|
1329
|
+
</table>
|
1330
|
+
</div>
|
1331
|
+
|
1332
|
+
<div class="method_details ">
|
1333
|
+
<h3 class="signature " id="size-instance_method">
|
1334
|
+
|
1335
|
+
#<strong>size</strong> ⇒ <tt>Object</tt>
|
1336
|
+
|
1337
|
+
|
1338
|
+
|
1339
|
+
|
1340
|
+
|
1341
|
+
</h3><div class="docstring">
|
1342
|
+
<div class="discussion">
|
1343
|
+
|
1344
|
+
<p>Return number of objects in this group.</p>
|
1345
|
+
|
1346
|
+
|
1347
|
+
</div>
|
1348
|
+
</div>
|
1349
|
+
<div class="tags">
|
1350
|
+
|
1351
|
+
|
1352
|
+
</div><table class="source_code">
|
1353
|
+
<tr>
|
1354
|
+
<td>
|
1355
|
+
<pre class="lines">
|
1356
|
+
|
1357
|
+
|
1358
|
+
29
|
1359
|
+
30
|
1360
|
+
31</pre>
|
1361
|
+
</td>
|
1362
|
+
<td>
|
1363
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glgroup.rb', line 29</span>
|
1364
|
+
|
1365
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_size'>size</span>
|
1366
|
+
<span class='ivar'>@list</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span>
|
1367
|
+
<span class='kw'>end</span></pre>
|
1368
|
+
</td>
|
1369
|
+
</tr>
|
1370
|
+
</table>
|
1371
|
+
</div>
|
1372
|
+
|
1373
|
+
</div>
|
1374
|
+
|
1375
|
+
</div>
|
1376
|
+
|
1377
|
+
<div id="footer">
|
1378
|
+
Generated on Fri Nov 27 21:11:35 2020 by
|
1379
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1380
|
+
0.9.24 (ruby-2.7.2).
|
1381
|
+
</div>
|
1382
|
+
|
1383
|
+
</div>
|
1384
|
+
</body>
|
1385
|
+
</html>
|