fxruby 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ANNOUNCE +25 -0
- data/ChangeLog +10606 -0
- data/INSTALL +50 -0
- data/LICENSE +456 -0
- data/README +39 -0
- data/doc/apes02.html +21 -0
- data/doc/apes03.html +39 -0
- data/doc/book.html +3 -0
- data/doc/build.html +144 -0
- data/doc/ch03s02.html +24 -0
- data/doc/ch03s03.html +53 -0
- data/doc/ch03s04.html +37 -0
- data/doc/ch03s05.html +61 -0
- data/doc/ch04s02.html +72 -0
- data/doc/ch04s03.html +37 -0
- data/doc/ch04s04.html +72 -0
- data/doc/ch05s02.html +262 -0
- data/doc/ch05s03.html +128 -0
- data/doc/changes.html +75 -0
- data/doc/clipboardtut.html +68 -0
- data/doc/cvs.html +35 -0
- data/doc/differences.html +11 -0
- data/doc/dragdroptut.html +266 -0
- data/doc/events.html +36 -0
- data/doc/examples.html +104 -0
- data/doc/gems.html +73 -0
- data/doc/goals.html +39 -0
- data/doc/images/babelfish.png +0 -0
- data/doc/images/browser.png +0 -0
- data/doc/images/button.png +0 -0
- data/doc/images/call-chain-example.png +0 -0
- data/doc/images/colordialog.png +0 -0
- data/doc/images/datatarget.png +0 -0
- data/doc/images/dialog.png +0 -0
- data/doc/images/dilbert.png +0 -0
- data/doc/images/dirlist.png +0 -0
- data/doc/images/dropsite-droprejected.png +0 -0
- data/doc/images/foursplit.png +0 -0
- data/doc/images/gltest.png +0 -0
- data/doc/images/glviewer.png +0 -0
- data/doc/images/groupbox.png +0 -0
- data/doc/images/header.png +0 -0
- data/doc/images/hello-with-button.png +0 -0
- data/doc/images/hello-with-icon-1.png +0 -0
- data/doc/images/hello-with-icon-2.png +0 -0
- data/doc/images/hello-with-icon-3.png +0 -0
- data/doc/images/hello-with-tooltip.png +0 -0
- data/doc/images/hello-without-button.png +0 -0
- data/doc/images/hello.png +0 -0
- data/doc/images/hello2.png +0 -0
- data/doc/images/iconlist-bigicons.png +0 -0
- data/doc/images/iconlist-details.png +0 -0
- data/doc/images/image.png +0 -0
- data/doc/images/imageviewer.png +0 -0
- data/doc/images/inheritance.png +0 -0
- data/doc/images/mditest.png +0 -0
- data/doc/images/raabrowser.png +0 -0
- data/doc/images/scribble.png +0 -0
- data/doc/images/shutter.png +0 -0
- data/doc/images/splitter.png +0 -0
- data/doc/images/tabbook.png +0 -0
- data/doc/images/table.png +0 -0
- data/doc/images/tutorial1.png +0 -0
- data/doc/implementation.html +16 -0
- data/doc/infosources.html +33 -0
- data/doc/library.html +30 -0
- data/doc/opengl.html +73 -0
- data/doc/pt01.html +3 -0
- data/doc/pt02.html +3 -0
- data/doc/scintilla.html +36 -0
- data/doc/todo.html +40 -0
- data/doc/tutorial1.html +97 -0
- data/examples/RAA.rb +25 -0
- data/examples/README +53 -0
- data/examples/babelfish.rb +107 -0
- data/examples/bounce.rb +159 -0
- data/examples/browser.rb +191 -0
- data/examples/button.rb +160 -0
- data/examples/datatarget.rb +223 -0
- data/examples/dctest.rb +702 -0
- data/examples/dialog.rb +148 -0
- data/examples/dilbert.rb +105 -0
- data/examples/dirlist.rb +63 -0
- data/examples/dragdrop.rb +101 -0
- data/examples/dragsource.rb +81 -0
- data/examples/dropsite.rb +61 -0
- data/examples/foursplit.rb +103 -0
- data/examples/gltest.rb +342 -0
- data/examples/glviewer.rb +579 -0
- data/examples/groupbox.rb +422 -0
- data/examples/header.rb +150 -0
- data/examples/hello.rb +12 -0
- data/examples/hello2.rb +51 -0
- data/examples/iRAA.rb +153 -0
- data/examples/iconlist.rb +104 -0
- data/examples/icons/AngryGuyInBunnySuit.ico +0 -0
- data/examples/icons/FatBot.ico +0 -0
- data/examples/icons/FlippedySwitch.ico +0 -0
- data/examples/icons/LeGoon.ico +0 -0
- data/examples/icons/Net.ico +0 -0
- data/examples/icons/RedMacOS.ico +0 -0
- data/examples/icons/SawBlade.ico +0 -0
- data/examples/icons/backview.png +0 -0
- data/examples/icons/big.png +0 -0
- data/examples/icons/bigfolder.png +0 -0
- data/examples/icons/bigpenguin.png +0 -0
- data/examples/icons/bottomview.png +0 -0
- data/examples/icons/camera.png +0 -0
- data/examples/icons/capbutt.png +0 -0
- data/examples/icons/capnotlast.png +0 -0
- data/examples/icons/capproj.png +0 -0
- data/examples/icons/capround.png +0 -0
- data/examples/icons/colorpal.png +0 -0
- data/examples/icons/copy.png +0 -0
- data/examples/icons/cut.png +0 -0
- data/examples/icons/delimit.png +0 -0
- data/examples/icons/dippy.png +0 -0
- data/examples/icons/double_dash.png +0 -0
- data/examples/icons/filenew.png +0 -0
- data/examples/icons/fileopen.png +0 -0
- data/examples/icons/filesave.png +0 -0
- data/examples/icons/filesaveas.png +0 -0
- data/examples/icons/fonts.png +0 -0
- data/examples/icons/fox.png +0 -0
- data/examples/icons/foxicon.png +0 -0
- data/examples/icons/frontview.png +0 -0
- data/examples/icons/gem_big.png +0 -0
- data/examples/icons/gem_small.png +0 -0
- data/examples/icons/hello2.png +0 -0
- data/examples/icons/help.png +0 -0
- data/examples/icons/indent.png +0 -0
- data/examples/icons/jbevel.png +0 -0
- data/examples/icons/jmiter.png +0 -0
- data/examples/icons/jround.png +0 -0
- data/examples/icons/kill.png +0 -0
- data/examples/icons/leftview.png +0 -0
- data/examples/icons/light.png +0 -0
- data/examples/icons/minidoc.png +0 -0
- data/examples/icons/minifolder.png +0 -0
- data/examples/icons/minifolderopen.png +0 -0
- data/examples/icons/newfolder.png +0 -0
- data/examples/icons/nolight.png +0 -0
- data/examples/icons/onoff_dash.png +0 -0
- data/examples/icons/palette.png +0 -0
- data/examples/icons/parallel.png +0 -0
- data/examples/icons/paste.png +0 -0
- data/examples/icons/pattern.png +0 -0
- data/examples/icons/penguin.png +0 -0
- data/examples/icons/perspective.png +0 -0
- data/examples/icons/printicon.png +0 -0
- data/examples/icons/prop.png +0 -0
- data/examples/icons/redo.png +0 -0
- data/examples/icons/rightview.png +0 -0
- data/examples/icons/saveas.png +0 -0
- data/examples/icons/shutter1.png +0 -0
- data/examples/icons/shutter2.png +0 -0
- data/examples/icons/small.png +0 -0
- data/examples/icons/smoothlight.png +0 -0
- data/examples/icons/solid_line.png +0 -0
- data/examples/icons/tbuplevel.png +0 -0
- data/examples/icons/topview.png +0 -0
- data/examples/icons/undo.png +0 -0
- data/examples/icons/winapp.png +0 -0
- data/examples/icons/zoom.png +0 -0
- data/examples/image.rb +281 -0
- data/examples/imageviewer.rb +513 -0
- data/examples/inputs.rb +84 -0
- data/examples/mditest.rb +180 -0
- data/examples/pig.rb +77 -0
- data/examples/raabrowser.rb +132 -0
- data/examples/scintilla-test.rb +81 -0
- data/examples/scribble-orig.rb +186 -0
- data/examples/scribble.rb +166 -0
- data/examples/shutter.rb +158 -0
- data/examples/splitter.rb +211 -0
- data/examples/styledtext.rb +92 -0
- data/examples/tabbook.rb +124 -0
- data/examples/table.rb +187 -0
- data/examples/textedit/commands.rb +117 -0
- data/examples/textedit/helpwindow.rb +295 -0
- data/examples/textedit/prefdialog.rb +235 -0
- data/examples/textedit/textedit.rb +1767 -0
- data/ext/fox12/FXRbApp.cpp +127 -0
- data/ext/fox12/FXRbDataTarget.cpp +106 -0
- data/ext/fox12/FXRbGLViewer.cpp +89 -0
- data/ext/fox12/FXRuby.cpp +1818 -0
- data/ext/fox12/MANIFEST +189 -0
- data/ext/fox12/core_wrap.cpp +10119 -0
- data/ext/fox12/dc_wrap.cpp +2638 -0
- data/ext/fox12/dialogs_wrap.cpp +6244 -0
- data/ext/fox12/extconf.rb +176 -0
- data/ext/fox12/frames_wrap.cpp +8274 -0
- data/ext/fox12/fx3d_wrap.cpp +9315 -0
- data/ext/fox12/iconlist_wrap.cpp +3742 -0
- data/ext/fox12/icons_wrap.cpp +4040 -0
- data/ext/fox12/image_wrap.cpp +4026 -0
- data/ext/fox12/impl.cpp +1064 -0
- data/ext/fox12/include/FXMemoryBuffer.h +52 -0
- data/ext/fox12/include/FXRb4Splitter.h +54 -0
- data/ext/fox12/include/FXRbAccelTable.h +46 -0
- data/ext/fox12/include/FXRbApp.h +137 -0
- data/ext/fox12/include/FXRbAppVirtuals.h +15 -0
- data/ext/fox12/include/FXRbArrowButton.h +51 -0
- data/ext/fox12/include/FXRbBMPIcon.h +54 -0
- data/ext/fox12/include/FXRbBMPImage.h +54 -0
- data/ext/fox12/include/FXRbBitmap.h +115 -0
- data/ext/fox12/include/FXRbBitmapFrame.h +56 -0
- data/ext/fox12/include/FXRbBitmapView.h +52 -0
- data/ext/fox12/include/FXRbBitmapVirtuals.h +27 -0
- data/ext/fox12/include/FXRbButton.h +51 -0
- data/ext/fox12/include/FXRbCURCursor.h +60 -0
- data/ext/fox12/include/FXRbCanvas.h +51 -0
- data/ext/fox12/include/FXRbCheckButton.h +51 -0
- data/ext/fox12/include/FXRbColorBar.h +51 -0
- data/ext/fox12/include/FXRbColorDialog.h +53 -0
- data/ext/fox12/include/FXRbColorSelector.h +51 -0
- data/ext/fox12/include/FXRbColorWell.h +51 -0
- data/ext/fox12/include/FXRbColorWheel.h +51 -0
- data/ext/fox12/include/FXRbComboBox.h +56 -0
- data/ext/fox12/include/FXRbCommon.h +86 -0
- data/ext/fox12/include/FXRbComposite.h +51 -0
- data/ext/fox12/include/FXRbCursor.h +87 -0
- data/ext/fox12/include/FXRbCursorVirtuals.h +6 -0
- data/ext/fox12/include/FXRbDC.h +385 -0
- data/ext/fox12/include/FXRbDCPrint.h +49 -0
- data/ext/fox12/include/FXRbDCVirtuals.h +166 -0
- data/ext/fox12/include/FXRbDCWindow.h +64 -0
- data/ext/fox12/include/FXRbDataTarget.h +65 -0
- data/ext/fox12/include/FXRbDebugTarget.h +46 -0
- data/ext/fox12/include/FXRbDelegator.h +46 -0
- data/ext/fox12/include/FXRbDial.h +51 -0
- data/ext/fox12/include/FXRbDialogBox.h +68 -0
- data/ext/fox12/include/FXRbDialogBoxVirtuals.h +3 -0
- data/ext/fox12/include/FXRbDict.h +46 -0
- data/ext/fox12/include/FXRbDirBox.h +51 -0
- data/ext/fox12/include/FXRbDirDialog.h +53 -0
- data/ext/fox12/include/FXRbDirList.h +79 -0
- data/ext/fox12/include/FXRbDirSelector.h +51 -0
- data/ext/fox12/include/FXRbDocument.h +46 -0
- data/ext/fox12/include/FXRbDragCorner.h +51 -0
- data/ext/fox12/include/FXRbDrawable.h +64 -0
- data/ext/fox12/include/FXRbDrawableVirtuals.h +3 -0
- data/ext/fox12/include/FXRbDriveBox.h +51 -0
- data/ext/fox12/include/FXRbFileDialog.h +56 -0
- data/ext/fox12/include/FXRbFileDict.h +104 -0
- data/ext/fox12/include/FXRbFileDictVirtuals.h +9 -0
- data/ext/fox12/include/FXRbFileList.h +81 -0
- data/ext/fox12/include/FXRbFileSelector.h +51 -0
- data/ext/fox12/include/FXRbFoldingItemVirtuals.h +45 -0
- data/ext/fox12/include/FXRbFoldingList.h +183 -0
- data/ext/fox12/include/FXRbFont.h +70 -0
- data/ext/fox12/include/FXRbFontDialog.h +53 -0
- data/ext/fox12/include/FXRbFontSelector.h +51 -0
- data/ext/fox12/include/FXRbFrame.h +51 -0
- data/ext/fox12/include/FXRbGIFCursor.h +60 -0
- data/ext/fox12/include/FXRbGIFIcon.h +54 -0
- data/ext/fox12/include/FXRbGIFImage.h +54 -0
- data/ext/fox12/include/FXRbGLCanvas.h +92 -0
- data/ext/fox12/include/FXRbGLCanvasVirtuals.h +13 -0
- data/ext/fox12/include/FXRbGLContext.h +58 -0
- data/ext/fox12/include/FXRbGLObject.h +103 -0
- data/ext/fox12/include/FXRbGLObjectVirtuals.h +22 -0
- data/ext/fox12/include/FXRbGLShape.h +81 -0
- data/ext/fox12/include/FXRbGLShapeVirtuals.h +8 -0
- data/ext/fox12/include/FXRbGLViewer.h +83 -0
- data/ext/fox12/include/FXRbGLViewerVirtuals.h +6 -0
- data/ext/fox12/include/FXRbGLVisual.h +56 -0
- data/ext/fox12/include/FXRbGradientBar.h +55 -0
- data/ext/fox12/include/FXRbGroupBox.h +51 -0
- data/ext/fox12/include/FXRbHeader.h +125 -0
- data/ext/fox12/include/FXRbHeaderItemVirtuals.h +22 -0
- data/ext/fox12/include/FXRbHorizontalFrame.h +51 -0
- data/ext/fox12/include/FXRbICOIcon.h +54 -0
- data/ext/fox12/include/FXRbICOImage.h +54 -0
- data/ext/fox12/include/FXRbIcon.h +57 -0
- data/ext/fox12/include/FXRbIconItemVirtuals.h +71 -0
- data/ext/fox12/include/FXRbIconList.h +266 -0
- data/ext/fox12/include/FXRbIconListVirtuals.h +21 -0
- data/ext/fox12/include/FXRbId.h +74 -0
- data/ext/fox12/include/FXRbIdVirtuals.h +9 -0
- data/ext/fox12/include/FXRbImage.h +162 -0
- data/ext/fox12/include/FXRbImageFrame.h +56 -0
- data/ext/fox12/include/FXRbImageView.h +52 -0
- data/ext/fox12/include/FXRbImageVirtuals.h +51 -0
- data/ext/fox12/include/FXRbInputDialog.h +53 -0
- data/ext/fox12/include/FXRbJPGIcon.h +54 -0
- data/ext/fox12/include/FXRbJPGImage.h +54 -0
- data/ext/fox12/include/FXRbLabel.h +51 -0
- data/ext/fox12/include/FXRbList.h +204 -0
- data/ext/fox12/include/FXRbListBox.h +56 -0
- data/ext/fox12/include/FXRbListItemVirtuals.h +36 -0
- data/ext/fox12/include/FXRbListVirtuals.h +18 -0
- data/ext/fox12/include/FXRbMDIButton.h +162 -0
- data/ext/fox12/include/FXRbMDIChild.h +82 -0
- data/ext/fox12/include/FXRbMDIChildVirtuals.h +12 -0
- data/ext/fox12/include/FXRbMDIClient.h +80 -0
- data/ext/fox12/include/FXRbMDIClientVirtuals.h +12 -0
- data/ext/fox12/include/FXRbMainWindow.h +54 -0
- data/ext/fox12/include/FXRbMatrix.h +51 -0
- data/ext/fox12/include/FXRbMenuBar.h +63 -0
- data/ext/fox12/include/FXRbMenuButton.h +51 -0
- data/ext/fox12/include/FXRbMenuCaption.h +51 -0
- data/ext/fox12/include/FXRbMenuCascade.h +51 -0
- data/ext/fox12/include/FXRbMenuCheck.h +49 -0
- data/ext/fox12/include/FXRbMenuCommand.h +49 -0
- data/ext/fox12/include/FXRbMenuPane.h +52 -0
- data/ext/fox12/include/FXRbMenuRadio.h +49 -0
- data/ext/fox12/include/FXRbMenuSeparator.h +51 -0
- data/ext/fox12/include/FXRbMenuTitle.h +51 -0
- data/ext/fox12/include/FXRbMessageBox.h +56 -0
- data/ext/fox12/include/FXRbObject.h +67 -0
- data/ext/fox12/include/FXRbObjectVirtuals.h +9 -0
- data/ext/fox12/include/FXRbOptionMenu.h +73 -0
- data/ext/fox12/include/FXRbPCXIcon.h +54 -0
- data/ext/fox12/include/FXRbPCXImage.h +54 -0
- data/ext/fox12/include/FXRbPNGIcon.h +54 -0
- data/ext/fox12/include/FXRbPNGImage.h +54 -0
- data/ext/fox12/include/FXRbPPMIcon.h +54 -0
- data/ext/fox12/include/FXRbPPMImage.h +54 -0
- data/ext/fox12/include/FXRbPacker.h +51 -0
- data/ext/fox12/include/FXRbPicker.h +51 -0
- data/ext/fox12/include/FXRbPopup.h +70 -0
- data/ext/fox12/include/FXRbPopupVirtuals.h +6 -0
- data/ext/fox12/include/FXRbPrintDialog.h +53 -0
- data/ext/fox12/include/FXRbProgressBar.h +51 -0
- data/ext/fox12/include/FXRbProgressDialog.h +53 -0
- data/ext/fox12/include/FXRbRGBIcon.h +54 -0
- data/ext/fox12/include/FXRbRGBImage.h +54 -0
- data/ext/fox12/include/FXRbRadioButton.h +51 -0
- data/ext/fox12/include/FXRbRealSlider.h +51 -0
- data/ext/fox12/include/FXRbRealSpinner.h +64 -0
- data/ext/fox12/include/FXRbRealSpinnerVirtuals.h +3 -0
- data/ext/fox12/include/FXRbRecentFiles.h +49 -0
- data/ext/fox12/include/FXRbRegistry.h +46 -0
- data/ext/fox12/include/FXRbReplaceDialog.h +53 -0
- data/ext/fox12/include/FXRbRootWindow.h +51 -0
- data/ext/fox12/include/FXRbRuler.h +56 -0
- data/ext/fox12/include/FXRbScintilla.h +52 -0
- data/ext/fox12/include/FXRbScrollArea.h +82 -0
- data/ext/fox12/include/FXRbScrollAreaVirtuals.h +13 -0
- data/ext/fox12/include/FXRbScrollBar.h +73 -0
- data/ext/fox12/include/FXRbScrollPane.h +52 -0
- data/ext/fox12/include/FXRbScrollWindow.h +52 -0
- data/ext/fox12/include/FXRbSearchDialog.h +53 -0
- data/ext/fox12/include/FXRbSeparator.h +95 -0
- data/ext/fox12/include/FXRbSettings.h +46 -0
- data/ext/fox12/include/FXRbShell.h +56 -0
- data/ext/fox12/include/FXRbShutter.h +86 -0
- data/ext/fox12/include/FXRbShutterVirtuals.h +3 -0
- data/ext/fox12/include/FXRbSlider.h +51 -0
- data/ext/fox12/include/FXRbSpinner.h +64 -0
- data/ext/fox12/include/FXRbSpinnerVirtuals.h +3 -0
- data/ext/fox12/include/FXRbSplitter.h +54 -0
- data/ext/fox12/include/FXRbSpring.h +51 -0
- data/ext/fox12/include/FXRbStatusBar.h +51 -0
- data/ext/fox12/include/FXRbStatusLine.h +51 -0
- data/ext/fox12/include/FXRbStream.h +101 -0
- data/ext/fox12/include/FXRbStreamVirtuals.h +9 -0
- data/ext/fox12/include/FXRbStringDict.h +46 -0
- data/ext/fox12/include/FXRbSwitcher.h +51 -0
- data/ext/fox12/include/FXRbTGAIcon.h +54 -0
- data/ext/fox12/include/FXRbTGAImage.h +54 -0
- data/ext/fox12/include/FXRbTIFIcon.h +54 -0
- data/ext/fox12/include/FXRbTIFImage.h +54 -0
- data/ext/fox12/include/FXRbTabBar.h +64 -0
- data/ext/fox12/include/FXRbTabBarVirtuals.h +3 -0
- data/ext/fox12/include/FXRbTabBook.h +52 -0
- data/ext/fox12/include/FXRbTabItem.h +51 -0
- data/ext/fox12/include/FXRbTable.h +416 -0
- data/ext/fox12/include/FXRbTableItemVirtuals.h +68 -0
- data/ext/fox12/include/FXRbTableVirtuals.h +73 -0
- data/ext/fox12/include/FXRbText.h +89 -0
- data/ext/fox12/include/FXRbTextField.h +51 -0
- data/ext/fox12/include/FXRbTextVirtuals.h +9 -0
- data/ext/fox12/include/FXRbToggleButton.h +51 -0
- data/ext/fox12/include/FXRbToolBar.h +80 -0
- data/ext/fox12/include/FXRbToolBarGrip.h +51 -0
- data/ext/fox12/include/FXRbToolBarShell.h +52 -0
- data/ext/fox12/include/FXRbToolBarTab.h +51 -0
- data/ext/fox12/include/FXRbToolBarVirtuals.h +6 -0
- data/ext/fox12/include/FXRbToolTip.h +51 -0
- data/ext/fox12/include/FXRbTopWindow.h +91 -0
- data/ext/fox12/include/FXRbTopWindowVirtuals.h +15 -0
- data/ext/fox12/include/FXRbTreeItemVirtuals.h +42 -0
- data/ext/fox12/include/FXRbTreeList.h +249 -0
- data/ext/fox12/include/FXRbTreeListBox.h +53 -0
- data/ext/fox12/include/FXRbTreeListVirtuals.h +30 -0
- data/ext/fox12/include/FXRbTriStateButton.h +51 -0
- data/ext/fox12/include/FXRbVerticalFrame.h +51 -0
- data/ext/fox12/include/FXRbVisual.h +56 -0
- data/ext/fox12/include/FXRbWindow.h +200 -0
- data/ext/fox12/include/FXRbWindowVirtuals.h +69 -0
- data/ext/fox12/include/FXRbWizard.h +60 -0
- data/ext/fox12/include/FXRbXBMIcon.h +54 -0
- data/ext/fox12/include/FXRbXBMImage.h +54 -0
- data/ext/fox12/include/FXRbXPMIcon.h +54 -0
- data/ext/fox12/include/FXRbXPMImage.h +54 -0
- data/ext/fox12/include/FXRuby.h +728 -0
- data/ext/fox12/include/impl.h +201 -0
- data/ext/fox12/include/inlinestubs.h +1063 -0
- data/ext/fox12/label_wrap.cpp +4945 -0
- data/ext/fox12/layout_wrap.cpp +5061 -0
- data/ext/fox12/librb.c +636 -0
- data/ext/fox12/list_wrap.cpp +2212 -0
- data/ext/fox12/markfuncs.cpp +1568 -0
- data/ext/fox12/mdi_wrap.cpp +4521 -0
- data/ext/fox12/menu_wrap.cpp +4673 -0
- data/ext/fox12/scintilla_wrap.cpp +2245 -0
- data/ext/fox12/table_wrap.cpp +3581 -0
- data/ext/fox12/text_wrap.cpp +3539 -0
- data/ext/fox12/treelist_wrap.cpp +5609 -0
- data/ext/fox12/ui_wrap.cpp +10017 -0
- data/index.html +14 -0
- data/lib/fox12/aliases.rb +5211 -0
- data/lib/fox12/calendar.rb +218 -0
- data/lib/fox12/chore.rb +51 -0
- data/lib/fox12/colors.rb +282 -0
- data/lib/fox12/core.rb +249 -0
- data/lib/fox12/dict.rb +35 -0
- data/lib/fox12/glgroup.rb +165 -0
- data/lib/fox12/glshapes.rb +457 -0
- data/lib/fox12/input.rb +56 -0
- data/lib/fox12/irb.rb +179 -0
- data/lib/fox12/iterators.rb +331 -0
- data/lib/fox12/keys.rb +1376 -0
- data/lib/fox12/missingdep.rb +16 -0
- data/lib/fox12/pseudokeyboard.rb +36 -0
- data/lib/fox12/pseudomouse.rb +84 -0
- data/lib/fox12/responder.rb +72 -0
- data/lib/fox12/responder2.rb +122 -0
- data/lib/fox12/scintilla.rb +2629 -0
- data/lib/fox12/settings.rb +18 -0
- data/lib/fox12/signal.rb +68 -0
- data/lib/fox12/timeout.rb +58 -0
- data/lib/fox12/undolist.rb +456 -0
- data/lib/fox12/version.rb +11 -0
- data/rdoc-sources/FX4Splitter.rb +138 -0
- data/rdoc-sources/FXAccelTable.rb +67 -0
- data/rdoc-sources/FXApp.rb +557 -0
- data/rdoc-sources/FXArrowButton.rb +69 -0
- data/rdoc-sources/FXBMPIcon.rb +45 -0
- data/rdoc-sources/FXBMPImage.rb +20 -0
- data/rdoc-sources/FXBitmap.rb +78 -0
- data/rdoc-sources/FXBitmapFrame.rb +29 -0
- data/rdoc-sources/FXBitmapView.rb +41 -0
- data/rdoc-sources/FXButton.rb +43 -0
- data/rdoc-sources/FXCURCursor.rb +13 -0
- data/rdoc-sources/FXCanvas.rb +18 -0
- data/rdoc-sources/FXCheckButton.rb +57 -0
- data/rdoc-sources/FXColorBar.rb +43 -0
- data/rdoc-sources/FXColorDialog.rb +36 -0
- data/rdoc-sources/FXColorSelector.rb +65 -0
- data/rdoc-sources/FXColorWell.rb +57 -0
- data/rdoc-sources/FXColorWheel.rb +35 -0
- data/rdoc-sources/FXComboBox.rb +153 -0
- data/rdoc-sources/FXComposite.rb +34 -0
- data/rdoc-sources/FXCursor.rb +67 -0
- data/rdoc-sources/FXDC.rb +667 -0
- data/rdoc-sources/FXDCPrint.rb +127 -0
- data/rdoc-sources/FXDCWindow.rb +37 -0
- data/rdoc-sources/FXDataTarget.rb +41 -0
- data/rdoc-sources/FXDebugTarget.rb +25 -0
- data/rdoc-sources/FXDelegator.rb +23 -0
- data/rdoc-sources/FXDial.rb +68 -0
- data/rdoc-sources/FXDialogBox.rb +36 -0
- data/rdoc-sources/FXDict.rb +79 -0
- data/rdoc-sources/FXDirBox.rb +49 -0
- data/rdoc-sources/FXDirDialog.rb +18 -0
- data/rdoc-sources/FXDirList.rb +143 -0
- data/rdoc-sources/FXDirSelector.rb +30 -0
- data/rdoc-sources/FXDocument.rb +29 -0
- data/rdoc-sources/FXDragCorner.rb +19 -0
- data/rdoc-sources/FXDrawable.rb +27 -0
- data/rdoc-sources/FXDriveBox.rb +46 -0
- data/rdoc-sources/FXFileDialog.rb +132 -0
- data/rdoc-sources/FXFileDict.rb +168 -0
- data/rdoc-sources/FXFileList.rb +163 -0
- data/rdoc-sources/FXFileSelector.rb +148 -0
- data/rdoc-sources/FXFileStream.rb +24 -0
- data/rdoc-sources/FXFoldingList.rb +453 -0
- data/rdoc-sources/FXFont.rb +345 -0
- data/rdoc-sources/FXFontDialog.rb +14 -0
- data/rdoc-sources/FXFontSelector.rb +37 -0
- data/rdoc-sources/FXFrame.rb +47 -0
- data/rdoc-sources/FXGIFCursor.rb +38 -0
- data/rdoc-sources/FXGIFIcon.rb +21 -0
- data/rdoc-sources/FXGIFImage.rb +19 -0
- data/rdoc-sources/FXGLCanvas.rb +45 -0
- data/rdoc-sources/FXGLContext.rb +41 -0
- data/rdoc-sources/FXGLObject.rb +75 -0
- data/rdoc-sources/FXGLShape.rb +75 -0
- data/rdoc-sources/FXGLViewer.rb +309 -0
- data/rdoc-sources/FXGLVisual.rb +94 -0
- data/rdoc-sources/FXGradientBar.rb +291 -0
- data/rdoc-sources/FXGroupBox.rb +33 -0
- data/rdoc-sources/FXHeader.rb +377 -0
- data/rdoc-sources/FXHorizontalFrame.rb +29 -0
- data/rdoc-sources/FXICOIcon.rb +50 -0
- data/rdoc-sources/FXICOImage.rb +21 -0
- data/rdoc-sources/FXIcon.rb +38 -0
- data/rdoc-sources/FXIconList.rb +418 -0
- data/rdoc-sources/FXId.rb +34 -0
- data/rdoc-sources/FXImage.rb +198 -0
- data/rdoc-sources/FXImageFrame.rb +22 -0
- data/rdoc-sources/FXImageView.rb +35 -0
- data/rdoc-sources/FXInputDialog.rb +62 -0
- data/rdoc-sources/FXJPGIcon.rb +52 -0
- data/rdoc-sources/FXJPGImage.rb +25 -0
- data/rdoc-sources/FXLabel.rb +66 -0
- data/rdoc-sources/FXList.rb +412 -0
- data/rdoc-sources/FXListBox.rb +158 -0
- data/rdoc-sources/FXMDIButton.rb +67 -0
- data/rdoc-sources/FXMDIChild.rb +145 -0
- data/rdoc-sources/FXMDIClient.rb +67 -0
- data/rdoc-sources/FXMainWindow.rb +20 -0
- data/rdoc-sources/FXMat4.rb +171 -0
- data/rdoc-sources/FXMatrix.rb +57 -0
- data/rdoc-sources/FXMemoryBuffer.rb +19 -0
- data/rdoc-sources/FXMemoryStream.rb +45 -0
- data/rdoc-sources/FXMenuBar.rb +23 -0
- data/rdoc-sources/FXMenuButton.rb +84 -0
- data/rdoc-sources/FXMenuCaption.rb +47 -0
- data/rdoc-sources/FXMenuCascade.rb +18 -0
- data/rdoc-sources/FXMenuCheck.rb +30 -0
- data/rdoc-sources/FXMenuCommand.rb +27 -0
- data/rdoc-sources/FXMenuPane.rb +13 -0
- data/rdoc-sources/FXMenuRadio.rb +30 -0
- data/rdoc-sources/FXMenuSeparator.rb +21 -0
- data/rdoc-sources/FXMenuTitle.rb +27 -0
- data/rdoc-sources/FXMessageBox.rb +77 -0
- data/rdoc-sources/FXObject.rb +22 -0
- data/rdoc-sources/FXOptionMenu.rb +76 -0
- data/rdoc-sources/FXPCXIcon.rb +48 -0
- data/rdoc-sources/FXPCXImage.rb +21 -0
- data/rdoc-sources/FXPNGIcon.rb +48 -0
- data/rdoc-sources/FXPNGImage.rb +21 -0
- data/rdoc-sources/FXPPMIcon.rb +21 -0
- data/rdoc-sources/FXPPMImage.rb +21 -0
- data/rdoc-sources/FXPacker.rb +62 -0
- data/rdoc-sources/FXPicker.rb +27 -0
- data/rdoc-sources/FXPopup.rb +53 -0
- data/rdoc-sources/FXPrintDialog.rb +36 -0
- data/rdoc-sources/FXProgressBar.rb +57 -0
- data/rdoc-sources/FXProgressDialog.rb +36 -0
- data/rdoc-sources/FXQuatd.rb +1 -0
- data/rdoc-sources/FXQuatf.rb +1 -0
- data/rdoc-sources/FXRGBIcon.rb +49 -0
- data/rdoc-sources/FXRGBImage.rb +21 -0
- data/rdoc-sources/FXRadioButton.rb +64 -0
- data/rdoc-sources/FXRanged.rb +97 -0
- data/rdoc-sources/FXRangef.rb +97 -0
- data/rdoc-sources/FXRealSlider.rb +99 -0
- data/rdoc-sources/FXRealSpinner.rb +133 -0
- data/rdoc-sources/FXRecentFiles.rb +73 -0
- data/rdoc-sources/FXRectangle.rb +137 -0
- data/rdoc-sources/FXRegion.rb +64 -0
- data/rdoc-sources/FXRegistry.rb +39 -0
- data/rdoc-sources/FXReplaceDialog.rb +56 -0
- data/rdoc-sources/FXRootWindow.rb +17 -0
- data/rdoc-sources/FXRuler.rb +60 -0
- data/rdoc-sources/FXScintilla.rb +121 -0
- data/rdoc-sources/FXScrollArea.rb +86 -0
- data/rdoc-sources/FXScrollBar.rb +101 -0
- data/rdoc-sources/FXScrollPane.rb +23 -0
- data/rdoc-sources/FXScrollWindow.rb +38 -0
- data/rdoc-sources/FXSearchDialog.rb +24 -0
- data/rdoc-sources/FXSeparator.rb +64 -0
- data/rdoc-sources/FXSettings.rb +222 -0
- data/rdoc-sources/FXShell.rb +7 -0
- data/rdoc-sources/FXShutter.rb +97 -0
- data/rdoc-sources/FXSize.rb +30 -0
- data/rdoc-sources/FXSlider.rb +96 -0
- data/rdoc-sources/FXSphered.rb +65 -0
- data/rdoc-sources/FXSpheref.rb +65 -0
- data/rdoc-sources/FXSpinner.rb +132 -0
- data/rdoc-sources/FXSplitter.rb +88 -0
- data/rdoc-sources/FXSpring.rb +61 -0
- data/rdoc-sources/FXStatusBar.rb +42 -0
- data/rdoc-sources/FXStatusLine.rb +60 -0
- data/rdoc-sources/FXStream.rb +115 -0
- data/rdoc-sources/FXStringDict.rb +38 -0
- data/rdoc-sources/FXSwitcher.rb +78 -0
- data/rdoc-sources/FXTGAIcon.rb +48 -0
- data/rdoc-sources/FXTGAImage.rb +21 -0
- data/rdoc-sources/FXTIFIcon.rb +52 -0
- data/rdoc-sources/FXTIFImage.rb +24 -0
- data/rdoc-sources/FXTabBar.rb +76 -0
- data/rdoc-sources/FXTabBook.rb +38 -0
- data/rdoc-sources/FXTabItem.rb +51 -0
- data/rdoc-sources/FXTable.rb +654 -0
- data/rdoc-sources/FXText.rb +533 -0
- data/rdoc-sources/FXTextField.rb +141 -0
- data/rdoc-sources/FXToggleButton.rb +69 -0
- data/rdoc-sources/FXToolBar.rb +121 -0
- data/rdoc-sources/FXToolBarGrip.rb +55 -0
- data/rdoc-sources/FXToolBarShell.rb +44 -0
- data/rdoc-sources/FXToolTip.rb +36 -0
- data/rdoc-sources/FXTopWindow.rb +92 -0
- data/rdoc-sources/FXTreeList.rb +503 -0
- data/rdoc-sources/FXTreeListBox.rb +182 -0
- data/rdoc-sources/FXTriStateButton.rb +49 -0
- data/rdoc-sources/FXVec.rb +97 -0
- data/rdoc-sources/FXVec4.rb +91 -0
- data/rdoc-sources/FXVerticalFrame.rb +29 -0
- data/rdoc-sources/FXVisual.rb +79 -0
- data/rdoc-sources/FXWindow.rb +633 -0
- data/rdoc-sources/FXWizard.rb +63 -0
- data/rdoc-sources/FXXBMIcon.rb +22 -0
- data/rdoc-sources/FXXBMImage.rb +22 -0
- data/rdoc-sources/FXXPMIcon.rb +50 -0
- data/rdoc-sources/FXXPMImage.rb +21 -0
- data/rdoc-sources/README.rdoc +53 -0
- data/rdoc-sources/fxdefs.rb +90 -0
- data/tests/README +19 -0
- data/tests/TC_FXAccelTable.rb +43 -0
- data/tests/TC_FXApp.rb +15 -0
- data/tests/TC_FXArc.rb +26 -0
- data/tests/TC_FXButton.rb +72 -0
- data/tests/TC_FXCheckButton.rb +57 -0
- data/tests/TC_FXComboBox.rb +36 -0
- data/tests/TC_FXDC.rb +372 -0
- data/tests/TC_FXDCPrint.rb +102 -0
- data/tests/TC_FXDCWindow.rb +23 -0
- data/tests/TC_FXDataTarget.rb +24 -0
- data/tests/TC_FXDirList.rb +30 -0
- data/tests/TC_FXFileAssoc.rb +62 -0
- data/tests/TC_FXFileStream.rb +90 -0
- data/tests/TC_FXFont.rb +59 -0
- data/tests/TC_FXFontDesc.rb +62 -0
- data/tests/TC_FXGLGroup.rb +32 -0
- data/tests/TC_FXGLShape.rb +28 -0
- data/tests/TC_FXGLViewer.rb +18 -0
- data/tests/TC_FXGradientBar.rb +89 -0
- data/tests/TC_FXHeader.rb +82 -0
- data/tests/TC_FXIconDict.rb +52 -0
- data/tests/TC_FXIconList.rb +192 -0
- data/tests/TC_FXId.rb +19 -0
- data/tests/TC_FXImage.rb +144 -0
- data/tests/TC_FXLight.rb +33 -0
- data/tests/TC_FXList.rb +116 -0
- data/tests/TC_FXListBox.rb +49 -0
- data/tests/TC_FXMat4f.rb +228 -0
- data/tests/TC_FXMaterial.rb +75 -0
- data/tests/TC_FXMemoryStream.rb +87 -0
- data/tests/TC_FXMenuCommand.rb +26 -0
- data/tests/TC_FXPoint.rb +57 -0
- data/tests/TC_FXQuatf.rb +77 -0
- data/tests/TC_FXRadioButton.rb +57 -0
- data/tests/TC_FXRangef.rb +48 -0
- data/tests/TC_FXRectangle.rb +88 -0
- data/tests/TC_FXRegion.rb +54 -0
- data/tests/TC_FXRegistry.rb +27 -0
- data/tests/TC_FXScrollArea.rb +28 -0
- data/tests/TC_FXScrollWindow.rb +28 -0
- data/tests/TC_FXSegment.rb +22 -0
- data/tests/TC_FXShell.rb +26 -0
- data/tests/TC_FXSize.rb +54 -0
- data/tests/TC_FXStream.rb +11 -0
- data/tests/TC_FXTable.rb +468 -0
- data/tests/TC_FXTableItem.rb +48 -0
- data/tests/TC_FXText.rb +81 -0
- data/tests/TC_FXTopWindow.rb +32 -0
- data/tests/TC_FXTreeList.rb +83 -0
- data/tests/TC_FXTreeListBox.rb +23 -0
- data/tests/TC_FXUndoList.rb +43 -0
- data/tests/TC_FXVec2d.rb +142 -0
- data/tests/TC_FXVec2f.rb +137 -0
- data/tests/TC_FXVec3d.rb +150 -0
- data/tests/TC_FXVec3f.rb +150 -0
- data/tests/TC_FXVec4f.rb +158 -0
- data/tests/TC_FXViewport.rb +30 -0
- data/tests/TC_Misc.rb +157 -0
- data/tests/TC_downcast.rb +15 -0
- data/tests/TS_All.rb +25 -0
- data/tests/blankpage.ps +166 -0
- data/tests/doit.rb +5 -0
- data/tests/howdypage.ps +181 -0
- data/tests/stress1.rb +94 -0
- data/tests/stress2.rb +51 -0
- data/tests/stress3.rb +117 -0
- data/tests/testcase.rb +38 -0
- data/web/art/fxrubylogo.png +0 -0
- data/web/art/fxrubylogo_small.png +0 -0
- data/web/art/line.gif +0 -0
- data/web/art/oul_grey.gif +0 -0
- data/web/art/our.gif +0 -0
- data/web/downloads.html +91 -0
- data/web/home.html +109 -0
- data/web/menu.html +50 -0
- data/web/styles.css +167 -0
- data/web/top.html +15 -0
- metadata +737 -0
@@ -0,0 +1,79 @@
|
|
1
|
+
module Fox
|
2
|
+
#
|
3
|
+
# An FXVisual instance describes the pixel format for a drawable (i.e. an FXDrawable instance).
|
4
|
+
#
|
5
|
+
# === Construction options for FXVisual
|
6
|
+
#
|
7
|
+
# +VISUAL_DEFAULT+:: Default visual
|
8
|
+
# +VISUAL_MONOCHROME+:: Must be monochrome visual
|
9
|
+
# +VISUAL_BEST+:: Best (deepest) visual
|
10
|
+
# +VISUAL_INDEXCOLOR+:: Palette visual
|
11
|
+
# +VISUAL_GRAYSCALE+:: Gray scale visual
|
12
|
+
# +VISUAL_TRUECOLOR+:: Must be true color visual
|
13
|
+
# +VISUAL_OWNCOLORMAP+:: Allocate private colormap
|
14
|
+
# +VISUAL_DOUBLEBUFFER+:: Double-buffered [FXGLVisual]
|
15
|
+
# +VISUAL_STEREO+:: Stereo [FXGLVisual]
|
16
|
+
# +VISUAL_NOACCEL+:: No hardware acceleration [for broken h/w]
|
17
|
+
# +VISUAL_SWAP_COPY+:: Buffer swap by copying (for FXGLVisual)
|
18
|
+
#
|
19
|
+
# === Visual type
|
20
|
+
#
|
21
|
+
# +VISUALTYPE_UNKNOWN+:: Undetermined visual type
|
22
|
+
# +VISUALTYPE_MONO+:: Visual for drawing into 1-bpp surfaces
|
23
|
+
# +VISUALTYPE_TRUE+:: True color
|
24
|
+
# +VISUALTYPE_INDEX+:: Index [palette] color
|
25
|
+
# +VISUALTYPE_GRAY+:: Gray scale
|
26
|
+
#
|
27
|
+
class FXVisual < FXId
|
28
|
+
# Visual construction flags [Integer]
|
29
|
+
attr_reader :flags
|
30
|
+
|
31
|
+
# Visual depth, i.e. number of significant bits in color representation [Integer]
|
32
|
+
attr_reader :depth
|
33
|
+
|
34
|
+
# Number of colors [Integer]
|
35
|
+
attr_reader :numColors
|
36
|
+
|
37
|
+
# Number of bits of red [Integer]
|
38
|
+
attr_reader :numRed
|
39
|
+
|
40
|
+
# Number of bits of green [Integer]
|
41
|
+
attr_reader :numGreen
|
42
|
+
|
43
|
+
# Number of bits of blue [Integer]
|
44
|
+
attr_reader :numBlue
|
45
|
+
|
46
|
+
# Maximum number of colors [Integer]
|
47
|
+
attr_accessor :maxColors
|
48
|
+
|
49
|
+
#
|
50
|
+
# The visual type, one of +VISUALTYPE_MONO+, +VISUALTYPE_TRUE+
|
51
|
+
# +VISUALTYPE_INDEX+ or +VISUALTYPE_GRAY+. The visual type
|
52
|
+
# may also be +VISUALTYPE_UNKNOWN+ before the visual is actually
|
53
|
+
# created.
|
54
|
+
#
|
55
|
+
attr_reader :visualType
|
56
|
+
|
57
|
+
#
|
58
|
+
# Return an initialized FXVisual instance.
|
59
|
+
#
|
60
|
+
# ==== Parameters:
|
61
|
+
#
|
62
|
+
# +a+:: an application instance [FXApp]
|
63
|
+
# +flgs+:: visual construction flags [Integer]
|
64
|
+
# +d+:: requested visual depth, in bits [Integer]
|
65
|
+
#
|
66
|
+
def initialize(a, flgs, d=32); end
|
67
|
+
|
68
|
+
#
|
69
|
+
# Get device pixel value for color value _clr_.
|
70
|
+
#
|
71
|
+
def getPixel(clr); end
|
72
|
+
|
73
|
+
#
|
74
|
+
# Get color value for device pixel value _pix_.
|
75
|
+
#
|
76
|
+
def getColor(pix); end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
@@ -0,0 +1,633 @@
|
|
1
|
+
module Fox
|
2
|
+
#
|
3
|
+
# Base class for all windows
|
4
|
+
#
|
5
|
+
# === Events
|
6
|
+
#
|
7
|
+
# The following messages are sent by FXWindow to its target:
|
8
|
+
#
|
9
|
+
# +SEL_MAP+:: sent when the window is mapped to the screen; the message data is an FXEvent instance.
|
10
|
+
# +SEL_UNMAP+:: sent when the window is unmapped; the message data is an FXEvent instance.
|
11
|
+
# +SEL_CONFIGURE+:: sent when the window's size changes; the message data is an FXEvent instance.
|
12
|
+
# +SEL_ENTER+:: sent when the mouse cursor enters this window
|
13
|
+
# +SEL_LEAVE+:: sent when the mouse cursor leaves this window
|
14
|
+
# +SEL_FOCUSIN+:: sent when this window gains the focus
|
15
|
+
# +SEL_FOCUSOUT+:: sent when this window loses the focus
|
16
|
+
# +SEL_UPDATE+:: sent when this window needs an update
|
17
|
+
# +SEL_UNGRABBED+:: sent when this window loses the mouse grab (or capture)
|
18
|
+
#
|
19
|
+
# For each of the following keyboard-related events, the message data is an FXEvent instance:
|
20
|
+
#
|
21
|
+
# +SEL_KEYPRESS+:: sent when a key is pressed
|
22
|
+
# +SEL_KEYRELEASE+:: sent when a key is released
|
23
|
+
#
|
24
|
+
# For each of the following mouse-related events, the message data is an FXEvent instance:
|
25
|
+
#
|
26
|
+
# +SEL_MOTION+:: sent when the mouse moves
|
27
|
+
# +SEL_LEFTBUTTONPRESS+:: sent when the left mouse button goes down
|
28
|
+
# +SEL_LEFTBUTTONRELEASE+:: sent when the left mouse button goes up
|
29
|
+
# +SEL_MIDDLEBUTTONPRESS+:: sent when the middle mouse button goes down
|
30
|
+
# +SEL_MIDDLEBUTTONRELEASE+:: sent when the middle mouse button goes up
|
31
|
+
# +SEL_RIGHTBUTTONPRESS+:: sent when the right mouse button goes down
|
32
|
+
# +SEL_RIGHTBUTTONRELEASE+:: sent when the right mouse button goes up
|
33
|
+
# +SEL_MOUSEWHEEL+:: sent when the mouse wheel is scrolled
|
34
|
+
#
|
35
|
+
# For each of the following selection-related events, the message data is an FXEvent instance:
|
36
|
+
#
|
37
|
+
# +SEL_SELECTION_GAINED+:: sent when this window acquires the selection
|
38
|
+
# +SEL_SELECTION_LOST+:: sent when this window loses the selection
|
39
|
+
# +SEL_SELECTION_REQUEST+:: sent when this window's selection is requested
|
40
|
+
#
|
41
|
+
# For each of the following clipboard-related events, the message data is an FXEvent instance:
|
42
|
+
#
|
43
|
+
# +SEL_CLIPBOARD_GAINED+:: sent when this window acquires the clipboard
|
44
|
+
# +SEL_CLIPBOARD_LOST+:: sent when this window loses the clipboard
|
45
|
+
# +SEL_CLIPBOARD_REQUEST+:: sent when this window's clipboard data is requested
|
46
|
+
#
|
47
|
+
# For each of the following drag-and-drop events, the message data is an FXEvent instance:
|
48
|
+
#
|
49
|
+
# +SEL_BEGINDRAG+:: sent at the beginning of a drag operation
|
50
|
+
# +SEL_DRAGGED+:: sent while stuff is being dragged around
|
51
|
+
# +SEL_ENDDRAG+:: sent at the end of a drag operation
|
52
|
+
# +SEL_DND_ENTER+:: drag-and-drop enter
|
53
|
+
# +SEL_DND_LEAVE+:: drag-and-drop leave
|
54
|
+
# +SEL_DND_MOTION+:: drag-and-drop motion
|
55
|
+
# +SEL_DND_DROP+:: drag-and-drop motion
|
56
|
+
# +SEL_DND_REQUEST+:: drag-and-drop request
|
57
|
+
#
|
58
|
+
# === Layout hints for child widgets
|
59
|
+
#
|
60
|
+
# +LAYOUT_NORMAL+:: Default layout mode
|
61
|
+
# +LAYOUT_SIDE_TOP+:: Pack on top side (default)
|
62
|
+
# +LAYOUT_SIDE_BOTTOM+:: Pack on bottom side
|
63
|
+
# +LAYOUT_SIDE_LEFT+:: Pack on left side
|
64
|
+
# +LAYOUT_SIDE_RIGHT+:: Pack on right side
|
65
|
+
# +LAYOUT_FILL_COLUMN+:: Matrix column is stretchable
|
66
|
+
# +LAYOUT_FILL_ROW+:: Matrix row is stretchable
|
67
|
+
# +LAYOUT_LEFT+:: Stick on left (default)
|
68
|
+
# +LAYOUT_RIGHT+:: Stick on right
|
69
|
+
# +LAYOUT_CENTER_X+:: Center horizontally
|
70
|
+
# +LAYOUT_FIX_X+:: X fixed
|
71
|
+
# +LAYOUT_TOP+:: Stick on top (default)
|
72
|
+
# +LAYOUT_BOTTOM+:: Stick on bottom
|
73
|
+
# +LAYOUT_CENTER_Y+:: Center vertically
|
74
|
+
# +LAYOUT_FIX_Y+:: Y fixed
|
75
|
+
# +LAYOUT_FIX_WIDTH+:: Width fixed
|
76
|
+
# +LAYOUT_FIX_HEIGHT+:: Height fixed
|
77
|
+
# +LAYOUT_MIN_WIDTH+:: Minimum width is the default
|
78
|
+
# +LAYOUT_MIN_HEIGHT+:: Minimum height is the default
|
79
|
+
# +LAYOUT_FILL_X+:: Stretch or shrink horizontally
|
80
|
+
# +LAYOUT_FILL_Y+:: Stretch or shrink vertically
|
81
|
+
# +LAYOUT_EXPLICIT+:: Explicit placement
|
82
|
+
#
|
83
|
+
# === Frame border appearance styles (for subclasses)
|
84
|
+
#
|
85
|
+
# +FRAME_NONE+:: Default is no frame
|
86
|
+
# +FRAME_SUNKEN+:: Sunken border
|
87
|
+
# +FRAME_RAISED+:: Raised border
|
88
|
+
# +FRAME_THICK+:: Thick border
|
89
|
+
# +FRAME_GROOVE+:: A groove or etched-in border
|
90
|
+
# +FRAME_RIDGE+:: A ridge or embossed border
|
91
|
+
# +FRAME_LINE+:: Simple line border
|
92
|
+
# +FRAME_NORMAL+:: Regular raised/thick border
|
93
|
+
#
|
94
|
+
# === Packing style (for packers)
|
95
|
+
#
|
96
|
+
# +PACK_NORMAL+:: Default is each its own size
|
97
|
+
# +PACK_UNIFORM_HEIGHT+:: Uniform height
|
98
|
+
# +PACK_UNIFORM_WIDTH+:: Uniform width
|
99
|
+
#
|
100
|
+
# === Message IDs common to most windows
|
101
|
+
#
|
102
|
+
# +ID_NONE+:: x
|
103
|
+
# +ID_HIDE+:: x
|
104
|
+
# +ID_SHOW+:: x
|
105
|
+
# +ID_TOGGLESHOWN+:: x
|
106
|
+
# +ID_LOWER+:: x
|
107
|
+
# +ID_RAISE+:: x
|
108
|
+
# +ID_DELETE+:: x
|
109
|
+
# +ID_DISABLE+:: x
|
110
|
+
# +ID_ENABLE+:: x
|
111
|
+
# +ID_UNCHECK+:: x
|
112
|
+
# +ID_CHECK+:: x
|
113
|
+
# +ID_UNKNOWN+:: x
|
114
|
+
# +ID_UPDATE+:: x
|
115
|
+
# +ID_AUTOSCROLL+:: x
|
116
|
+
# +ID_HSCROLLED+:: x
|
117
|
+
# +ID_VSCROLLED+:: x
|
118
|
+
# +ID_SETVALUE+:: x
|
119
|
+
# +ID_SETINTVALUE+:: x
|
120
|
+
# +ID_SETREALVALUE+:: x
|
121
|
+
# +ID_SETSTRINGVALUE+:: x
|
122
|
+
# +ID_SETINTRANGE+:: x
|
123
|
+
# +ID_SETREALRANGE+:: x
|
124
|
+
# +ID_GETINTVALUE+:: x
|
125
|
+
# +ID_GETREALVALUE+:: x
|
126
|
+
# +ID_GETSTRINGVALUE+:: x
|
127
|
+
# +ID_GETINTRANGE+:: x
|
128
|
+
# +ID_GETREALRANGE+:: x
|
129
|
+
# +ID_QUERY_TIP+:: x
|
130
|
+
# +ID_QUERY_HELP+:: x
|
131
|
+
# +ID_QUERY_MENU+:: x
|
132
|
+
# +ID_HOTKEY+:: x
|
133
|
+
# +ID_ACCEL+:: x
|
134
|
+
# +ID_UNPOST+:: x
|
135
|
+
# +ID_POST+:: x
|
136
|
+
# +ID_MDI_TILEHORIZONTAL+:: x
|
137
|
+
# +ID_MDI_TILEVERTICAL+:: x
|
138
|
+
# +ID_MDI_CASCADE+:: x
|
139
|
+
# +ID_MDI_MAXIMIZE+:: x
|
140
|
+
# +ID_MDI_MINIMIZE+:: x
|
141
|
+
# +ID_MDI_RESTORE+:: x
|
142
|
+
# +ID_MDI_CLOSE+:: x
|
143
|
+
# +ID_MDI_WINDOW+:: x
|
144
|
+
# +ID_MDI_MENUWINDOW+:: x
|
145
|
+
# +ID_MDI_MENUMINIMIZE+:: x
|
146
|
+
# +ID_MDI_MENURESTORE+:: x
|
147
|
+
# +ID_MDI_MENUCLOSE+:: x
|
148
|
+
# +ID_MDI_NEXT+:: x
|
149
|
+
# +ID_MDI_PREV+:: x
|
150
|
+
|
151
|
+
class FXWindow < FXDrawable
|
152
|
+
|
153
|
+
# This window's parent window [FXWindow]
|
154
|
+
attr_reader :parent
|
155
|
+
|
156
|
+
# This window's owner window [FXWindow]
|
157
|
+
attr_reader :owner
|
158
|
+
|
159
|
+
# The shell window for this window [FXWindow]
|
160
|
+
attr_reader :shell
|
161
|
+
|
162
|
+
# Root window [FXWindow]
|
163
|
+
attr_reader :root
|
164
|
+
|
165
|
+
# Next (sibling) window, if any [FXWindow]
|
166
|
+
attr_reader :next
|
167
|
+
|
168
|
+
# Previous (sibling) window, if any [FXWindow]
|
169
|
+
attr_reader :prev
|
170
|
+
|
171
|
+
# This window's first child window, if any [FXWindow]
|
172
|
+
attr_reader :first
|
173
|
+
|
174
|
+
# This window's last child window, if any [FXWindow]
|
175
|
+
attr_reader :last
|
176
|
+
|
177
|
+
# Currently focused child window, if any [FXWindow]
|
178
|
+
attr_reader :focus
|
179
|
+
|
180
|
+
# Window key [Integer]
|
181
|
+
attr_accessor :key
|
182
|
+
|
183
|
+
# Message target object for this window [FXObject]
|
184
|
+
attr_accessor :target
|
185
|
+
|
186
|
+
# Message identifier for this window [Integer]
|
187
|
+
attr_accessor :selector
|
188
|
+
|
189
|
+
# This window's x-coordinate, in the parent's coordinate system [Integer]
|
190
|
+
attr_accessor :x
|
191
|
+
|
192
|
+
# This window's y-coordinate, in the parent's coordinate system [Integer]
|
193
|
+
attr_accessor :y
|
194
|
+
|
195
|
+
# Window width, in pixels [Integer]
|
196
|
+
attr_accessor :width
|
197
|
+
|
198
|
+
# Window height, in pixels [Integer]
|
199
|
+
attr_accessor :height
|
200
|
+
|
201
|
+
# The accelerator table for this window [FXAccelTable]
|
202
|
+
attr_accessor :accelTable
|
203
|
+
|
204
|
+
# Layout hints for this window [Integer]
|
205
|
+
attr_accessor :layoutHints
|
206
|
+
|
207
|
+
# Number of child windows for this window [Integer]
|
208
|
+
attr_reader :numChildren
|
209
|
+
|
210
|
+
# Default cursor for this window [FXCursor]
|
211
|
+
attr_accessor :defaultCursor
|
212
|
+
|
213
|
+
# Drag cursor for this window [FXCursor]
|
214
|
+
attr_accessor :dragCursor
|
215
|
+
|
216
|
+
# Window background color [FXColor]
|
217
|
+
attr_accessor :backColor
|
218
|
+
|
219
|
+
# Common DND type: Delete request
|
220
|
+
def FXWindow.deleteType; end
|
221
|
+
|
222
|
+
# Common DND type: ASCII text
|
223
|
+
def FXWindow.textType; end
|
224
|
+
|
225
|
+
# Common DND type: Color
|
226
|
+
def FXWindow.colorType; end
|
227
|
+
|
228
|
+
# Common DND type: URI List
|
229
|
+
def FXWindow.urilistType; end
|
230
|
+
|
231
|
+
# Common DND type: Clipboard text type (pre-registered)
|
232
|
+
def FXWindow.stringType; end
|
233
|
+
|
234
|
+
# Common DND type: Clipboard image type (pre-registered)
|
235
|
+
def FXWindow.imageType; end
|
236
|
+
|
237
|
+
# Common DND type name: Delete request
|
238
|
+
def FXWindow.deleteTypeName() ; end
|
239
|
+
|
240
|
+
# Common DND type name: ASCII text
|
241
|
+
def FXWindow.textTypeName() ; end
|
242
|
+
|
243
|
+
# Common DND type name: Color
|
244
|
+
def FXWindow.colorTypeName() ; end
|
245
|
+
|
246
|
+
# Common DND type name: URI List
|
247
|
+
def FXWindow.urilistTypeName() ; end
|
248
|
+
|
249
|
+
#
|
250
|
+
# Return an initialized FXWindow instance, for a child window.
|
251
|
+
#
|
252
|
+
# ==== Parameters:
|
253
|
+
#
|
254
|
+
# +p+:: the parent window for this window [FXComposite]
|
255
|
+
# +opts+:: window options [Integer]
|
256
|
+
# +x+:: initial x-position [Integer]
|
257
|
+
# +y+:: initial y-position [Integer]
|
258
|
+
# +w+:: initial width [Integer]
|
259
|
+
# +h+:: initial height [Integer]
|
260
|
+
#
|
261
|
+
def initialize(p, opts=0, x=0, y=0, w=0, h=0) # :yields: theWindow
|
262
|
+
end
|
263
|
+
|
264
|
+
#
|
265
|
+
# Return an initialized FXWindow instance, for a shell window.
|
266
|
+
#
|
267
|
+
# ==== Parameters:
|
268
|
+
#
|
269
|
+
# +a+:: an application instance [FXApp]
|
270
|
+
# +vis+:: the visual to use for this window [FXVisual]
|
271
|
+
#
|
272
|
+
def initialize(a, vis) # :yields: theWindow
|
273
|
+
end
|
274
|
+
|
275
|
+
#
|
276
|
+
# Return an initialized FXWindow instance, for an owned window.
|
277
|
+
#
|
278
|
+
# ==== Parameters:
|
279
|
+
#
|
280
|
+
# +a+:: an application instance [FXApp]
|
281
|
+
# +own+:: the owner window for this window [FXWindow]
|
282
|
+
# +opts+:: window options [Integer]
|
283
|
+
# +x+:: initial x-position [Integer]
|
284
|
+
# +y+:: initial y-position [Integer]
|
285
|
+
# +w+:: initial width [Integer]
|
286
|
+
# +h+:: initial height [Integer]
|
287
|
+
#
|
288
|
+
def initialize(a, own, opts, x, y, w, h) # :yields: theWindow
|
289
|
+
end
|
290
|
+
|
291
|
+
# Return the default width of this window
|
292
|
+
def defaultWidth(); end
|
293
|
+
|
294
|
+
# Return the default height of this window
|
295
|
+
def defaultHeight(); end
|
296
|
+
|
297
|
+
# Return width for given height
|
298
|
+
def getWidthForHeight(givenHeight); end
|
299
|
+
|
300
|
+
# Return height for given width
|
301
|
+
def getHeightForWidth(givenWidth); end
|
302
|
+
|
303
|
+
#
|
304
|
+
# Add this hot key to the closest ancestor's accelerator table.
|
305
|
+
#
|
306
|
+
def addHotKey(code)
|
307
|
+
accel = nil
|
308
|
+
win = self
|
309
|
+
while win && (accel = win.accelTable).nil?
|
310
|
+
win = win.parent
|
311
|
+
end
|
312
|
+
if accel
|
313
|
+
accel.addAccel(code, self, MKUINT(ID_HOTKEY, SEL_KEYPRESS), MKUINT(ID_HOTKEY, SEL_KEYRELEASE))
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
#
|
318
|
+
# Remove this hot key from the closest ancestor's accelerator
|
319
|
+
# table.
|
320
|
+
#
|
321
|
+
def remHotKey(code)
|
322
|
+
accel = nil
|
323
|
+
win = self
|
324
|
+
while win && (accel = win.accelTable).nil?
|
325
|
+
win = win.parent
|
326
|
+
end
|
327
|
+
if accel
|
328
|
+
accel.removeAccel(code)
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
# Return +true+ if this window is a shell window.
|
333
|
+
def shell?() ; end
|
334
|
+
|
335
|
+
#
|
336
|
+
# Return +true+ if specified _window_ is ancestor of this window.
|
337
|
+
#
|
338
|
+
def childOf?(window) ; end
|
339
|
+
|
340
|
+
#
|
341
|
+
# Return +true+ if this window contains _child_ in its subtree.
|
342
|
+
#
|
343
|
+
def containsChild?(child) ; end
|
344
|
+
|
345
|
+
# Return the child window at specified coordinates (_x_, _y_)
|
346
|
+
def getChildAt(x, y) ; end
|
347
|
+
|
348
|
+
# Return the index (starting from zero) of the specified child _window_,
|
349
|
+
# or -1 if the window is not a child of this window.
|
350
|
+
def indexOfChild(window) ; end
|
351
|
+
|
352
|
+
# Remove specified child window
|
353
|
+
def removeChild(child) ; end
|
354
|
+
|
355
|
+
# Returns an array containing all child windows of this window
|
356
|
+
def children() ; end
|
357
|
+
|
358
|
+
# Return the child window at specified index. Raises IndexError if _index_ is out of range.
|
359
|
+
def childAtIndex(index) ; end
|
360
|
+
|
361
|
+
# Return the common ancestor of window _a_ and window _b_.
|
362
|
+
def FXWindow.commonAncestor(a, b); end
|
363
|
+
|
364
|
+
# Return the number of existing windows.
|
365
|
+
def FXWindow.windowCount; end
|
366
|
+
|
367
|
+
# Return the cursor position and mouse button-state as a three-element array.
|
368
|
+
def cursorPosition() ; end
|
369
|
+
|
370
|
+
# Warp the cursor to the new position (_x_, _y_).
|
371
|
+
def setCursorPosition(x, y); end
|
372
|
+
|
373
|
+
# Return +true+ if this window is able to receive mouse and keyboard events.
|
374
|
+
def enabled?() ; end
|
375
|
+
|
376
|
+
# Return +true+ if this window is active.
|
377
|
+
def active?() ; end
|
378
|
+
|
379
|
+
# Return +true+ if this window is a control capable of receiving the focus.
|
380
|
+
def canFocus?() ; end
|
381
|
+
|
382
|
+
# Return +true+ if this window has the focus.
|
383
|
+
def hasFocus?() ; end
|
384
|
+
|
385
|
+
# Move the focus to this window.
|
386
|
+
def setFocus(); end
|
387
|
+
|
388
|
+
# Remove the focus from this window.
|
389
|
+
def killFocus(); end
|
390
|
+
|
391
|
+
# This changes the default window which responds to the *Enter*
|
392
|
+
# key in a dialog. If _enable_ is +true+, this window becomes the default
|
393
|
+
# window; when _enable_ is +false+, this window will no longer be the
|
394
|
+
# default window. Finally, when _enable_ is +MAYBE+, the default window
|
395
|
+
# will revert to the initial default window.
|
396
|
+
def setDefault(enable=TRUE) ; end
|
397
|
+
|
398
|
+
# Return +true+ if this is the default window.
|
399
|
+
def default?() ; end
|
400
|
+
|
401
|
+
# Make this window the initial default window.
|
402
|
+
def setInitial(enable=true) ; end
|
403
|
+
|
404
|
+
# Return +true+ if this is the initial default window.
|
405
|
+
def initial?() ; end
|
406
|
+
|
407
|
+
# Enable the window to receive mouse and keyboard events.
|
408
|
+
def enable(); end
|
409
|
+
|
410
|
+
# Disable the window from receiving mouse and keyboard events.
|
411
|
+
def disable(); end
|
412
|
+
|
413
|
+
# Create all of the server-side resources for this window.
|
414
|
+
def create(); end
|
415
|
+
|
416
|
+
# Detach the server-side resources for this window.
|
417
|
+
def detach(); end
|
418
|
+
|
419
|
+
# Destroy the server-side resources for this window.
|
420
|
+
def destroy(); end
|
421
|
+
|
422
|
+
# Raise this window to the top of the stacking order.
|
423
|
+
def raiseWindow(); end
|
424
|
+
|
425
|
+
# Lower this window to the bottom of the stacking order.
|
426
|
+
def lower(); end
|
427
|
+
|
428
|
+
# Move this window to the specified position (_x_, _y_) in the parent's coordinates.
|
429
|
+
def move(x, y) ; end
|
430
|
+
|
431
|
+
# Resize this window to the specified width and height (_w_, _h_).
|
432
|
+
def resize(w, h) ; end
|
433
|
+
|
434
|
+
# Move and resize this window in the parent's coordinates.
|
435
|
+
def position(x, y, w, h); end
|
436
|
+
|
437
|
+
# Mark this window's layout as dirty
|
438
|
+
def recalc(); end
|
439
|
+
|
440
|
+
# Perform layout immediately.
|
441
|
+
def layout(); end
|
442
|
+
|
443
|
+
# Force a GUI update of this window and its children
|
444
|
+
def forceRefresh(); end
|
445
|
+
|
446
|
+
# Change the parent for this window to _newParent_.
|
447
|
+
def reparent(newParent); end
|
448
|
+
|
449
|
+
# Scroll rectangle (_x_, _y_, _w_, _h_) by a shift of (_dx_, _dy_)
|
450
|
+
def scroll(x, y, w, h, dx, dy); end
|
451
|
+
|
452
|
+
# Mark the entire window client area dirty.
|
453
|
+
def update() ; end
|
454
|
+
|
455
|
+
# Mark the specified rectangle dirty
|
456
|
+
def update(x, y, w, h) ; end
|
457
|
+
|
458
|
+
# If marked but not yet painted, paint the given area
|
459
|
+
def repaint(x, y, w, h) ; end
|
460
|
+
|
461
|
+
# If marked but not yet painted, paint the entire window
|
462
|
+
def repaint() ; end
|
463
|
+
|
464
|
+
# Grab the mouse to this window; future mouse events will be
|
465
|
+
# reported to this window even while the cursor goes outside of this window
|
466
|
+
def grab() ; end
|
467
|
+
|
468
|
+
# Release the mouse grab
|
469
|
+
def ungrab(); end
|
470
|
+
|
471
|
+
# Return +true+ if the window has been grabbed
|
472
|
+
def grabbed?() ; end
|
473
|
+
|
474
|
+
# Grab keyboard device
|
475
|
+
def grabKeyboard(); end
|
476
|
+
|
477
|
+
# Ungrab keyboard device
|
478
|
+
def ungrabKeyboard(); end
|
479
|
+
|
480
|
+
# Return +true+ if active grab is in effect
|
481
|
+
def grabbedKeyboard?() ; end
|
482
|
+
|
483
|
+
# Show this window
|
484
|
+
def show(); end
|
485
|
+
|
486
|
+
# Hide this window
|
487
|
+
def hide(); end
|
488
|
+
|
489
|
+
# Return +true+ if this window is shown.
|
490
|
+
def shown?() ; end
|
491
|
+
|
492
|
+
# Return +true+ if this window is a composite.
|
493
|
+
def composite?() ; end
|
494
|
+
|
495
|
+
# Return +true+ if this window is under the cursor
|
496
|
+
def underCursor?() ; end
|
497
|
+
|
498
|
+
# Return +true+ if this window owns the primary selection
|
499
|
+
def hasSelection?() ; end
|
500
|
+
|
501
|
+
#
|
502
|
+
# Try to acquire the primary selection, given an array of drag types.
|
503
|
+
# Returns +true+ on success.
|
504
|
+
#
|
505
|
+
def acquireSelection(typesArray) ; end
|
506
|
+
|
507
|
+
#
|
508
|
+
# Release the primary selection. Returns +true+ on success.
|
509
|
+
#
|
510
|
+
def releaseSelection(); end
|
511
|
+
|
512
|
+
# Return +true+ if this window owns the clipboard
|
513
|
+
def hasClipboard?() ; end
|
514
|
+
|
515
|
+
#
|
516
|
+
# Try to acquire the clipboard, given an array of drag types.
|
517
|
+
# Returns +true+ on success.
|
518
|
+
#
|
519
|
+
def acquireClipboard(typesArray) ; end
|
520
|
+
|
521
|
+
#
|
522
|
+
# Release the clipboard. Returns +true+ on success.
|
523
|
+
#
|
524
|
+
def releaseClipboard(); end
|
525
|
+
|
526
|
+
# Enable this window to receive drops
|
527
|
+
def dropEnable(); end
|
528
|
+
|
529
|
+
# Disable this window from receiving drops
|
530
|
+
def dropDisable(); end
|
531
|
+
|
532
|
+
# Return +true+ if this window is able to receive drops
|
533
|
+
def dropEnabled?() ; end
|
534
|
+
|
535
|
+
# Return +true+ if a drag operation has been initiated from this window
|
536
|
+
def dragging?() ; end
|
537
|
+
|
538
|
+
# Initiate a drag operation with an array of previously registered drag types
|
539
|
+
def beginDrag(typesArray) ; end
|
540
|
+
|
541
|
+
# When dragging, inform the drop target of the new position and
|
542
|
+
# the drag action. The _action_ is a constant, one of:
|
543
|
+
#
|
544
|
+
# +DRAG_REJECT+:: reject all drop actions
|
545
|
+
# +DRAG_ACCEPT+:: accept any drop action
|
546
|
+
# +DRAG_COPY+:: accept this drop as a copy
|
547
|
+
# +DRAG_MOVE+:: accept this drop as a move
|
548
|
+
# +DRAG_LINK+:: accept this drop as a link
|
549
|
+
# +DRAG_PRIVATE+:: private
|
550
|
+
|
551
|
+
def handleDrag(x, y, action=DRAG_COPY) ; end
|
552
|
+
|
553
|
+
# Terminate the drag operation with or without actually dropping the data
|
554
|
+
def endDrag(drop=true); end
|
555
|
+
|
556
|
+
# Return +true+ if this window is the target of a drop
|
557
|
+
def dropTarget?() ; end
|
558
|
+
|
559
|
+
# When being dragged over, indicate that no further +SEL_DND_MOTION+ messages
|
560
|
+
# are required while the cursor is inside the given rectangle
|
561
|
+
def setDragRectangle(x, y, w, h, wantUpdates=true); end
|
562
|
+
|
563
|
+
# When being dragged over, indicate we want to receive +SEL_DND_MOTION+ messages
|
564
|
+
# every time the cursor moves
|
565
|
+
def clearDragRectangle();
|
566
|
+
|
567
|
+
# When being dragged over, indicate acceptance or rejection of the dragged data.
|
568
|
+
# The _action_ is a constant indicating the suggested drag action, one of:
|
569
|
+
#
|
570
|
+
# +DRAG_REJECT+:: reject all drop actions
|
571
|
+
# +DRAG_ACCEPT+:: accept any drop action
|
572
|
+
# +DRAG_COPY+:: accept this drop as a copy
|
573
|
+
# +DRAG_MOVE+:: accept this drop as a move
|
574
|
+
# +DRAG_LINK+:: accept this drop as a link
|
575
|
+
# +DRAG_PRIVATE+:: private
|
576
|
+
|
577
|
+
def acceptDrop(action=DRAG_ACCEPT); end
|
578
|
+
|
579
|
+
# Returns +DRAG_REJECT+ when the drop target would not accept the drop;
|
580
|
+
# otherwise indicates acceptance by returning one of +DRAG_ACCEPT+,
|
581
|
+
# +DRAG_COPY+, +DRAG_MOVE+ or +DRAG_LINK+.
|
582
|
+
def didAccept() ; end
|
583
|
+
|
584
|
+
# When being dragged over, inquire the drag types being offered.
|
585
|
+
# The _origin_ is a constant indicating the origin of the data, one of
|
586
|
+
# +FROM_SELECTION+, +FROM_CLIPBOARD+ or +FROM_DRAGNDROP+.
|
587
|
+
# Returns an array of drag types.
|
588
|
+
def inquireDNDTypes(origin) ; end
|
589
|
+
|
590
|
+
# When being dragged over, return +true+ if we are offered the given drag type.
|
591
|
+
# The _origin_ is a constant indicating the origin of the data, one of
|
592
|
+
# +FROM_SELECTION+, +FROM_CLIPBOARD+ or +FROM_DRAGNDROP+.
|
593
|
+
# The _type_ is a previously registered drag type.
|
594
|
+
def offeredDNDType?(origin, type) ; end
|
595
|
+
|
596
|
+
# When being dragged over, return the drag action
|
597
|
+
def inquireDNDAction() ; end
|
598
|
+
|
599
|
+
# Get DND data; the caller becomes the owner of the array.
|
600
|
+
# The _origin_ is a constant indicating the origin of the data, one of
|
601
|
+
# +FROM_SELECTION+, +FROM_CLIPBOARD+ or +FROM_DRAGNDROP+.
|
602
|
+
# The _type_ is a previously registered drag type.
|
603
|
+
def getDNDData(origin, type) ; end
|
604
|
+
|
605
|
+
# Set DND data; ownership is transferred to the system.
|
606
|
+
# The _origin_ is a constant indicating the origin of the data, one of
|
607
|
+
# +FROM_SELECTION+, +FROM_CLIPBOARD+ or +FROM_DRAGNDROP+.
|
608
|
+
# The _type_ is a previously registered drag type.
|
609
|
+
def setDNDData(origin, type, data) ; end
|
610
|
+
|
611
|
+
# Return +true+ if this window logically contains the given point (_parentX_, _parentY_).
|
612
|
+
def contains?(parentX, parentY) ; end
|
613
|
+
|
614
|
+
# Translate coordinates (_fromX_, _fromY_) from _fromWindow_'s coordinate system
|
615
|
+
# to this window's coordinate system. Returns a two-element array containing the
|
616
|
+
# coordinates in this window's coordinate system.
|
617
|
+
def translateCoordinatesFrom(fromWindow, fromX, fromY) ; end
|
618
|
+
|
619
|
+
# Translate coordinates (_fromX_, _fromY_) from this window's coordinate system
|
620
|
+
# to _toWindow_'s coordinate system. Returns a two-element array containing the
|
621
|
+
# coordinates in _toWindow_'s coordinate system.
|
622
|
+
def translateCoordinatesTo(toWindow, fromX, fromY) ; end
|
623
|
+
|
624
|
+
# Relink this window before _sibling_ in the parent's window list.
|
625
|
+
def linkBefore(sibling) ; end
|
626
|
+
|
627
|
+
# Relink this window after _sibling_ in the parent' window list.
|
628
|
+
def linkAfter(sibling) ; end
|
629
|
+
|
630
|
+
# Return +true+ if this window does save-unders.
|
631
|
+
def doesSaveUnder?() ; end
|
632
|
+
end
|
633
|
+
end
|