fxruby 1.6.22.pre2-x86-mingw32 → 1.6.22.pre3-x86-mingw32
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/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/FXStream.rb
CHANGED
@@ -51,7 +51,7 @@ module Fox
|
|
51
51
|
|
52
52
|
# Stream direction, one of +FXStreamSave+, +FXStreamLoad+ or +FXStreamDead+.
|
53
53
|
attr_reader :direction
|
54
|
-
|
54
|
+
|
55
55
|
# Parent object [FXObject]
|
56
56
|
attr_reader :container
|
57
57
|
|
@@ -60,7 +60,7 @@ module Fox
|
|
60
60
|
|
61
61
|
# Stream position (an offset from the beginning of the stream) [Integer]
|
62
62
|
attr_accessor :position
|
63
|
-
|
63
|
+
|
64
64
|
#
|
65
65
|
# Construct stream with given container object. The container object
|
66
66
|
# is an object that will itself not be saved to or loaded from the stream,
|
@@ -73,7 +73,7 @@ module Fox
|
|
73
73
|
#
|
74
74
|
def initialize(cont=nil) # :yields: theStream
|
75
75
|
end
|
76
|
-
|
76
|
+
|
77
77
|
#
|
78
78
|
# Open stream for reading or for writing.
|
79
79
|
# An initial buffer size may be given, which must be at least 16 bytes.
|
@@ -88,12 +88,12 @@ module Fox
|
|
88
88
|
# +data+:: external data buffer (if any) [String]
|
89
89
|
#
|
90
90
|
def open(save_or_load, size=8192, data=nil); end
|
91
|
-
|
91
|
+
|
92
92
|
#
|
93
93
|
# Close stream; returns +true+ if OK.
|
94
94
|
#
|
95
95
|
def close(); end
|
96
|
-
|
96
|
+
|
97
97
|
#
|
98
98
|
# Flush buffer
|
99
99
|
#
|
@@ -103,7 +103,7 @@ module Fox
|
|
103
103
|
# Get available buffer space
|
104
104
|
#
|
105
105
|
def getSpace(); end
|
106
|
-
|
106
|
+
|
107
107
|
#
|
108
108
|
# Set available buffer space
|
109
109
|
#
|
@@ -122,10 +122,10 @@ module Fox
|
|
122
122
|
|
123
123
|
# Set the byte-swapped flag to +true+ or +false+.
|
124
124
|
def bytesSwapped=(swapBytes); end
|
125
|
-
|
125
|
+
|
126
126
|
# Returns +true+ if bytes are swapped for this stream
|
127
127
|
def bytesSwapped?; end
|
128
|
-
|
128
|
+
|
129
129
|
#
|
130
130
|
# Set stream to big endian mode if +true+. Byte swapping will
|
131
131
|
# be enabled if the machine native byte order is not equal to
|
@@ -8,27 +8,27 @@ module Fox
|
|
8
8
|
# Return an initialized FXStringDict instance.
|
9
9
|
#
|
10
10
|
def initialize; end
|
11
|
-
|
11
|
+
|
12
12
|
#
|
13
13
|
# Insert a new string indexed by key, with given mark flag.
|
14
14
|
#
|
15
15
|
def insert(key, value, mrk=false); end
|
16
|
-
|
16
|
+
|
17
17
|
#
|
18
18
|
# Replace or insert a new string indexed by key, unless given mark is lower than the existing mark.
|
19
19
|
#
|
20
20
|
def replace(key, value, mrk=false); end
|
21
|
-
|
21
|
+
|
22
22
|
#
|
23
23
|
# Remove entry indexed by key.
|
24
24
|
#
|
25
25
|
def remove(key); end
|
26
|
-
|
26
|
+
|
27
27
|
#
|
28
28
|
# Return the entry indexed by _key_, or nil if the key does not exist.
|
29
29
|
#
|
30
30
|
def find(key); end
|
31
|
-
|
31
|
+
|
32
32
|
#
|
33
33
|
# Return the string at integer position _pos_.
|
34
34
|
#
|
data/rdoc-sources/FXSwitcher.rb
CHANGED
@@ -4,7 +4,7 @@ module Fox
|
|
4
4
|
# windows such that one of them is placed on top; all other
|
5
5
|
# child windows are hidden.
|
6
6
|
# Switcher provides a convenient method to conserve screen
|
7
|
-
# real-estate by arranging several GUI panels to appear in the
|
7
|
+
# real-estate by arranging several GUI panels to appear in the
|
8
8
|
# same space, depending on context.
|
9
9
|
# Switcher ignores all layout hints from its children; all
|
10
10
|
# children are stretched according to the switcher layout
|
@@ -66,7 +66,7 @@ module Fox
|
|
66
66
|
#
|
67
67
|
def initialize(p, opts=0, x=0, y=0, width=0, height=0, padLeft=DEFAULT_SPACING, padRight=DEFAULT_SPACING, padTop=DEFAULT_SPACING, padBottom=DEFAULT_SPACING) # :yields: theSwitcher
|
68
68
|
end
|
69
|
-
|
69
|
+
|
70
70
|
#
|
71
71
|
# Raise the child window at _index_ to the top of the stack.
|
72
72
|
# If _notify_ is +true+, a +SEL_COMMAND+ message is sent to the switcher's message target
|
data/rdoc-sources/FXTGAIcon.rb
CHANGED
@@ -7,7 +7,7 @@ module Fox
|
|
7
7
|
# Return the suggested file extension for this image type ("tga").
|
8
8
|
#
|
9
9
|
def FXTGAIcon.fileExt; end
|
10
|
-
|
10
|
+
|
11
11
|
#
|
12
12
|
# Return the MIME type for this image type
|
13
13
|
#
|
@@ -28,7 +28,7 @@ module Fox
|
|
28
28
|
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theTGAIcon
|
29
29
|
end
|
30
30
|
end
|
31
|
-
|
31
|
+
|
32
32
|
#
|
33
33
|
# Load a Targa file from a stream.
|
34
34
|
# If successful, returns an array containing the image pixel data (as a
|
@@ -54,7 +54,7 @@ module Fox
|
|
54
54
|
# +height+:: height [Integer]
|
55
55
|
#
|
56
56
|
def Fox.fxsaveTGA(store, data, channels, width, height); end
|
57
|
-
|
57
|
+
|
58
58
|
#
|
59
59
|
# Return +true+ if _store_ (an FXStream instance) contains a TGA image.
|
60
60
|
#
|
data/rdoc-sources/FXTGAImage.rb
CHANGED
data/rdoc-sources/FXTIFIcon.rb
CHANGED
@@ -34,7 +34,7 @@ module Fox
|
|
34
34
|
def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theTIFIcon
|
35
35
|
end
|
36
36
|
end
|
37
|
-
|
37
|
+
|
38
38
|
#
|
39
39
|
# Load a TIFF file from a stream.
|
40
40
|
# If successful, returns an array containing the image pixel data (as a
|
@@ -61,7 +61,7 @@ module Fox
|
|
61
61
|
# +codec+:: codec setting [Integer]
|
62
62
|
#
|
63
63
|
def Fox.fxsaveTIF(store, data, transp, width, height, codec); end
|
64
|
-
|
64
|
+
|
65
65
|
#
|
66
66
|
# Return +true+ if _store_ (an FXStream instance) contains a TIFF image.
|
67
67
|
#
|
data/rdoc-sources/FXTIFImage.rb
CHANGED
@@ -7,7 +7,7 @@ module Fox
|
|
7
7
|
# Return the suggested file extension for this image type ("tif").
|
8
8
|
#
|
9
9
|
def FXTIFImage.fileExt; end
|
10
|
-
|
10
|
+
|
11
11
|
#
|
12
12
|
# Return the MIME type for this image type
|
13
13
|
#
|
@@ -18,7 +18,7 @@ module Fox
|
|
18
18
|
|
19
19
|
# Codec setting [Integer]
|
20
20
|
attr_accessor :codec
|
21
|
-
|
21
|
+
|
22
22
|
#
|
23
23
|
# Return an initialized FXTIFImage instance.
|
24
24
|
#
|
data/rdoc-sources/FXTabBar.rb
CHANGED
@@ -44,7 +44,7 @@ module Fox
|
|
44
44
|
class FXTabBar < FXPacker
|
45
45
|
# Currently active tab item's index [Integer]
|
46
46
|
attr_accessor :current
|
47
|
-
|
47
|
+
|
48
48
|
# Tab bar style [Integer]
|
49
49
|
attr_accessor :tabStyle
|
50
50
|
|
@@ -70,7 +70,7 @@ module Fox
|
|
70
70
|
end
|
71
71
|
|
72
72
|
#
|
73
|
-
# Change currently active tab item; this raises the active tab item
|
73
|
+
# Change currently active tab item; this raises the active tab item
|
74
74
|
# slightly above the neighboring tab items.
|
75
75
|
# If _notify_ is +true+, a +SEL_COMMAND+ message is sent to the tab bar's message target
|
76
76
|
#
|
data/rdoc-sources/FXTable.rb
CHANGED
@@ -5,23 +5,23 @@ module Fox
|
|
5
5
|
class FXTablePos
|
6
6
|
# Cell row (zero-based) [Integer]
|
7
7
|
attr_accessor :row
|
8
|
-
|
8
|
+
|
9
9
|
# Cell column (zero-based) [Integer]
|
10
10
|
attr_accessor :col
|
11
|
-
|
11
|
+
|
12
12
|
#
|
13
13
|
# Returns an initialized FXTablePos instance.
|
14
14
|
#
|
15
15
|
def initialize; end
|
16
16
|
end
|
17
|
-
|
17
|
+
|
18
18
|
#
|
19
19
|
# Represents a range of cells in an FXTable.
|
20
20
|
#
|
21
21
|
class FXTableRange
|
22
22
|
# Starting position for this range of cells [FXTablePos]
|
23
23
|
attr_accessor :fm
|
24
|
-
|
24
|
+
|
25
25
|
# Ending position for this range of cells [FXTablePos]
|
26
26
|
attr_accessor :to
|
27
27
|
|
@@ -38,25 +38,25 @@ module Fox
|
|
38
38
|
|
39
39
|
# Text associated with this cell [String]
|
40
40
|
attr_accessor :text
|
41
|
-
|
41
|
+
|
42
42
|
# Icon associated with this cell [FXIcon]
|
43
43
|
attr_accessor :icon
|
44
|
-
|
44
|
+
|
45
45
|
# User data associated with this cell [Object]
|
46
46
|
attr_accessor :data
|
47
|
-
|
47
|
+
|
48
48
|
# Indicates whether this item has the focus [Boolean]
|
49
49
|
attr_writer :focus
|
50
|
-
|
50
|
+
|
51
51
|
# Indicates whether this item is selected [Boolean]
|
52
52
|
attr_writer :selected
|
53
|
-
|
53
|
+
|
54
54
|
# Indicates whether this item is enabled [Boolean]
|
55
55
|
attr_writer :enabled
|
56
|
-
|
56
|
+
|
57
57
|
# Indicates whether this item is draggable [Boolean]
|
58
58
|
attr_writer :draggable
|
59
|
-
|
59
|
+
|
60
60
|
#
|
61
61
|
# Indicates how the text in the cell will be justified.
|
62
62
|
# This value is some combination of the horizontal justification
|
@@ -64,18 +64,18 @@ module Fox
|
|
64
64
|
# justification flags +TOP+, +CENTER_Y+ and +BOTTOM+.
|
65
65
|
#
|
66
66
|
attr_accessor :justify
|
67
|
-
|
67
|
+
|
68
68
|
# The icon's position in the cell, relative to the text (one
|
69
69
|
# of +BEFORE+, +AFTER+, +ABOVE+ or +BELOW+) [Integer]
|
70
70
|
attr_accessor :iconPosition
|
71
|
-
|
71
|
+
|
72
72
|
# Which borders will be drawn for this cell (some combination of
|
73
73
|
# +LBORDER+, +RBORDER+, +TBORDER+ and +BBORDER+) [Integer]
|
74
74
|
attr_accessor :borders
|
75
|
-
|
75
|
+
|
76
76
|
# The background stipple pattern for this cell [Integer]
|
77
77
|
attr_accessor :stipple
|
78
|
-
|
78
|
+
|
79
79
|
#
|
80
80
|
# Return an initialized FXTableItem instance.
|
81
81
|
#
|
@@ -92,53 +92,53 @@ module Fox
|
|
92
92
|
|
93
93
|
# Return the height of this item (in pixels)
|
94
94
|
def getHeight(table); end
|
95
|
-
|
95
|
+
|
96
96
|
# Return true if this item has the focus
|
97
97
|
def hasFocus?; end
|
98
|
-
|
98
|
+
|
99
99
|
# Return true if this item is selected
|
100
100
|
def selected?; end
|
101
|
-
|
101
|
+
|
102
102
|
# Return true if this item is enabled
|
103
103
|
def enabled?; end
|
104
|
-
|
104
|
+
|
105
105
|
# Return true if this item is draggable
|
106
106
|
def draggable?; end
|
107
|
-
|
107
|
+
|
108
108
|
# Return the text for this table item
|
109
109
|
def to_s
|
110
110
|
text
|
111
111
|
end
|
112
|
-
|
112
|
+
|
113
113
|
# Change item icon, deleting the previous item icon if it was owned
|
114
114
|
# by this table item.
|
115
115
|
def setIcon(icn, owned=false); end
|
116
|
-
|
116
|
+
|
117
117
|
# Draw this table item
|
118
118
|
def draw(table, dc, x, y, w, h); end
|
119
|
-
|
119
|
+
|
120
120
|
# Draw borders
|
121
|
-
def drawBorders(table, dc, x, y, w, h); end
|
122
|
-
|
121
|
+
def drawBorders(table, dc, x, y, w, h); end
|
122
|
+
|
123
123
|
# Draw content
|
124
|
-
def drawContent(table, dc, x, y, w, h); end
|
125
|
-
|
124
|
+
def drawContent(table, dc, x, y, w, h); end
|
125
|
+
|
126
126
|
# Draw hatch pattern
|
127
|
-
def drawPattern(table, dc, x, y, w, h); end
|
128
|
-
|
127
|
+
def drawPattern(table, dc, x, y, w, h); end
|
128
|
+
|
129
129
|
# Draw background behind the cell
|
130
130
|
def drawBackground(table, dc, x, y, w, h)
|
131
131
|
hg = table.horizontalGridShown? ? 1 : 0
|
132
132
|
vg = table.verticalGridShown? ? 1 : 0
|
133
133
|
dc.fillRectangle(x + vg, y + hg, w - vg, h - hg)
|
134
|
-
end
|
134
|
+
end
|
135
135
|
|
136
136
|
#
|
137
137
|
# Create input control for editing this item.
|
138
138
|
# Should return a new instance of some subclass of FXWindow.
|
139
139
|
#
|
140
140
|
def getControlFor(table); end
|
141
|
-
|
141
|
+
|
142
142
|
#
|
143
143
|
# Set item value from input _control_ (an instance of some subclass
|
144
144
|
# of FXWindow).
|
@@ -147,14 +147,14 @@ module Fox
|
|
147
147
|
|
148
148
|
# Create the server-side resources associated with this table item
|
149
149
|
def create; end
|
150
|
-
|
150
|
+
|
151
151
|
# Detach the server-side resources associated with this table item
|
152
152
|
def detach; end
|
153
|
-
|
153
|
+
|
154
154
|
# Destroy the server-side resources associated with this table item
|
155
155
|
def destroy; end
|
156
156
|
end
|
157
|
-
|
157
|
+
|
158
158
|
#
|
159
159
|
# The FXTable widget displays a table of items, each with some text and optional
|
160
160
|
# icon. A column Header control provide captions for each column, and a row
|
@@ -189,7 +189,7 @@ module Fox
|
|
189
189
|
# editing or by other means; the parameter is the range of affected cells. This message
|
190
190
|
# is sent prior to the change.
|
191
191
|
# SEL_CLICKED, SEL_DOUBLECLICKED, and SEL_TRIPLECLICKED messages are sent when a cell
|
192
|
-
# is clicked, double-clicked, or triple-clicked, respectively.
|
192
|
+
# is clicked, double-clicked, or triple-clicked, respectively.
|
193
193
|
# A SEL_COMMAND is sent when an enabled item is clicked inside the table.
|
194
194
|
#
|
195
195
|
# === Events
|
@@ -263,115 +263,115 @@ module Fox
|
|
263
263
|
|
264
264
|
# Button in the upper left corner [FXButton]
|
265
265
|
attr_reader :cornerButton
|
266
|
-
|
266
|
+
|
267
267
|
# Column header control [FXHeader]
|
268
268
|
attr_reader :columnHeader
|
269
|
-
|
269
|
+
|
270
270
|
# Row header control [FXHeader]
|
271
271
|
attr_reader :rowHeader
|
272
272
|
|
273
273
|
# Number of visible rows [Integer]
|
274
274
|
attr_accessor :visibleRows
|
275
|
-
|
275
|
+
|
276
276
|
# Number of visible columns [Integer]
|
277
277
|
attr_accessor :visibleColumns
|
278
|
-
|
278
|
+
|
279
279
|
# Number of rows [Integer]
|
280
280
|
attr_reader :numRows
|
281
|
-
|
281
|
+
|
282
282
|
# Number of columns [Integer]
|
283
283
|
attr_reader :numColumns
|
284
|
-
|
284
|
+
|
285
285
|
# Top cell margin, in pixels [Integer]
|
286
286
|
attr_accessor :marginTop
|
287
|
-
|
287
|
+
|
288
288
|
# Bottom cell margin, in pixels [Integer]
|
289
289
|
attr_accessor :marginBottom
|
290
|
-
|
290
|
+
|
291
291
|
# Left cell margin, in pixels [Integer]
|
292
292
|
attr_accessor :marginLeft
|
293
|
-
|
293
|
+
|
294
294
|
# Right cell margin, in pixels [Integer]
|
295
295
|
attr_accessor :marginRight
|
296
|
-
|
296
|
+
|
297
297
|
# Table style [Integer]
|
298
298
|
attr_accessor :tableStyle
|
299
|
-
|
299
|
+
|
300
300
|
# The column header height mode is either fixed (LAYOUT_FIX_HEIGHT) or variable.
|
301
301
|
# In variable height mode, the column header will size to fit the contents in it.
|
302
302
|
# In fixed height mode, the size is explicitly set via the _columnHeaderHeight_
|
303
303
|
# attribute.
|
304
304
|
attr_accessor :columnHeaderMode
|
305
|
-
|
305
|
+
|
306
306
|
# The row header width mode is either fixed (LAYOUT_FIX_WIDTH) or variable.
|
307
307
|
# In variable width mode, the row header will size to fit the contents in it.
|
308
308
|
# In fixed width mode, the size is explicitly set via the _rowHeaderWidth_
|
309
309
|
# attribute.
|
310
310
|
attr_accessor :rowHeaderMode
|
311
|
-
|
311
|
+
|
312
312
|
# Row header font [FXFont]
|
313
313
|
attr_accessor :rowHeaderFont
|
314
|
-
|
314
|
+
|
315
315
|
# Column header font [FXFont]
|
316
316
|
attr_accessor :columnHeaderFont
|
317
|
-
|
317
|
+
|
318
318
|
# The fixed column header height, if _columnHeaderMode_ is +LAYOUT_FIX_HEIGHT+.
|
319
319
|
attr_accessor :columnHeaderHeight
|
320
|
-
|
320
|
+
|
321
321
|
# The fixed row header width, if _rowHeaderMode_ is +LAYOUT_FIX_WIDTH+.
|
322
322
|
attr_accessor :rowHeaderWidth
|
323
|
-
|
323
|
+
|
324
324
|
# Default column width, in pixels [Integer]
|
325
325
|
attr_accessor :defColumnWidth
|
326
|
-
|
326
|
+
|
327
327
|
# Default row height, in pixels [Integer]
|
328
328
|
attr_accessor :defRowHeight
|
329
|
-
|
329
|
+
|
330
330
|
# Row number for current cell [Integer]
|
331
331
|
attr_reader :currentRow
|
332
|
-
|
332
|
+
|
333
333
|
# Column number for current cell [Integer]
|
334
334
|
attr_reader :currentColumn
|
335
|
-
|
335
|
+
|
336
336
|
# Row number for anchor cell [Integer]
|
337
337
|
attr_reader :anchorRow
|
338
|
-
|
338
|
+
|
339
339
|
# Column number for anchor cell [Integer]
|
340
340
|
attr_reader :anchorColumn
|
341
|
-
|
341
|
+
|
342
342
|
# Starting row number for selection, or -1 if there is no selection [Integer]
|
343
343
|
attr_reader :selStartRow
|
344
|
-
|
344
|
+
|
345
345
|
# Starting column number for selection, or -1 if there is no selection [Integer]
|
346
346
|
attr_reader :selStartColumn
|
347
|
-
|
347
|
+
|
348
348
|
# Ending row number for selection, or -1 if there is no selection [Integer]
|
349
349
|
attr_reader :selEndRow
|
350
|
-
|
350
|
+
|
351
351
|
# Ending column number for selection, or -1 if there is no selection [Integer]
|
352
352
|
attr_reader :selEndColumn
|
353
|
-
|
353
|
+
|
354
354
|
# Text font [FXFont]
|
355
355
|
attr_accessor :font
|
356
|
-
|
356
|
+
|
357
357
|
# Text color [FXColor]
|
358
358
|
attr_accessor :textColor
|
359
|
-
|
359
|
+
|
360
360
|
# Base GUI color [FXColor]
|
361
361
|
attr_accessor :baseColor
|
362
|
-
|
362
|
+
|
363
363
|
# Highlight color [FXColor]
|
364
364
|
attr_accessor :hiliteColor
|
365
|
-
|
365
|
+
|
366
366
|
# Shadow color [FXColor]
|
367
367
|
attr_accessor :shadowColor
|
368
|
-
|
368
|
+
|
369
369
|
# Border color [FXColor]
|
370
370
|
attr_accessor :borderColor
|
371
|
-
|
371
|
+
|
372
372
|
# Background color for selected cell(s) [FXColor]
|
373
373
|
attr_accessor :selBackColor
|
374
|
-
|
374
|
+
|
375
375
|
# Text color for selected cell(s) [FXColor]
|
376
376
|
attr_accessor :selTextColor
|
377
377
|
|
@@ -392,7 +392,7 @@ module Fox
|
|
392
392
|
|
393
393
|
# Returns the drag type for CSV data
|
394
394
|
def FXTable.csvType; end
|
395
|
-
|
395
|
+
|
396
396
|
# Returns the drag type name for CSV data
|
397
397
|
def FXTable.csvTypeName; end
|
398
398
|
|
@@ -418,7 +418,7 @@ module Fox
|
|
418
418
|
#
|
419
419
|
def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0, padLeft=DEFAULT_MARGIN, padRight=DEFAULT_MARGIN, padTop=DEFAULT_MARGIN, padBottom=DEFAULT_MARGIN) # :yields: theTable
|
420
420
|
end
|
421
|
-
|
421
|
+
|
422
422
|
# Set visibility of horizontal grid to +true+ or +false+.
|
423
423
|
def horizontalGridShown=(vis); end
|
424
424
|
|
@@ -436,16 +436,16 @@ module Fox
|
|
436
436
|
# Note that this is equivalent to the #horizontalGridShown=() method.
|
437
437
|
#
|
438
438
|
def showHorzGrid(on=true) ; end
|
439
|
-
|
439
|
+
|
440
440
|
#
|
441
441
|
# Show or hide vertical grid.
|
442
442
|
# Note that this is equivalent to the #verticalGridShown=() method.
|
443
443
|
#
|
444
444
|
def showVertGrid(on=true) ; end
|
445
|
-
|
445
|
+
|
446
446
|
# Set editability of this table to +true+ or +false+.
|
447
447
|
def editable=(edit); end
|
448
|
-
|
448
|
+
|
449
449
|
# Return +true+ if this table is editable.
|
450
450
|
def editable? ; end
|
451
451
|
|
@@ -481,7 +481,7 @@ module Fox
|
|
481
481
|
# Otherwise, returns the row in the table containing _y_.
|
482
482
|
#
|
483
483
|
def rowAtY(y) ; end
|
484
|
-
|
484
|
+
|
485
485
|
#
|
486
486
|
# Determine column containing _x_.
|
487
487
|
# Returns -1 if _x_ is to the left of the first column, and _numColumns_ if _x_ is
|
@@ -489,7 +489,7 @@ module Fox
|
|
489
489
|
# containing _x_.
|
490
490
|
#
|
491
491
|
def colAtX(x) ; end
|
492
|
-
|
492
|
+
|
493
493
|
# Return the item (a reference to an FXTableItem) at the given _row_ and _column_.
|
494
494
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
495
495
|
def getItem(row, column) ; end
|
@@ -513,7 +513,7 @@ module Fox
|
|
513
513
|
# Raises ArgError if either _numRows_ or _numCols_ is less than zero.
|
514
514
|
#
|
515
515
|
def setTableSize(numRows, numCols, notify=false) ; end
|
516
|
-
|
516
|
+
|
517
517
|
#
|
518
518
|
# Insert _numRows_ rows beginning at the specified _row_ number.
|
519
519
|
# If _row_ is equal to the number of rows in the table, the new
|
@@ -523,7 +523,7 @@ module Fox
|
|
523
523
|
# Raises IndexError if _row_ is out of bounds.
|
524
524
|
#
|
525
525
|
def insertRows(row, numRows=1, notify=false) ; end
|
526
|
-
|
526
|
+
|
527
527
|
#
|
528
528
|
# Insert _numColumns_ columns beginning at the specified _column_ number.
|
529
529
|
# If _column_ is equal to the number of columns in the table, the
|
@@ -533,7 +533,7 @@ module Fox
|
|
533
533
|
# Raises IndexError if _column_ is out of bounds.
|
534
534
|
#
|
535
535
|
def insertColumns(column, numColumns=1, notify=false) ; end
|
536
|
-
|
536
|
+
|
537
537
|
#
|
538
538
|
# Remove the _nr_ rows starting at the specified _row_.
|
539
539
|
# If _notify_ is +true+, a +SEL_DELETED+ message is sent to the table's
|
@@ -542,7 +542,7 @@ module Fox
|
|
542
542
|
# is greater than the current number of table rows.
|
543
543
|
#
|
544
544
|
def removeRows(row, nr=1, notify=false) ; end
|
545
|
-
|
545
|
+
|
546
546
|
#
|
547
547
|
# Remove the _nc_ columns starting at the specified _column_.
|
548
548
|
# If _notify_ is +true+, a +SEL_DELETED+ message is sent to the table's
|
@@ -551,7 +551,7 @@ module Fox
|
|
551
551
|
# _column_ + _nc_ is greater than the current number of table columns.
|
552
552
|
#
|
553
553
|
def removeColumns(column, nc=1, notify=false) ; end
|
554
|
-
|
554
|
+
|
555
555
|
#
|
556
556
|
# Extract item from table and return a reference to it.
|
557
557
|
# If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the table's
|
@@ -559,7 +559,7 @@ module Fox
|
|
559
559
|
# Raises IndexError if either _row_ or _col_ is out of bounds.
|
560
560
|
#
|
561
561
|
def extractItem(r, c, notify=false); end
|
562
|
-
|
562
|
+
|
563
563
|
#
|
564
564
|
# Remove item at (_row_, _col_), replacing it with +nil+.
|
565
565
|
# If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the table's
|
@@ -587,39 +587,39 @@ module Fox
|
|
587
587
|
# Scroll to make cell at (_row_, _column_) fully visible.
|
588
588
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
589
589
|
def makePositionVisible(row, column) ; end
|
590
|
-
|
590
|
+
|
591
591
|
# Returns +true+ if the cell at position (_row_, _column_) is visible.
|
592
592
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
593
593
|
def itemVisible?(row, column) ; end
|
594
|
-
|
594
|
+
|
595
595
|
# Set column width.
|
596
596
|
# Raises IndexError if _column_ is out of bounds.
|
597
597
|
def setColumnWidth(column, columnWidth) ; end
|
598
|
-
|
598
|
+
|
599
599
|
# Get column width.
|
600
600
|
# Raises IndexError if _column_ is out of bounds.
|
601
601
|
def getColumnWidth(column) ; end
|
602
|
-
|
602
|
+
|
603
603
|
# Set row height.
|
604
604
|
# Raises IndexError if _row_ is out of bounds.
|
605
605
|
def setRowHeight(row, rowHeight) ; end
|
606
|
-
|
606
|
+
|
607
607
|
# Get row height.
|
608
608
|
# Raises IndexError if _row_ is out of bounds.
|
609
609
|
def getRowHeight(row) ; end
|
610
|
-
|
610
|
+
|
611
611
|
# Get x-coordinate of column.
|
612
612
|
# Raises IndexError if _column_ is out of bounds.
|
613
613
|
def getColumnX(column) ; end
|
614
|
-
|
614
|
+
|
615
615
|
# Get y-coordinate of row.
|
616
616
|
# Raises IndexError if _row_ is out of bounds.
|
617
617
|
def getRowY(row) ; end
|
618
|
-
|
618
|
+
|
619
619
|
# Return minimum row height for row _r_.
|
620
620
|
# Raises IndexError if _r_ is out of bounds.
|
621
621
|
def minRowHeight(r); end
|
622
|
-
|
622
|
+
|
623
623
|
# Return minimum column width for column _c_.
|
624
624
|
# Raises IndexError if _c_ is out of bounds.
|
625
625
|
def minColumnWidth(c); end
|
@@ -635,19 +635,19 @@ module Fox
|
|
635
635
|
# column index _col_.
|
636
636
|
#
|
637
637
|
def fitColumnsToContents(col, nc=1); end
|
638
|
-
|
638
|
+
|
639
639
|
# Set column header at _index_ to _text_.
|
640
640
|
# Raises IndexError if _index_ is out of bounds.
|
641
641
|
def setColumnText(index, text); end
|
642
|
-
|
642
|
+
|
643
643
|
# Return text of column header at _index_.
|
644
644
|
# Raises IndexError if _index_ is out of bounds.
|
645
645
|
def getColumnText(index); end
|
646
|
-
|
646
|
+
|
647
647
|
# Set row header at _index_ to _text_.
|
648
648
|
# Raises IndexError if _index_ is out of bounds.
|
649
649
|
def setRowText(index, text); end
|
650
|
-
|
650
|
+
|
651
651
|
# Return text of row header at _index_.
|
652
652
|
# Raises IndexError if _index_ is out of bounds.
|
653
653
|
def getRowText(index); end
|
@@ -663,7 +663,7 @@ module Fox
|
|
663
663
|
# Change row header icon.
|
664
664
|
# Raises IndexError if _index_ is out of bounds.
|
665
665
|
def setRowIcon(index, icon); end
|
666
|
-
|
666
|
+
|
667
667
|
# Return icon of row header at _index_.
|
668
668
|
# Raises IndexError if _index_ is out of bounds.
|
669
669
|
def getRowIcon(index); end
|
@@ -683,7 +683,7 @@ module Fox
|
|
683
683
|
# Return icon position of row header at _index_.
|
684
684
|
# Raises IndexError if _index_ is out of bounds.
|
685
685
|
def getRowIconPosition(index); end
|
686
|
-
|
686
|
+
|
687
687
|
# Change column header justify, e.g. FXHeaderItem::RIGHT, etc.
|
688
688
|
# Raises IndexError if _index_ is out of bounds.
|
689
689
|
def setColumnJustify(index, justify); end
|
@@ -699,7 +699,7 @@ module Fox
|
|
699
699
|
# Return justify of row header at _index_.
|
700
700
|
# Raises IndexError if _index_ is out of bounds.
|
701
701
|
def getRowJustify(index); end
|
702
|
-
|
702
|
+
|
703
703
|
#
|
704
704
|
# Modify cell text for item at specified _row_ and _col_.
|
705
705
|
# If _notify_ is +true+, a +SEL_REPLACED+ message is sent to the table's
|
@@ -723,11 +723,11 @@ module Fox
|
|
723
723
|
# Return item icon.
|
724
724
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
725
725
|
def getItemIcon(row, column) ; end
|
726
|
-
|
726
|
+
|
727
727
|
# Modify cell user data.
|
728
728
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
729
729
|
def setItemData(row, column, data) ; end
|
730
|
-
|
730
|
+
|
731
731
|
# Return cell user data.
|
732
732
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
733
733
|
def getItemData(row, column) ; end
|
@@ -753,7 +753,7 @@ module Fox
|
|
753
753
|
# +rs+:: the string to insert at each row break [String]
|
754
754
|
#
|
755
755
|
def extractText(startrow, endrow, startcol, endcol, cs="\t", rs="\n"); end
|
756
|
-
|
756
|
+
|
757
757
|
#
|
758
758
|
# Overlay the text for the cells in the specified range with
|
759
759
|
# the fields specified in _text_.
|
@@ -776,7 +776,7 @@ module Fox
|
|
776
776
|
# +rs+:: the character to insert at each row break [String]
|
777
777
|
#
|
778
778
|
def overlayText(startrow, endrow, startcol, endcol, text, cs="\t", rs="\n", notify=false); end
|
779
|
-
|
779
|
+
|
780
780
|
#
|
781
781
|
# Determine the number of rows and columns in a block of text
|
782
782
|
# where columns are separated by characters from the set _cs_, and rows
|
@@ -789,26 +789,26 @@ module Fox
|
|
789
789
|
# Return +true+ if the cell at position (_r_, _c_) is a spanning cell.
|
790
790
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
791
791
|
def itemSpanning?(r, c); end
|
792
|
-
|
792
|
+
|
793
793
|
#
|
794
794
|
# Repaint cells between grid lines (_startRow_, _endRow_) and grid lines
|
795
795
|
# (_startCol_, _endCol_).
|
796
796
|
# Raises IndexError if any of the starting or ending grid lines is out of bounds.
|
797
797
|
#
|
798
798
|
def updateRange(startRow, endRow, startCol, endCol) ; end
|
799
|
-
|
799
|
+
|
800
800
|
# Repaint cell.
|
801
801
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
802
802
|
def updateItem(row, column) ; end
|
803
|
-
|
803
|
+
|
804
804
|
# Enable cell.
|
805
805
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
806
806
|
def enableItem(row, column) ; end
|
807
|
-
|
807
|
+
|
808
808
|
# Disable cell.
|
809
809
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
810
810
|
def disableItem(row, column) ; end
|
811
|
-
|
811
|
+
|
812
812
|
# Returns +true+ if the cell at position (_row_, _column_) is enabled.
|
813
813
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
814
814
|
def itemEnabled?(row, column) ; end
|
@@ -824,11 +824,11 @@ module Fox
|
|
824
824
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
825
825
|
#
|
826
826
|
def setItemJustify(r, c, justify); end
|
827
|
-
|
827
|
+
|
828
828
|
# Return item justification for the cell at (_r_, _c_).
|
829
829
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
830
830
|
def getItemJustify(r, c); end
|
831
|
-
|
831
|
+
|
832
832
|
#
|
833
833
|
# Change relative position of icon and text of item at (_r_, _c_).
|
834
834
|
# Passing FXTableItem::BEFORE or FXTableItem::AFTER places the icon
|
@@ -839,11 +839,11 @@ module Fox
|
|
839
839
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
840
840
|
#
|
841
841
|
def setItemIconPosition(r, c, mode); end
|
842
|
-
|
842
|
+
|
843
843
|
# Return the relative position of the icon and text for the cell at (_r_, _c_).
|
844
844
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
845
845
|
def getItemIconPosition(r, c); end
|
846
|
-
|
846
|
+
|
847
847
|
#
|
848
848
|
# Change item borders style for the item at (_r_, _c_).
|
849
849
|
# Borders on each side of the item can be turned
|
@@ -853,7 +853,7 @@ module Fox
|
|
853
853
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
854
854
|
#
|
855
855
|
def setItemBorders(r, c, borders); end
|
856
|
-
|
856
|
+
|
857
857
|
# Return the border style for the cell at (_r_, _c_).
|
858
858
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
859
859
|
def getItemBorders(r, c); end
|
@@ -861,11 +861,11 @@ module Fox
|
|
861
861
|
# Set the background stipple style for the cell at (_r_, _c_).
|
862
862
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
863
863
|
def setItemStipple(r, c, pat); end
|
864
|
-
|
864
|
+
|
865
865
|
# Return the background stipple style for the cell at (_r_, _c_).
|
866
866
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
867
867
|
def getItemStipple(r, c); end
|
868
|
-
|
868
|
+
|
869
869
|
# Change current cell.
|
870
870
|
# If _notify_ is +true+, a +SEL_CHANGED+ message is sent to the table's
|
871
871
|
# message target after the current item changes.
|
@@ -875,7 +875,7 @@ module Fox
|
|
875
875
|
# Returns +true+ if the cell at position (_row_, _column_) is the current cell.
|
876
876
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
877
877
|
def itemCurrent?(row, column) ; end
|
878
|
-
|
878
|
+
|
879
879
|
# Change anchored cell.
|
880
880
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
881
881
|
def setAnchorItem(row, column) ; end
|
@@ -883,18 +883,18 @@ module Fox
|
|
883
883
|
# Returns +true+ if the cell at position (_row_, _column_) is selected.
|
884
884
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
885
885
|
def itemSelected?(row, column) ; end
|
886
|
-
|
886
|
+
|
887
887
|
# Return +true+ if the specified row of cells is selected.
|
888
888
|
# Raises IndexError if _r_ is out of bounds.
|
889
889
|
def rowSelected?(r); end
|
890
|
-
|
890
|
+
|
891
891
|
# Return +true+ if the specified column of cells is selected.
|
892
892
|
# Raises IndexError if _c_ is out of bounds.
|
893
893
|
def columnSelected?(c); end
|
894
|
-
|
894
|
+
|
895
895
|
# Return +true+ if any cells are selected.
|
896
896
|
def anythingSelected?; end
|
897
|
-
|
897
|
+
|
898
898
|
# Select a row of cells.
|
899
899
|
# If _notify_ is +true+, a +SEL_DESELECTED+ message is sent to the table's message
|
900
900
|
# target for each previously selected cell that becomes deselected as a result of
|
@@ -902,7 +902,7 @@ module Fox
|
|
902
902
|
# message target for each newly-selected cell.
|
903
903
|
# Raises IndexError if _row_ is out of bounds.
|
904
904
|
def selectRow(row, notify=false); end
|
905
|
-
|
905
|
+
|
906
906
|
# Select a column of cells.
|
907
907
|
# If _notify_ is +true+, a +SEL_DESELECTED+ message is sent to the table's message
|
908
908
|
# target for each previously selected cell that becomes deselected as a result of
|
@@ -910,7 +910,7 @@ module Fox
|
|
910
910
|
# message target for each newly-selected cell.
|
911
911
|
# Raises IndexError if _col_ is out of bounds.
|
912
912
|
def selectColumn(col, notify=false); end
|
913
|
-
|
913
|
+
|
914
914
|
# Select range.
|
915
915
|
# If _notify_ is +true+, a +SEL_DESELECTED+ message is sent to the table's message
|
916
916
|
# target for each previously selected cell that becomes deselected as a result of
|
@@ -918,13 +918,13 @@ module Fox
|
|
918
918
|
# message target for each newly-selected cell.
|
919
919
|
# Raises IndexError if _startRow_, _endRow_, _startColumn_ or _endColumn_ is out of bounds.
|
920
920
|
def selectRange(startRow, endRow, startColumn, endColumn, notify=false) ; end
|
921
|
-
|
921
|
+
|
922
922
|
# Extend selection.
|
923
923
|
# If _notify_ is +true+, a series of +SEL_SELECTED+ and +SEL_DESELECTED+ messages are sent to the table's message target
|
924
924
|
# after each affected item is selected or deselected.
|
925
925
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
926
926
|
def extendSelection(row, column, notify=false) ; end
|
927
|
-
|
927
|
+
|
928
928
|
# Kill selection.
|
929
929
|
# If _notify_ is +true+, a +SEL_DESELECTED+ message is sent to the table's
|
930
930
|
# message target for each cell that was previously selected.
|
@@ -939,7 +939,7 @@ module Fox
|
|
939
939
|
# See also #getCellColor.
|
940
940
|
#
|
941
941
|
def setCellColor(row, column, color) ; end
|
942
|
-
|
942
|
+
|
943
943
|
#
|
944
944
|
# Obtain cell background color.
|
945
945
|
# The values for _row_ and _column_ are either zero or one.
|
@@ -949,25 +949,25 @@ module Fox
|
|
949
949
|
# See also #setCellColor.
|
950
950
|
#
|
951
951
|
def getCellColor(row, column) ; end
|
952
|
-
|
952
|
+
|
953
953
|
# Create a new table item
|
954
954
|
def createItem(text, icon, data) ; end
|
955
|
-
|
955
|
+
|
956
956
|
# Draw a table cell
|
957
957
|
def drawCell(dc, xlo, xhi, ylo, yhi, xoff, yoff, startRow, endRow, startCol, endCol) ; end
|
958
|
-
|
958
|
+
|
959
959
|
# Draw a range of cells
|
960
960
|
def drawRange(dc, xlo, xhi, ylo, yhi, xoff, yoff, rlo, rhi, clo, chi) ; end
|
961
|
-
|
961
|
+
|
962
962
|
# Set column renumbering to +true+ or +false+.
|
963
963
|
def columnRenumbering=(renumber); end
|
964
|
-
|
964
|
+
|
965
965
|
# Get column renumbering
|
966
966
|
def columnRenumbering? ; end
|
967
|
-
|
967
|
+
|
968
968
|
# Set row renumbering to +true+ or +false+.
|
969
969
|
def rowRenumbering=(renumber); end
|
970
|
-
|
970
|
+
|
971
971
|
# Get row renumbering
|
972
972
|
def rowRenumbering? ; end
|
973
973
|
end
|