fxruby 1.6.22.pre2-x86-mingw32 → 1.6.22.pre3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +1 -1
- data/README.txt +10 -10
- data/Rakefile +3 -2
- data/doap.rdf +2 -2
- data/examples/babelfish.rb +2 -2
- data/examples/bounce.rb +20 -20
- data/examples/charts.rb +2 -2
- data/examples/custom_table_item.rb +3 -3
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +51 -51
- data/examples/dialog.rb +14 -14
- data/examples/dilbert.rb +4 -4
- data/examples/dirlist.rb +6 -6
- data/examples/dragdrop.rb +7 -7
- data/examples/dragsource.rb +6 -6
- data/examples/dropsite.rb +5 -5
- data/examples/foursplit.rb +6 -6
- data/examples/gltest.rb +40 -40
- data/examples/glviewer.rb +16 -16
- data/examples/groupbox.rb +41 -41
- data/examples/header.rb +6 -6
- data/examples/hello2.rb +2 -2
- data/examples/iconlist.rb +10 -10
- data/examples/image.rb +26 -26
- data/examples/imageviewer.rb +31 -31
- data/examples/inputs.rb +2 -2
- data/examples/mditest.rb +12 -12
- data/examples/pig.rb +8 -8
- data/examples/raabrowser.rb +5 -5
- data/examples/ratio.rb +9 -9
- data/examples/rulerview.rb +2 -2
- data/examples/scintilla-test.rb +6 -6
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +3 -3
- data/examples/shutter.rb +6 -6
- data/examples/splitter.rb +15 -15
- data/examples/styledtext.rb +10 -10
- data/examples/tabbook.rb +14 -14
- data/examples/table.rb +21 -21
- data/examples/textedit/helpwindow.rb +6 -6
- data/examples/textedit/textedit.rb +72 -72
- data/ext/fox16/FXRuby.cpp +48 -5
- data/ext/fox16/core_wrap.cpp +1 -1
- data/ext/fox16/iconlist_wrap.cpp +1 -1
- data/ext/fox16/icons_wrap.cpp +1 -1
- data/ext/fox16/include/FXMemoryBuffer.h +3 -3
- data/ext/fox16/include/FXRbApp.h +1 -1
- data/ext/fox16/include/FXRbBitmap.h +1 -1
- data/ext/fox16/include/FXRbBitmapFrame.h +2 -2
- data/ext/fox16/include/FXRbBitmapVirtuals.h +2 -2
- data/ext/fox16/include/FXRbDCPrint.h +1 -1
- data/ext/fox16/include/FXRbDCVirtuals.h +24 -24
- data/ext/fox16/include/FXRbDCWindow.h +1 -1
- data/ext/fox16/include/FXRbDockBar.h +1 -1
- data/ext/fox16/include/FXRbFileDict.h +2 -2
- data/ext/fox16/include/FXRbFoldingList.h +1 -1
- data/ext/fox16/include/FXRbFontVirtuals.h +9 -9
- data/ext/fox16/include/FXRbGLViewerVirtuals.h +2 -2
- data/ext/fox16/include/FXRbIconItemVirtuals.h +8 -8
- data/ext/fox16/include/FXRbIconListVirtuals.h +7 -7
- data/ext/fox16/include/FXRbIconSourceVirtuals.h +1 -1
- data/ext/fox16/include/FXRbImageFrame.h +2 -2
- data/ext/fox16/include/FXRbImageVirtuals.h +1 -1
- data/ext/fox16/include/FXRbListVirtuals.h +4 -4
- data/ext/fox16/include/FXRbMenuBar.h +1 -1
- data/ext/fox16/include/FXRbPopupVirtuals.h +1 -1
- data/ext/fox16/include/FXRbRecentFiles.h +1 -1
- data/ext/fox16/include/FXRbRuler.h +3 -3
- data/ext/fox16/include/FXRbRulerView.h +3 -3
- data/ext/fox16/include/FXRbScintilla.h +1 -1
- data/ext/fox16/include/FXRbSeparator.h +2 -2
- data/ext/fox16/include/FXRbTableItemVirtuals.h +8 -8
- data/ext/fox16/include/FXRbTableVirtuals.h +13 -13
- data/ext/fox16/include/FXRbText.h +2 -2
- data/ext/fox16/include/FXRbTextVirtuals.h +3 -3
- data/ext/fox16/include/FXRbToolBar.h +1 -1
- data/ext/fox16/include/FXRbToolBarGrip.h +1 -1
- data/ext/fox16/include/FXRbToolBarTab.h +1 -1
- data/ext/fox16/include/FXRbTreeList.h +1 -1
- data/ext/fox16/include/FXRbTreeListVirtuals.h +4 -4
- data/ext/fox16/include/FXRbWindow.h +3 -3
- data/ext/fox16/include/FXRbWizard.h +2 -2
- data/ext/fox16/include/FXRuby.h +8 -4
- data/ext/fox16/librb.c +12 -12
- data/ext/fox16/list_wrap.cpp +1 -1
- data/ext/fox16/make_impl.rb +5 -5
- data/ext/fox16/markfuncs.cpp +228 -220
- data/ext/fox16/scintilla_wrap.cpp +1 -1
- data/ext/fox16/treelist_wrap.cpp +4 -4
- data/ext/fox16/ui_wrap.cpp +2 -2
- data/ext/fox16/unregisterOwnedObjects.cpp +3 -3
- data/lib/1.8/fox16.so +0 -0
- data/lib/1.9/fox16.so +0 -0
- data/lib/fox16/accel_table.rb +1 -1
- data/lib/fox16/aliases.rb +3 -3
- data/lib/fox16/calendar.rb +21 -21
- data/lib/fox16/chore.rb +2 -2
- data/lib/fox16/core.rb +70 -70
- data/lib/fox16/dict.rb +1 -1
- data/lib/fox16/execute_nonmodal.rb +1 -1
- data/lib/fox16/glgroup.rb +16 -16
- data/lib/fox16/glshapes.rb +26 -26
- data/lib/fox16/input.rb +4 -4
- data/lib/fox16/irb.rb +2 -2
- data/lib/fox16/iterators.rb +2 -2
- data/lib/fox16/keys.rb +34 -34
- data/lib/fox16/kwargs.rb +927 -927
- data/lib/fox16/pseudokeyboard.rb +1 -1
- data/lib/fox16/pseudomouse.rb +1 -1
- data/lib/fox16/responder2.rb +4 -4
- data/lib/fox16/scintilla.rb +2 -2
- data/lib/fox16/signal.rb +4 -4
- data/lib/fox16/splashscreen.rb +3 -3
- data/lib/fox16/timeout.rb +3 -3
- data/lib/fox16/undolist.rb +9 -9
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FX4Splitter.rb +9 -9
- data/rdoc-sources/FX7Segment.rb +9 -9
- data/rdoc-sources/FXAccelTable.rb +1 -1
- data/rdoc-sources/FXApp.rb +50 -50
- data/rdoc-sources/FXBMPIcon.rb +3 -3
- data/rdoc-sources/FXBMPImage.rb +2 -2
- data/rdoc-sources/FXBitmap.rb +11 -11
- data/rdoc-sources/FXBitmapFrame.rb +5 -5
- data/rdoc-sources/FXBitmapView.rb +2 -2
- data/rdoc-sources/FXButton.rb +2 -2
- data/rdoc-sources/FXCheckButton.rb +5 -5
- data/rdoc-sources/FXColorBar.rb +5 -5
- data/rdoc-sources/FXColorDialog.rb +2 -2
- data/rdoc-sources/FXColorList.rb +2 -2
- data/rdoc-sources/FXColorRing.rb +8 -8
- data/rdoc-sources/FXColorSelector.rb +4 -4
- data/rdoc-sources/FXColorWell.rb +4 -4
- data/rdoc-sources/FXColorWheel.rb +6 -6
- data/rdoc-sources/FXComboBox.rb +17 -17
- data/rdoc-sources/FXComposite.rb +2 -2
- data/rdoc-sources/FXCursor.rb +7 -7
- data/rdoc-sources/FXDC.rb +67 -67
- data/rdoc-sources/FXDCPrint.rb +22 -22
- data/rdoc-sources/FXDCWindow.rb +1 -1
- data/rdoc-sources/FXDataTarget.rb +2 -2
- data/rdoc-sources/FXDebugTarget.rb +1 -1
- data/rdoc-sources/FXDelegator.rb +1 -1
- data/rdoc-sources/FXDial.rb +8 -8
- data/rdoc-sources/FXDict.rb +7 -7
- data/rdoc-sources/FXDirBox.rb +3 -3
- data/rdoc-sources/FXDirDialog.rb +7 -7
- data/rdoc-sources/FXDirList.rb +21 -21
- data/rdoc-sources/FXDirSelector.rb +8 -8
- data/rdoc-sources/FXDockBar.rb +5 -5
- data/rdoc-sources/FXDockHandler.rb +3 -3
- data/rdoc-sources/FXDockSite.rb +2 -2
- data/rdoc-sources/FXDockTitle.rb +3 -3
- data/rdoc-sources/FXDocument.rb +3 -3
- data/rdoc-sources/FXDragCorner.rb +3 -3
- data/rdoc-sources/FXDrawable.rb +3 -3
- data/rdoc-sources/FXDriveBox.rb +4 -4
- data/rdoc-sources/FXExtentd.rb +2 -2
- data/rdoc-sources/FXExtentf.rb +2 -2
- data/rdoc-sources/FXFileDialog.rb +21 -21
- data/rdoc-sources/FXFileDict.rb +17 -17
- data/rdoc-sources/FXFileList.rb +32 -32
- data/rdoc-sources/FXFileSelector.rb +20 -20
- data/rdoc-sources/FXFileStream.rb +1 -1
- data/rdoc-sources/FXFoldingList.rb +53 -53
- data/rdoc-sources/FXFont.rb +38 -38
- data/rdoc-sources/FXFrame.rb +11 -11
- data/rdoc-sources/FXGIFCursor.rb +3 -3
- data/rdoc-sources/FXGLCanvas.rb +2 -2
- data/rdoc-sources/FXGLContext.rb +6 -6
- data/rdoc-sources/FXGLObject.rb +6 -6
- data/rdoc-sources/FXGLShape.rb +3 -3
- data/rdoc-sources/FXGLViewer.rb +54 -54
- data/rdoc-sources/FXGLVisual.rb +13 -13
- data/rdoc-sources/FXGradientBar.rb +15 -15
- data/rdoc-sources/FXGroupBox.rb +4 -4
- data/rdoc-sources/FXHeader.rb +44 -44
- data/rdoc-sources/FXICOIcon.rb +1 -1
- data/rdoc-sources/FXICOImage.rb +1 -1
- data/rdoc-sources/FXIconDict.rb +1 -1
- data/rdoc-sources/FXIconList.rb +69 -69
- data/rdoc-sources/FXIconSource.rb +2 -2
- data/rdoc-sources/FXId.rb +1 -1
- data/rdoc-sources/FXImage.rb +11 -11
- data/rdoc-sources/FXImageFrame.rb +3 -3
- data/rdoc-sources/FXImageView.rb +2 -2
- data/rdoc-sources/FXInputDialog.rb +6 -6
- data/rdoc-sources/FXJPGIcon.rb +3 -3
- data/rdoc-sources/FXJPGImage.rb +2 -2
- data/rdoc-sources/FXKnob.rb +9 -9
- data/rdoc-sources/FXLabel.rb +8 -8
- data/rdoc-sources/FXList.rb +28 -28
- data/rdoc-sources/FXListBox.rb +21 -21
- data/rdoc-sources/FXMDIChild.rb +11 -11
- data/rdoc-sources/FXMDIClient.rb +5 -5
- data/rdoc-sources/FXMatrix.rb +6 -6
- data/rdoc-sources/FXMemoryBuffer.rb +1 -1
- data/rdoc-sources/FXMemoryStream.rb +3 -3
- data/rdoc-sources/FXMenuBar.rb +1 -1
- data/rdoc-sources/FXMenuButton.rb +7 -7
- data/rdoc-sources/FXMenuCaption.rb +10 -10
- data/rdoc-sources/FXMenuCheck.rb +1 -1
- data/rdoc-sources/FXMenuRadio.rb +1 -1
- data/rdoc-sources/FXMenuSeparator.rb +1 -1
- data/rdoc-sources/FXMessageBox.rb +3 -3
- data/rdoc-sources/FXOptionMenu.rb +9 -9
- data/rdoc-sources/FXPCXIcon.rb +2 -2
- data/rdoc-sources/FXPCXImage.rb +1 -1
- data/rdoc-sources/FXPNGIcon.rb +3 -3
- data/rdoc-sources/FXPNGImage.rb +1 -1
- data/rdoc-sources/FXPPMIcon.rb +2 -2
- data/rdoc-sources/FXPPMImage.rb +1 -1
- data/rdoc-sources/FXPacker.rb +13 -13
- data/rdoc-sources/FXPopup.rb +11 -11
- data/rdoc-sources/FXProgressBar.rb +7 -7
- data/rdoc-sources/FXProgressDialog.rb +3 -3
- data/rdoc-sources/FXQuatd.rb +17 -17
- data/rdoc-sources/FXQuatf.rb +18 -18
- data/rdoc-sources/FXRGBIcon.rb +3 -3
- data/rdoc-sources/FXRGBImage.rb +1 -1
- data/rdoc-sources/FXRadioButton.rb +4 -4
- data/rdoc-sources/FXRanged.rb +1 -1
- data/rdoc-sources/FXRangef.rb +1 -1
- data/rdoc-sources/FXRealSlider.rb +7 -7
- data/rdoc-sources/FXRealSpinner.rb +11 -11
- data/rdoc-sources/FXRecentFiles.rb +8 -8
- data/rdoc-sources/FXRectangle.rb +12 -12
- data/rdoc-sources/FXRegion.rb +15 -15
- data/rdoc-sources/FXRegistry.rb +4 -4
- data/rdoc-sources/FXReplaceDialog.rb +3 -3
- data/rdoc-sources/FXRuler.rb +18 -18
- data/rdoc-sources/FXRulerView.rb +38 -38
- data/rdoc-sources/FXScintilla.rb +16 -16
- data/rdoc-sources/FXScrollArea.rb +9 -9
- data/rdoc-sources/FXScrollBar.rb +8 -8
- data/rdoc-sources/FXScrollPane.rb +1 -1
- data/rdoc-sources/FXScrollWindow.rb +5 -5
- data/rdoc-sources/FXSeparator.rb +1 -1
- data/rdoc-sources/FXSettings.rb +1 -1
- data/rdoc-sources/FXShutter.rb +3 -3
- data/rdoc-sources/FXSize.rb +4 -4
- data/rdoc-sources/FXSlider.rb +7 -7
- data/rdoc-sources/FXSphered.rb +21 -21
- data/rdoc-sources/FXSpheref.rb +20 -20
- data/rdoc-sources/FXSpinner.rb +12 -12
- data/rdoc-sources/FXSplashWindow.rb +1 -1
- data/rdoc-sources/FXSplitter.rb +6 -6
- data/rdoc-sources/FXSpring.rb +2 -2
- data/rdoc-sources/FXStatusBar.rb +4 -4
- data/rdoc-sources/FXStatusLine.rb +5 -5
- data/rdoc-sources/FXStream.rb +8 -8
- data/rdoc-sources/FXStringDict.rb +5 -5
- data/rdoc-sources/FXSwitcher.rb +2 -2
- data/rdoc-sources/FXTGAIcon.rb +3 -3
- data/rdoc-sources/FXTGAImage.rb +1 -1
- data/rdoc-sources/FXTIFIcon.rb +2 -2
- data/rdoc-sources/FXTIFImage.rb +2 -2
- data/rdoc-sources/FXTabBar.rb +2 -2
- data/rdoc-sources/FXTable.rb +131 -131
- data/rdoc-sources/FXText.rb +48 -48
- data/rdoc-sources/FXTextField.rb +9 -9
- data/rdoc-sources/FXToolBar.rb +1 -1
- data/rdoc-sources/FXToolBarGrip.rb +1 -1
- data/rdoc-sources/FXToolBarShell.rb +7 -7
- data/rdoc-sources/FXToolBarTab.rb +3 -3
- data/rdoc-sources/FXToolTip.rb +1 -1
- data/rdoc-sources/FXTopWindow.rb +17 -17
- data/rdoc-sources/FXTranslator.rb +5 -5
- data/rdoc-sources/FXTreeList.rb +50 -50
- data/rdoc-sources/FXTreeListBox.rb +16 -16
- data/rdoc-sources/FXVec2d.rb +5 -5
- data/rdoc-sources/FXVec2f.rb +5 -5
- data/rdoc-sources/FXVec3d.rb +8 -8
- data/rdoc-sources/FXVec3f.rb +8 -8
- data/rdoc-sources/FXVec4d.rb +8 -8
- data/rdoc-sources/FXVec4f.rb +8 -8
- data/rdoc-sources/FXVisual.rb +3 -3
- data/rdoc-sources/FXWindow.rb +99 -99
- data/rdoc-sources/FXWizard.rb +8 -8
- data/rdoc-sources/FXXBMIcon.rb +2 -2
- data/rdoc-sources/FXXBMImage.rb +1 -1
- data/rdoc-sources/FXXPMIcon.rb +2 -2
- data/rdoc-sources/FXXPMImage.rb +1 -1
- data/rdoc-sources/fxdefs.rb +17 -17
- data/scripts/generate_kwargs_lib.rb +22 -22
- data/scripts/iface.rb +1 -1
- data/swig-interfaces/FX4Splitter.i +5 -5
- data/swig-interfaces/FX7Segment.i +5 -5
- data/swig-interfaces/FXApp.i +10 -10
- data/swig-interfaces/FXBMPIcon.i +2 -2
- data/swig-interfaces/FXBitmap.i +3 -3
- data/swig-interfaces/FXBitmapFrame.i +1 -1
- data/swig-interfaces/FXBitmapView.i +1 -1
- data/swig-interfaces/FXCanvas.i +1 -1
- data/swig-interfaces/FXCheckButton.i +2 -2
- data/swig-interfaces/FXChoiceBox.i +2 -2
- data/swig-interfaces/FXColorBar.i +7 -7
- data/swig-interfaces/FXColorList.i +5 -5
- data/swig-interfaces/FXColorWell.i +1 -1
- data/swig-interfaces/FXColorWheel.i +6 -6
- data/swig-interfaces/FXComboBox.i +4 -4
- data/swig-interfaces/FXCursor.i +4 -4
- data/swig-interfaces/FXDC.i +23 -23
- data/swig-interfaces/FXDCPrint.i +5 -5
- data/swig-interfaces/FXDCWindow.i +8 -8
- data/swig-interfaces/FXDataTarget.i +5 -5
- data/swig-interfaces/FXDebugTarget.i +1 -1
- data/swig-interfaces/FXDelegator.i +3 -3
- data/swig-interfaces/FXDial.i +8 -8
- data/swig-interfaces/FXDialogBox.i +3 -3
- data/swig-interfaces/FXDict.i +14 -14
- data/swig-interfaces/FXDirBox.i +1 -1
- data/swig-interfaces/FXDirDialog.i +2 -2
- data/swig-interfaces/FXDirList.i +16 -16
- data/swig-interfaces/FXDirSelector.i +2 -2
- data/swig-interfaces/FXDockBar.i +1 -1
- data/swig-interfaces/FXDockHandler.i +1 -1
- data/swig-interfaces/FXDockSite.i +1 -1
- data/swig-interfaces/FXDockTitle.i +1 -1
- data/swig-interfaces/FXDocument.i +1 -1
- data/swig-interfaces/FXDragCorner.i +3 -3
- data/swig-interfaces/FXDriveBox.i +1 -1
- data/swig-interfaces/FXFileDialog.i +8 -8
- data/swig-interfaces/FXFileDict.i +2 -2
- data/swig-interfaces/FXFileList.i +11 -11
- data/swig-interfaces/FXFileSelector.i +4 -4
- data/swig-interfaces/FXFoldingList.i +7 -7
- data/swig-interfaces/FXFont.i +20 -20
- data/swig-interfaces/FXFrame.i +3 -3
- data/swig-interfaces/FXGLCanvas.i +3 -3
- data/swig-interfaces/FXGLContext.i +7 -7
- data/swig-interfaces/FXGLObject.i +1 -1
- data/swig-interfaces/FXGLShape.i +6 -6
- data/swig-interfaces/FXGLViewer.i +40 -40
- data/swig-interfaces/FXGLVisual.i +2 -2
- data/swig-interfaces/FXGradientBar.i +4 -4
- data/swig-interfaces/FXGroupBox.i +3 -3
- data/swig-interfaces/FXHeader.i +7 -7
- data/swig-interfaces/FXIcon.i +4 -4
- data/swig-interfaces/FXIconDict.i +1 -1
- data/swig-interfaces/FXIconList.i +46 -46
- data/swig-interfaces/FXImage.i +2 -2
- data/swig-interfaces/FXImageView.i +1 -1
- data/swig-interfaces/FXInputDialog.i +3 -3
- data/swig-interfaces/FXJPGIcon.i +3 -3
- data/swig-interfaces/FXJPGImage.i +2 -2
- data/swig-interfaces/FXKnob.i +2 -2
- data/swig-interfaces/FXLabel.i +2 -2
- data/swig-interfaces/FXList.i +35 -35
- data/swig-interfaces/FXListBox.i +5 -5
- data/swig-interfaces/FXMDIButton.i +5 -5
- data/swig-interfaces/FXMDIChild.i +12 -12
- data/swig-interfaces/FXMDIClient.i +2 -2
- data/swig-interfaces/FXMat4d.i +2 -2
- data/swig-interfaces/FXMat4f.i +5 -5
- data/swig-interfaces/FXMatrix.i +12 -12
- data/swig-interfaces/FXMemoryBuffer.i +4 -4
- data/swig-interfaces/FXMenuBar.i +3 -3
- data/swig-interfaces/FXMenuButton.i +7 -7
- data/swig-interfaces/FXMenuCaption.i +4 -4
- data/swig-interfaces/FXMenuCommand.i +1 -1
- data/swig-interfaces/FXMenuPane.i +1 -1
- data/swig-interfaces/FXMenuRadio.i +1 -1
- data/swig-interfaces/FXMenuSeparator.i +1 -1
- data/swig-interfaces/FXMessageBox.i +1 -1
- data/swig-interfaces/FXOptionMenu.i +6 -6
- data/swig-interfaces/FXPNGIcon.i +2 -2
- data/swig-interfaces/FXPPMIcon.i +2 -2
- data/swig-interfaces/FXPacker.i +6 -6
- data/swig-interfaces/FXPopup.i +13 -13
- data/swig-interfaces/FXProgressBar.i +12 -12
- data/swig-interfaces/FXProgressDialog.i +5 -5
- data/swig-interfaces/FXQuatd.i +7 -7
- data/swig-interfaces/FXQuatf.i +1 -1
- data/swig-interfaces/FXRadioButton.i +4 -4
- data/swig-interfaces/FXRanged.i +4 -4
- data/swig-interfaces/FXRangef.i +5 -5
- data/swig-interfaces/FXRealSlider.i +10 -10
- data/swig-interfaces/FXRealSpinner.i +17 -17
- data/swig-interfaces/FXRecentFiles.i +1 -1
- data/swig-interfaces/FXRegion.i +4 -4
- data/swig-interfaces/FXRegistry.i +3 -3
- data/swig-interfaces/FXReplaceDialog.i +1 -1
- data/swig-interfaces/FXScintilla.i +3 -3
- data/swig-interfaces/FXScrollArea.i +7 -7
- data/swig-interfaces/FXScrollBar.i +3 -3
- data/swig-interfaces/FXScrollWindow.i +6 -6
- data/swig-interfaces/FXSearchDialog.i +1 -1
- data/swig-interfaces/FXSeparator.i +3 -3
- data/swig-interfaces/FXSettings.i +3 -3
- data/swig-interfaces/FXShell.i +1 -1
- data/swig-interfaces/FXSlider.i +11 -11
- data/swig-interfaces/FXSphered.i +1 -1
- data/swig-interfaces/FXSpheref.i +1 -1
- data/swig-interfaces/FXSpinner.i +15 -15
- data/swig-interfaces/FXSplitter.i +6 -6
- data/swig-interfaces/FXStatusBar.i +4 -4
- data/swig-interfaces/FXStatusLine.i +5 -5
- data/swig-interfaces/FXStream.i +1 -1
- data/swig-interfaces/FXSwitcher.i +5 -5
- data/swig-interfaces/FXTabBar.i +2 -2
- data/swig-interfaces/FXTabBook.i +1 -1
- data/swig-interfaces/FXTabItem.i +4 -4
- data/swig-interfaces/FXTable.i +37 -37
- data/swig-interfaces/FXText.i +13 -13
- data/swig-interfaces/FXTextField.i +1 -1
- data/swig-interfaces/FXToggleButton.i +6 -6
- data/swig-interfaces/FXToolBar.i +4 -4
- data/swig-interfaces/FXToolBarGrip.i +3 -3
- data/swig-interfaces/FXToolBarShell.i +3 -3
- data/swig-interfaces/FXToolBarTab.i +5 -5
- data/swig-interfaces/FXToolTip.i +1 -1
- data/swig-interfaces/FXTopWindow.i +10 -10
- data/swig-interfaces/FXTreeList.i +28 -28
- data/swig-interfaces/FXTreeListBox.i +36 -36
- data/swig-interfaces/FXVec3d.i +2 -2
- data/swig-interfaces/FXVec3f.i +2 -2
- data/swig-interfaces/FXVec4d.i +1 -1
- data/swig-interfaces/FXVec4f.i +9 -9
- data/swig-interfaces/FXVerticalFrame.i +1 -1
- data/swig-interfaces/FXVisual.i +1 -1
- data/swig-interfaces/FXWindow.i +46 -46
- data/swig-interfaces/FXXPMIcon.i +1 -1
- data/swig-interfaces/FXXPMImage.i +1 -1
- data/swig-interfaces/exceptions.i +1 -1
- data/swig-interfaces/freefuncs.i +1 -1
- data/swig-interfaces/fxdefs.i +13 -13
- data/swig-interfaces/macros.i +79 -79
- data/test/TC_FXAccelTable.rb +3 -3
- data/test/TC_FXButton.rb +9 -9
- data/test/TC_FXCheckButton.rb +4 -4
- data/test/TC_FXComboBox.rb +1 -1
- data/test/TC_FXDC.rb +42 -42
- data/test/TC_FXDialogBox.rb +1 -1
- data/test/TC_FXExtentd.rb +2 -2
- data/test/TC_FXExtentf.rb +2 -2
- data/test/TC_FXFileAssoc.rb +5 -5
- data/test/TC_FXFileStream.rb +5 -5
- data/test/TC_FXFoldingList.rb +3 -3
- data/test/TC_FXFont.rb +3 -3
- data/test/TC_FXGLGroup.rb +1 -1
- data/test/TC_FXHeader.rb +3 -3
- data/test/TC_FXIconDict.rb +5 -5
- data/test/TC_FXIconList.rb +12 -12
- data/test/TC_FXImage.rb +16 -16
- data/test/TC_FXList.rb +5 -5
- data/test/TC_FXListBox.rb +1 -1
- data/test/TC_FXMainWindow.rb +2 -2
- data/test/TC_FXMat4f.rb +33 -33
- data/test/TC_FXMaterial.rb +5 -5
- data/test/TC_FXMemoryStream.rb +2 -2
- data/test/TC_FXMenuCheck.rb +5 -5
- data/test/TC_FXMessageBox.rb +3 -3
- data/test/TC_FXPoint.rb +1 -1
- data/test/TC_FXRadioButton.rb +4 -4
- data/test/TC_FXRanged.rb +3 -3
- data/test/TC_FXRangef.rb +3 -3
- data/test/TC_FXRegion.rb +1 -1
- data/test/TC_FXScrollArea.rb +1 -1
- data/test/TC_FXScrollWindow.rb +1 -1
- data/test/TC_FXSettings.rb +2 -2
- data/test/TC_FXShell.rb +2 -2
- data/test/TC_FXTopWindow.rb +2 -2
- data/test/TC_FXTreeList.rb +4 -4
- data/test/TC_FXTreeListBox.rb +3 -3
- data/test/TC_FXVec2d.rb +3 -3
- data/test/TC_FXVec2f.rb +3 -3
- data/test/TC_FXVec3d.rb +5 -5
- data/test/TC_FXVec3f.rb +5 -5
- data/test/TC_FXVec4f.rb +6 -6
- data/test/TC_Misc.rb +6 -2
- data/test/TS_All.rb +1 -17
- data/test/stress1.rb +5 -5
- data/test/stress2.rb +3 -3
- data/test/stress3.rb +12 -12
- data/test/testcase.rb +4 -4
- metadata +76 -76
data/rdoc-sources/FXVec2f.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
module Fox
|
2
2
|
class FXVec2f
|
3
|
-
|
3
|
+
|
4
4
|
attr_accessor :x
|
5
5
|
attr_accessor :y
|
6
|
-
|
6
|
+
|
7
7
|
#
|
8
8
|
# Return an initialized FXVec2f instance.
|
9
9
|
#
|
10
10
|
def initialize(xx=0.0, yy=0.0); end
|
11
|
-
|
11
|
+
|
12
12
|
#
|
13
13
|
# Returns the element at _index_, where _index_ is 0 or 1.
|
14
14
|
# Raises IndexError if _index_ is out of range.
|
@@ -65,7 +65,7 @@ module Fox
|
|
65
65
|
# Return the square of the length of this vector.
|
66
66
|
#
|
67
67
|
def length2; end
|
68
|
-
|
68
|
+
|
69
69
|
#
|
70
70
|
# Return the length (magnitude) of this vector.
|
71
71
|
#
|
@@ -73,7 +73,7 @@ module Fox
|
|
73
73
|
|
74
74
|
# Clamp the values of this vector between limits _lo_ and _hi_.
|
75
75
|
def clamp(lo, hi); end
|
76
|
-
|
76
|
+
|
77
77
|
#
|
78
78
|
# Return a new FXVec2f instance which is a normalized version
|
79
79
|
# of this one.
|
data/rdoc-sources/FXVec3d.rb
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
module Fox
|
2
2
|
class FXVec3d
|
3
|
-
|
3
|
+
|
4
4
|
attr_accessor :x
|
5
5
|
attr_accessor :y
|
6
6
|
attr_accessor :z
|
7
|
-
|
7
|
+
|
8
8
|
#
|
9
9
|
# Return an FXVec3d instance with _x_, _y_ and _z_ initialized to zeroes.
|
10
10
|
#
|
11
11
|
def initialize; end
|
12
|
-
|
12
|
+
|
13
13
|
#
|
14
14
|
# Return an FXVec3d instance initialized from specified component values.
|
15
15
|
#
|
16
16
|
def initialize(xx, yy, zz=1.0); end
|
17
|
-
|
17
|
+
|
18
18
|
#
|
19
19
|
# Returns the element at _index_, where _index_ is 0, 1 or 2.
|
20
20
|
# Raises IndexError if _index_ is out of range.
|
@@ -74,7 +74,7 @@ module Fox
|
|
74
74
|
# Return the square of the length of this vector.
|
75
75
|
#
|
76
76
|
def length2; end
|
77
|
-
|
77
|
+
|
78
78
|
#
|
79
79
|
# Return the length (magnitude) of this vector.
|
80
80
|
#
|
@@ -84,7 +84,7 @@ module Fox
|
|
84
84
|
# Clamp the values of this vector between limits _lo_ and _hi_.
|
85
85
|
#
|
86
86
|
def clamp(lo, hi); end
|
87
|
-
|
87
|
+
|
88
88
|
#
|
89
89
|
# Return a new FXVec3d instance which is a normalized version
|
90
90
|
# of this one.
|
@@ -102,13 +102,13 @@ module Fox
|
|
102
102
|
# vector and _other_.
|
103
103
|
#
|
104
104
|
def hi(other); end
|
105
|
-
|
105
|
+
|
106
106
|
#
|
107
107
|
# Compute normal vector from points _a_, _b_ and _c_ (each of which is
|
108
108
|
# an FXVec3d instance).
|
109
109
|
#
|
110
110
|
def FXVec3d.normal(a, b, c); end
|
111
|
-
|
111
|
+
|
112
112
|
#
|
113
113
|
# Compute approximate normal from four points _a_, _b_, _c_ and _d_.
|
114
114
|
#
|
data/rdoc-sources/FXVec3f.rb
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
module Fox
|
2
2
|
class FXVec3f
|
3
|
-
|
3
|
+
|
4
4
|
attr_accessor :x
|
5
5
|
attr_accessor :y
|
6
6
|
attr_accessor :z
|
7
|
-
|
7
|
+
|
8
8
|
#
|
9
9
|
# Return an FXVec3f instance with _x_, _y_ and _z_ initialized to zeroes.
|
10
10
|
#
|
11
11
|
def initialize; end
|
12
|
-
|
12
|
+
|
13
13
|
#
|
14
14
|
# Return an FXVec3f instance initialized with specified component values.
|
15
15
|
#
|
16
16
|
def initialize(xx, yy, zz=1.0); end
|
17
|
-
|
17
|
+
|
18
18
|
#
|
19
19
|
# Returns the element at _index_, where _index_ is 0, 1 or 2.
|
20
20
|
# Raises IndexError if _index_ is out of range.
|
@@ -74,7 +74,7 @@ module Fox
|
|
74
74
|
# Return the square of the length of this vector.
|
75
75
|
#
|
76
76
|
def length2; end
|
77
|
-
|
77
|
+
|
78
78
|
#
|
79
79
|
# Return the length (magnitude) of this vector.
|
80
80
|
#
|
@@ -84,7 +84,7 @@ module Fox
|
|
84
84
|
# Clamp the values of this vector between limits _lo_ and _hi_.
|
85
85
|
#
|
86
86
|
def clamp(lo, hi); end
|
87
|
-
|
87
|
+
|
88
88
|
#
|
89
89
|
# Return a new FXVec3f instance which is a normalized version
|
90
90
|
# of this one.
|
@@ -102,13 +102,13 @@ module Fox
|
|
102
102
|
# vector and _other_.
|
103
103
|
#
|
104
104
|
def hi(other); end
|
105
|
-
|
105
|
+
|
106
106
|
#
|
107
107
|
# Compute normal vector from points _a_, _b_ and _c_ (each of which is
|
108
108
|
# an FXVec3f instance).
|
109
109
|
#
|
110
110
|
def FXVec3f.normal(a, b, c); end
|
111
|
-
|
111
|
+
|
112
112
|
#
|
113
113
|
# Compute approximate normal from four points _a_, _b_, _c_ and _d_.
|
114
114
|
#
|
data/rdoc-sources/FXVec4d.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
module Fox
|
2
2
|
class FXVec4d
|
3
|
-
|
3
|
+
|
4
4
|
attr_accessor :x
|
5
5
|
attr_accessor :y
|
6
6
|
attr_accessor :z
|
7
7
|
attr_accessor :w
|
8
|
-
|
8
|
+
|
9
9
|
#
|
10
10
|
# Return an FXVec4d instance with _x_, _y_, _z_ and _w_ initialized to zeroes.
|
11
11
|
#
|
@@ -15,12 +15,12 @@ module Fox
|
|
15
15
|
# Return an FXVec4d instance initialized from specified component values.
|
16
16
|
#
|
17
17
|
def initialize(xx, yy, zz, ww=1.0); end
|
18
|
-
|
18
|
+
|
19
19
|
#
|
20
20
|
# Return an FXVec4d instance initialized from an FXVec3d instance and optional scalar.
|
21
21
|
#
|
22
22
|
def initialize(vec3d, ww=1.0); end
|
23
|
-
|
23
|
+
|
24
24
|
#
|
25
25
|
# Returns the element at _index_, where _index_ is 0, 1, 2 or 3.
|
26
26
|
# Raises IndexError if _index_ is out of range.
|
@@ -80,7 +80,7 @@ module Fox
|
|
80
80
|
# Return the square of the length of this vector.
|
81
81
|
#
|
82
82
|
def length2; end
|
83
|
-
|
83
|
+
|
84
84
|
#
|
85
85
|
# Return the length (magnitude) of this vector.
|
86
86
|
#
|
@@ -90,7 +90,7 @@ module Fox
|
|
90
90
|
# Clamp the values of this vector between limits _lo_ and _hi_.
|
91
91
|
#
|
92
92
|
def clamp(lo, hi); end
|
93
|
-
|
93
|
+
|
94
94
|
#
|
95
95
|
# Return a new FXVec4d instance which is a normalized version
|
96
96
|
# of this one.
|
@@ -108,12 +108,12 @@ module Fox
|
|
108
108
|
# vector and _other_.
|
109
109
|
#
|
110
110
|
def hi(other); end
|
111
|
-
|
111
|
+
|
112
112
|
#
|
113
113
|
# Compute normalized plane equation ax + by + cz + d = 0.
|
114
114
|
#
|
115
115
|
def FXVec4d.plane(vec); end
|
116
|
-
|
116
|
+
|
117
117
|
#
|
118
118
|
# Compute normalized plane equation ax + by + cz + d = 0.
|
119
119
|
#
|
data/rdoc-sources/FXVec4f.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
module Fox
|
2
2
|
class FXVec4f
|
3
|
-
|
3
|
+
|
4
4
|
attr_accessor :x
|
5
5
|
attr_accessor :y
|
6
6
|
attr_accessor :z
|
7
7
|
attr_accessor :w
|
8
|
-
|
8
|
+
|
9
9
|
#
|
10
10
|
# Return an FXVec4f instance with _x_, _y_, _z_ and _w_ initialized to zeroes.
|
11
11
|
#
|
@@ -15,12 +15,12 @@ module Fox
|
|
15
15
|
# Return an FXVec4f instance initialized from specified component values.
|
16
16
|
#
|
17
17
|
def initialize(xx, yy, zz, ww=1.0); end
|
18
|
-
|
18
|
+
|
19
19
|
#
|
20
20
|
# Return an FXVec4f instance initialized from an FXVec3f instance and optional scalar.
|
21
21
|
#
|
22
22
|
def initialize(vec3f, ww=1.0); end
|
23
|
-
|
23
|
+
|
24
24
|
#
|
25
25
|
# Returns the element at _index_, where _index_ is 0, 1, 2 or 3.
|
26
26
|
# Raises IndexError if _index_ is out of range.
|
@@ -80,7 +80,7 @@ module Fox
|
|
80
80
|
# Return the square of the length of this vector.
|
81
81
|
#
|
82
82
|
def length2; end
|
83
|
-
|
83
|
+
|
84
84
|
#
|
85
85
|
# Return the length (magnitude) of this vector.
|
86
86
|
#
|
@@ -90,7 +90,7 @@ module Fox
|
|
90
90
|
# Clamp the values of this vector between limits _lo_ and _hi_.
|
91
91
|
#
|
92
92
|
def clamp(lo, hi); end
|
93
|
-
|
93
|
+
|
94
94
|
#
|
95
95
|
# Return a new FXVec4f instance which is a normalized version
|
96
96
|
# of this one.
|
@@ -108,12 +108,12 @@ module Fox
|
|
108
108
|
# vector and _other_.
|
109
109
|
#
|
110
110
|
def hi(other); end
|
111
|
-
|
111
|
+
|
112
112
|
#
|
113
113
|
# Compute normalized plane equation ax + by + cz + d = 0.
|
114
114
|
#
|
115
115
|
def FXVec4f.plane(vec); end
|
116
|
-
|
116
|
+
|
117
117
|
#
|
118
118
|
# Compute normalized plane equation ax + by + cz + d = 0.
|
119
119
|
#
|
data/rdoc-sources/FXVisual.rb
CHANGED
@@ -45,7 +45,7 @@ module Fox
|
|
45
45
|
|
46
46
|
# Maximum number of colors [Integer]
|
47
47
|
attr_accessor :maxColors
|
48
|
-
|
48
|
+
|
49
49
|
#
|
50
50
|
# The visual type, one of +VISUALTYPE_MONO+, +VISUALTYPE_TRUE+
|
51
51
|
# +VISUALTYPE_INDEX+ or +VISUALTYPE_GRAY+. The visual type
|
@@ -64,12 +64,12 @@ module Fox
|
|
64
64
|
# +d+:: requested visual depth, in bits [Integer]
|
65
65
|
#
|
66
66
|
def initialize(a, flgs, d=32); end
|
67
|
-
|
67
|
+
|
68
68
|
#
|
69
69
|
# Get device pixel value for color value _clr_.
|
70
70
|
#
|
71
71
|
def getPixel(clr); end
|
72
|
-
|
72
|
+
|
73
73
|
#
|
74
74
|
# Get color value for device pixel value _pix_.
|
75
75
|
#
|
data/rdoc-sources/FXWindow.rb
CHANGED
@@ -151,7 +151,7 @@ module Fox
|
|
151
151
|
# +ID_MDI_PREV+:: x
|
152
152
|
|
153
153
|
class FXWindow < FXDrawable
|
154
|
-
|
154
|
+
|
155
155
|
# This window's parent window [FXWindow]
|
156
156
|
attr_reader :parent
|
157
157
|
|
@@ -235,7 +235,7 @@ module Fox
|
|
235
235
|
|
236
236
|
# Common DND type: Clipboard text type (pre-registered)
|
237
237
|
def FXWindow.stringType; end
|
238
|
-
|
238
|
+
|
239
239
|
# Common DND type: Clipboard image type (pre-registered)
|
240
240
|
def FXWindow.imageType; end
|
241
241
|
|
@@ -244,16 +244,16 @@ module Fox
|
|
244
244
|
|
245
245
|
# Common DND type name: Delete request
|
246
246
|
def FXWindow.deleteTypeName() ; end
|
247
|
-
|
247
|
+
|
248
248
|
# Common DND type name: ASCII text
|
249
249
|
def FXWindow.textTypeName() ; end
|
250
|
-
|
250
|
+
|
251
251
|
# Common DND type name: Color
|
252
252
|
def FXWindow.colorTypeName() ; end
|
253
|
-
|
253
|
+
|
254
254
|
# Common DND type name: URI List
|
255
255
|
def FXWindow.urilistTypeName() ; end
|
256
|
-
|
256
|
+
|
257
257
|
# Common DND type name: UTF-8 text request
|
258
258
|
def FXWindow.utf8TypeName() ; end
|
259
259
|
|
@@ -274,7 +274,7 @@ module Fox
|
|
274
274
|
#
|
275
275
|
def initialize(p, opts=0, x=0, y=0, width=0, height=0) # :yields: theWindow
|
276
276
|
end
|
277
|
-
|
277
|
+
|
278
278
|
#
|
279
279
|
# Return an initialized FXWindow instance, for a shell window.
|
280
280
|
#
|
@@ -304,7 +304,7 @@ module Fox
|
|
304
304
|
|
305
305
|
# Return the window width (in pixels).
|
306
306
|
def width; end
|
307
|
-
|
307
|
+
|
308
308
|
#
|
309
309
|
# Set the window width; and flag the widget as being in need of
|
310
310
|
# layout by its parent. This does not immediately update the server-
|
@@ -324,16 +324,16 @@ module Fox
|
|
324
324
|
|
325
325
|
# Return the default width of this window
|
326
326
|
def defaultWidth(); end
|
327
|
-
|
328
|
-
# Return the default height of this window
|
327
|
+
|
328
|
+
# Return the default height of this window
|
329
329
|
def defaultHeight(); end
|
330
|
-
|
330
|
+
|
331
331
|
# Return width for given height
|
332
332
|
def getWidthForHeight(givenHeight); end
|
333
|
-
|
333
|
+
|
334
334
|
# Return height for given width
|
335
335
|
def getHeightForWidth(givenWidth); end
|
336
|
-
|
336
|
+
|
337
337
|
#
|
338
338
|
# Add this hot key to the closest ancestor's accelerator table.
|
339
339
|
#
|
@@ -347,7 +347,7 @@ module Fox
|
|
347
347
|
accel.addAccel(code, self, MKUINT(ID_HOTKEY, SEL_KEYPRESS), MKUINT(ID_HOTKEY, SEL_KEYRELEASE))
|
348
348
|
end
|
349
349
|
end
|
350
|
-
|
350
|
+
|
351
351
|
#
|
352
352
|
# Remove this hot key from the closest ancestor's accelerator
|
353
353
|
# table.
|
@@ -362,33 +362,33 @@ module Fox
|
|
362
362
|
accel.removeAccel(code)
|
363
363
|
end
|
364
364
|
end
|
365
|
-
|
365
|
+
|
366
366
|
# Return +true+ if this window is a shell window.
|
367
367
|
def shell?() ; end
|
368
|
-
|
368
|
+
|
369
369
|
#
|
370
370
|
# Return +true+ if specified _window_ is ancestor of this window.
|
371
371
|
#
|
372
372
|
def childOf?(window) ; end
|
373
|
-
|
373
|
+
|
374
374
|
#
|
375
375
|
# Return +true+ if this window contains _child_ in its subtree.
|
376
376
|
#
|
377
377
|
def containsChild?(child) ; end
|
378
|
-
|
378
|
+
|
379
379
|
# Return the child window at specified coordinates (_x_, _y_)
|
380
380
|
def getChildAt(x, y) ; end
|
381
|
-
|
382
|
-
# Return the index (starting from zero) of the specified child _window_,
|
381
|
+
|
382
|
+
# Return the index (starting from zero) of the specified child _window_,
|
383
383
|
# or -1 if the window is not a child of this window.
|
384
384
|
def indexOfChild(window) ; end
|
385
|
-
|
385
|
+
|
386
386
|
# Remove specified child window
|
387
387
|
def removeChild(child) ; end
|
388
|
-
|
388
|
+
|
389
389
|
# Return the child window at specified index. Raises IndexError if _index_ is out of range.
|
390
390
|
def childAtIndex(index) ; end
|
391
|
-
|
391
|
+
|
392
392
|
# Return the common ancestor of window _a_ and window _b_.
|
393
393
|
def FXWindow.commonAncestor(a, b); end
|
394
394
|
|
@@ -400,74 +400,74 @@ module Fox
|
|
400
400
|
|
401
401
|
# Return compose context (an FXComposeContext).
|
402
402
|
def composeContext; end
|
403
|
-
|
403
|
+
|
404
404
|
# Create compose context.
|
405
405
|
def createComposeContext; end
|
406
|
-
|
406
|
+
|
407
407
|
# Destroy compose context.
|
408
408
|
def destroyComposeContext; end
|
409
409
|
|
410
410
|
# Return the cursor position and mouse button-state as a three-element array.
|
411
411
|
def cursorPosition() ; end
|
412
|
-
|
412
|
+
|
413
413
|
# Warp the cursor to the new position (_x_, _y_).
|
414
414
|
def setCursorPosition(x, y); end
|
415
|
-
|
415
|
+
|
416
416
|
# Return +true+ if this window is able to receive mouse and keyboard events.
|
417
417
|
def enabled?() ; end
|
418
|
-
|
418
|
+
|
419
419
|
# Return +true+ if this window is active.
|
420
420
|
def active?() ; end
|
421
|
-
|
421
|
+
|
422
422
|
# Return +true+ if this window is a control capable of receiving the focus.
|
423
423
|
def canFocus?() ; end
|
424
|
-
|
424
|
+
|
425
425
|
# Return +true+ if this window has the focus.
|
426
426
|
def hasFocus?() ; end
|
427
|
-
|
427
|
+
|
428
428
|
# Return +true+ if this window is in the focus chain.
|
429
429
|
def inFocusChain? ; end
|
430
|
-
|
430
|
+
|
431
431
|
# Move the focus to this window.
|
432
432
|
def setFocus(); end
|
433
|
-
|
433
|
+
|
434
434
|
# Remove the focus from this window.
|
435
435
|
def killFocus(); end
|
436
|
-
|
436
|
+
|
437
437
|
# Notification that focus moved to a new child window.
|
438
438
|
def changeFocus(child); end
|
439
439
|
|
440
440
|
# This changes the default window which responds to the *Enter*
|
441
|
-
# key in a dialog. If _enable_ is +true+, this window becomes the default
|
441
|
+
# key in a dialog. If _enable_ is +true+, this window becomes the default
|
442
442
|
# window; when _enable_ is +false+, this window will no longer be the
|
443
443
|
# default window. Finally, when _enable_ is +MAYBE+, the default window
|
444
444
|
# will revert to the initial default window.
|
445
445
|
def setDefault(enable=TRUE) ; end
|
446
|
-
|
446
|
+
|
447
447
|
# Return +true+ if this is the default window.
|
448
448
|
def default?() ; end
|
449
|
-
|
449
|
+
|
450
450
|
# Make this window the initial default window.
|
451
451
|
def setInitial(enable=true) ; end
|
452
|
-
|
452
|
+
|
453
453
|
# Return +true+ if this is the initial default window.
|
454
454
|
def initial?() ; end
|
455
|
-
|
455
|
+
|
456
456
|
# Enable the window to receive mouse and keyboard events.
|
457
457
|
def enable(); end
|
458
|
-
|
458
|
+
|
459
459
|
# Disable the window from receiving mouse and keyboard events.
|
460
460
|
def disable(); end
|
461
|
-
|
461
|
+
|
462
462
|
# Create all of the server-side resources for this window.
|
463
463
|
def create(); end
|
464
|
-
|
464
|
+
|
465
465
|
# Detach the server-side resources for this window.
|
466
466
|
def detach(); end
|
467
|
-
|
467
|
+
|
468
468
|
# Destroy the server-side resources for this window.
|
469
469
|
def destroy(); end
|
470
|
-
|
470
|
+
|
471
471
|
#
|
472
472
|
# Set window shape, where _shape_ is either an FXRegion, FXBitmap or
|
473
473
|
# FXIcon instance.
|
@@ -479,137 +479,137 @@ module Fox
|
|
479
479
|
|
480
480
|
# Raise this window to the top of the stacking order.
|
481
481
|
def raiseWindow(); end
|
482
|
-
|
482
|
+
|
483
483
|
# Lower this window to the bottom of the stacking order.
|
484
484
|
def lower(); end
|
485
|
-
|
485
|
+
|
486
486
|
#
|
487
487
|
# Move the window immediately, in the parent's coordinate system.
|
488
488
|
# Update the server representation as well if the window is realized.
|
489
489
|
# Perform layout of the children when necessary.
|
490
490
|
#
|
491
491
|
def move(x, y) ; end
|
492
|
-
|
492
|
+
|
493
493
|
#
|
494
494
|
# Resize the window to the specified width and height immediately,
|
495
495
|
# updating the server representation as well, if the window was realized.
|
496
496
|
# Perform layout of the children when necessary.
|
497
497
|
#
|
498
498
|
def resize(w, h) ; end
|
499
|
-
|
499
|
+
|
500
500
|
#
|
501
501
|
# Move and resize the window immediately, in the parent's coordinate system.
|
502
502
|
# Update the server representation as well if the window is realized.
|
503
503
|
# Perform layout of the children when necessary.
|
504
504
|
#
|
505
505
|
def position(x, y, w, h); end
|
506
|
-
|
506
|
+
|
507
507
|
# Mark this window's layout as dirty
|
508
508
|
def recalc(); end
|
509
|
-
|
509
|
+
|
510
510
|
# Perform layout immediately.
|
511
511
|
def layout(); end
|
512
512
|
|
513
513
|
# Generate a SEL_UPDATE message for the window and its children.
|
514
514
|
def forceRefresh(); end
|
515
|
-
|
515
|
+
|
516
516
|
# Reparent this window under new _father_ window, before _other_ sibling..
|
517
517
|
def reparent(father, other); end
|
518
|
-
|
518
|
+
|
519
519
|
# Scroll rectangle (_x_, _y_, _w_, _h_) by a shift of (_dx_, _dy_)
|
520
520
|
def scroll(x, y, w, h, dx, dy); end
|
521
|
-
|
521
|
+
|
522
522
|
# Mark the entire window client area dirty.
|
523
523
|
def update() ; end
|
524
524
|
|
525
525
|
# Mark the specified rectangle dirty
|
526
526
|
def update(x, y, w, h) ; end
|
527
|
-
|
527
|
+
|
528
528
|
# Process any outstanding repaint messages immediately, for the given rectangle
|
529
529
|
def repaint(x, y, w, h) ; end
|
530
|
-
|
530
|
+
|
531
531
|
# If marked but not yet painted, paint the entire window
|
532
532
|
def repaint() ; end
|
533
|
-
|
533
|
+
|
534
534
|
# Grab the mouse to this window; future mouse events will be
|
535
535
|
# reported to this window even while the cursor goes outside of this window
|
536
536
|
def grab() ; end
|
537
|
-
|
538
|
-
# Release the mouse grab
|
537
|
+
|
538
|
+
# Release the mouse grab
|
539
539
|
def ungrab(); end
|
540
|
-
|
540
|
+
|
541
541
|
# Return +true+ if the window has been grabbed
|
542
542
|
def grabbed?() ; end
|
543
|
-
|
543
|
+
|
544
544
|
# Grab keyboard device
|
545
545
|
def grabKeyboard(); end
|
546
|
-
|
546
|
+
|
547
547
|
# Ungrab keyboard device
|
548
548
|
def ungrabKeyboard(); end
|
549
|
-
|
549
|
+
|
550
550
|
# Return +true+ if active grab is in effect
|
551
551
|
def grabbedKeyboard?() ; end
|
552
|
-
|
553
|
-
# Show this window
|
552
|
+
|
553
|
+
# Show this window
|
554
554
|
def show(); end
|
555
|
-
|
556
|
-
# Hide this window
|
555
|
+
|
556
|
+
# Hide this window
|
557
557
|
def hide(); end
|
558
|
-
|
558
|
+
|
559
559
|
# Return +true+ if this window is shown.
|
560
560
|
def shown?() ; end
|
561
|
-
|
561
|
+
|
562
562
|
alias visible? shown?
|
563
|
-
|
563
|
+
|
564
564
|
# Return +true+ if this window is a composite.
|
565
565
|
def composite?() ; end
|
566
|
-
|
566
|
+
|
567
567
|
# Return +true+ if this window is under the cursor
|
568
568
|
def underCursor?() ; end
|
569
|
-
|
569
|
+
|
570
570
|
# Return +true+ if this window owns the primary selection
|
571
571
|
def hasSelection?() ; end
|
572
|
-
|
572
|
+
|
573
573
|
#
|
574
574
|
# Try to acquire the primary selection, given an array of drag types.
|
575
575
|
# Returns +true+ on success.
|
576
576
|
#
|
577
577
|
def acquireSelection(typesArray) ; end
|
578
|
-
|
578
|
+
|
579
579
|
#
|
580
580
|
# Release the primary selection. Returns +true+ on success.
|
581
581
|
#
|
582
582
|
def releaseSelection(); end
|
583
|
-
|
583
|
+
|
584
584
|
# Return +true+ if this window owns the clipboard
|
585
585
|
def hasClipboard?() ; end
|
586
|
-
|
586
|
+
|
587
587
|
#
|
588
588
|
# Try to acquire the clipboard, given an array of drag types.
|
589
589
|
# Returns +true+ on success.
|
590
590
|
#
|
591
591
|
def acquireClipboard(typesArray) ; end
|
592
|
-
|
592
|
+
|
593
593
|
#
|
594
594
|
# Release the clipboard. Returns +true+ on success.
|
595
595
|
#
|
596
596
|
def releaseClipboard(); end
|
597
|
-
|
598
|
-
# Enable this window to receive drops
|
597
|
+
|
598
|
+
# Enable this window to receive drops
|
599
599
|
def dropEnable(); end
|
600
|
-
|
600
|
+
|
601
601
|
# Disable this window from receiving drops
|
602
602
|
def dropDisable(); end
|
603
|
-
|
603
|
+
|
604
604
|
# Return +true+ if this window is able to receive drops
|
605
605
|
def dropEnabled?() ; end
|
606
|
-
|
606
|
+
|
607
607
|
# Return +true+ if a drag operation has been initiated from this window
|
608
608
|
def dragging?() ; end
|
609
|
-
|
609
|
+
|
610
610
|
# Initiate a drag operation with an array of previously registered drag types
|
611
611
|
def beginDrag(typesArray) ; end
|
612
|
-
|
612
|
+
|
613
613
|
# When dragging, inform the drop target of the new position and
|
614
614
|
# the drag action. The _action_ is a constant, one of:
|
615
615
|
#
|
@@ -621,24 +621,24 @@ module Fox
|
|
621
621
|
# +DRAG_PRIVATE+:: private
|
622
622
|
|
623
623
|
def handleDrag(x, y, action=DRAG_COPY) ; end
|
624
|
-
|
624
|
+
|
625
625
|
#
|
626
626
|
# Terminate the drag operation with or without actually dropping the data.
|
627
627
|
# Return the action performed by the target.
|
628
628
|
#
|
629
629
|
def endDrag(drop=true); end
|
630
|
-
|
630
|
+
|
631
631
|
# Return +true+ if this window is the target of a drop
|
632
632
|
def dropTarget?() ; end
|
633
|
-
|
633
|
+
|
634
634
|
# When being dragged over, indicate that no further +SEL_DND_MOTION+ messages
|
635
635
|
# are required while the cursor is inside the given rectangle
|
636
636
|
def setDragRectangle(x, y, w, h, wantUpdates=true); end
|
637
|
-
|
637
|
+
|
638
638
|
# When being dragged over, indicate we want to receive +SEL_DND_MOTION+ messages
|
639
639
|
# every time the cursor moves
|
640
640
|
def clearDragRectangle();
|
641
|
-
|
641
|
+
|
642
642
|
# When being dragged over, indicate acceptance or rejection of the dragged data.
|
643
643
|
# The _action_ is a constant indicating the suggested drag action, one of:
|
644
644
|
#
|
@@ -650,12 +650,12 @@ module Fox
|
|
650
650
|
# +DRAG_PRIVATE+:: private
|
651
651
|
|
652
652
|
def acceptDrop(action=DRAG_ACCEPT); end
|
653
|
-
|
653
|
+
|
654
654
|
# Returns +DRAG_REJECT+ when the drop target would not accept the drop;
|
655
655
|
# otherwise indicates acceptance by returning one of +DRAG_ACCEPT+,
|
656
656
|
# +DRAG_COPY+, +DRAG_MOVE+ or +DRAG_LINK+.
|
657
657
|
def didAccept() ; end
|
658
|
-
|
658
|
+
|
659
659
|
#
|
660
660
|
# Sent by the drop target in response to +SEL_DND_DROP+. The drag action
|
661
661
|
# should be the same as the action the drop target reported to the drag
|
@@ -674,44 +674,44 @@ module Fox
|
|
674
674
|
# +FROM_SELECTION+, +FROM_CLIPBOARD+ or +FROM_DRAGNDROP+.
|
675
675
|
# Returns an array of drag types.
|
676
676
|
def inquireDNDTypes(origin) ; end
|
677
|
-
|
677
|
+
|
678
678
|
# When being dragged over, return +true+ if we are offered the given drag type.
|
679
679
|
# The _origin_ is a constant indicating the origin of the data, one of
|
680
680
|
# +FROM_SELECTION+, +FROM_CLIPBOARD+ or +FROM_DRAGNDROP+.
|
681
681
|
# The _type_ is a previously registered drag type.
|
682
682
|
def offeredDNDType?(origin, type) ; end
|
683
|
-
|
683
|
+
|
684
684
|
# When being dragged over, return the drag action
|
685
685
|
def inquireDNDAction() ; end
|
686
|
-
|
686
|
+
|
687
687
|
# Get DND data; the caller becomes the owner of the array.
|
688
688
|
# The _origin_ is a constant indicating the origin of the data, one of
|
689
689
|
# +FROM_SELECTION+, +FROM_CLIPBOARD+ or +FROM_DRAGNDROP+.
|
690
690
|
# The _type_ is a previously registered drag type.
|
691
691
|
def getDNDData(origin, type) ; end
|
692
|
-
|
692
|
+
|
693
693
|
# Set DND data; ownership is transferred to the system.
|
694
694
|
# The _origin_ is a constant indicating the origin of the data, one of
|
695
695
|
# +FROM_SELECTION+, +FROM_CLIPBOARD+ or +FROM_DRAGNDROP+.
|
696
696
|
# The _type_ is a previously registered drag type.
|
697
697
|
def setDNDData(origin, type, data) ; end
|
698
|
-
|
698
|
+
|
699
699
|
# Return +true+ if this window logically contains the given point (_parentX_, _parentY_).
|
700
700
|
def contains?(parentX, parentY) ; end
|
701
|
-
|
701
|
+
|
702
702
|
# Translate coordinates (_fromX_, _fromY_) from _fromWindow_'s coordinate system
|
703
703
|
# to this window's coordinate system. Returns a two-element array containing the
|
704
704
|
# coordinates in this window's coordinate system.
|
705
705
|
def translateCoordinatesFrom(fromWindow, fromX, fromY) ; end
|
706
|
-
|
706
|
+
|
707
707
|
# Translate coordinates (_fromX_, _fromY_) from this window's coordinate system
|
708
708
|
# to _toWindow_'s coordinate system. Returns a two-element array containing the
|
709
709
|
# coordinates in _toWindow_'s coordinate system.
|
710
710
|
def translateCoordinatesTo(toWindow, fromX, fromY) ; end
|
711
|
-
|
711
|
+
|
712
712
|
# Return +true+ if this window does save-unders.
|
713
713
|
def doesSaveUnder?() ; end
|
714
|
-
|
714
|
+
|
715
715
|
#
|
716
716
|
# Translate message for localization; using the current FXTranslator,
|
717
717
|
# an attempt is made to translate the given message into the current
|