fxruby 1.6.22.pre2 → 1.6.22.pre3
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/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/FXLabel.rb
CHANGED
@@ -40,32 +40,32 @@ module Fox
|
|
40
40
|
|
41
41
|
# The text for this label [String]
|
42
42
|
attr_accessor :text
|
43
|
-
|
43
|
+
|
44
44
|
# The icon for this label [FXIcon]
|
45
45
|
attr_accessor :icon
|
46
|
-
|
46
|
+
|
47
47
|
# The text font [FXFont]
|
48
48
|
attr_accessor :font
|
49
|
-
|
49
|
+
|
50
50
|
# The text color [FXColor]
|
51
51
|
attr_accessor :textColor
|
52
|
-
|
52
|
+
|
53
53
|
# Text justification mode [Integer]
|
54
54
|
attr_accessor :justify
|
55
|
-
|
55
|
+
|
56
56
|
# Icon position [Integer]
|
57
57
|
attr_accessor :iconPosition
|
58
|
-
|
58
|
+
|
59
59
|
# Status line help text [String]
|
60
60
|
attr_accessor :helpText
|
61
|
-
|
61
|
+
|
62
62
|
# Tool tip message [String]
|
63
63
|
attr_accessor :tipText
|
64
64
|
|
65
65
|
# Construct label with given text and icon
|
66
66
|
def initialize(parent, text, icon=nil, opts=LABEL_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theLabel
|
67
67
|
end
|
68
|
-
|
68
|
+
|
69
69
|
# Return the label's text
|
70
70
|
def to_s; text; end
|
71
71
|
end
|
data/rdoc-sources/FXList.rb
CHANGED
@@ -6,60 +6,60 @@ module Fox
|
|
6
6
|
|
7
7
|
# Text for this item [String]
|
8
8
|
attr_accessor :text
|
9
|
-
|
9
|
+
|
10
10
|
# Icon for this item [FXIcon]
|
11
11
|
attr_accessor :icon
|
12
|
-
|
12
|
+
|
13
13
|
# User data for this item [Object]
|
14
14
|
attr_accessor :data
|
15
|
-
|
15
|
+
|
16
16
|
# Indicates whether this item has the focus [Boolean]
|
17
17
|
attr_writer :focus
|
18
|
-
|
18
|
+
|
19
19
|
# Indicates whether this item is selected [Boolean]
|
20
20
|
attr_writer :selected
|
21
|
-
|
21
|
+
|
22
22
|
# Indicates whether this item is enabled [Boolean]
|
23
23
|
attr_writer :enabled
|
24
24
|
|
25
25
|
# Indicates whether this item is draggable [Boolean]
|
26
26
|
attr_writer :draggable
|
27
|
-
|
27
|
+
|
28
28
|
# Initialize
|
29
29
|
def initialize(text, icon=nil, data=nil) # :yields: theListItem
|
30
30
|
end
|
31
|
-
|
31
|
+
|
32
32
|
# Return the list item's text
|
33
33
|
def to_s; text; end
|
34
|
-
|
34
|
+
|
35
35
|
# Returns +true+ if this item has the focus
|
36
36
|
def hasFocus?() ; end
|
37
|
-
|
37
|
+
|
38
38
|
# Return +true+ if this item is selected
|
39
39
|
def selected?() ; end
|
40
|
-
|
40
|
+
|
41
41
|
# Return +true+ if this item is enabled
|
42
42
|
def enabled?() ; end
|
43
|
-
|
43
|
+
|
44
44
|
# Return +true+ if this item is draggable
|
45
45
|
def draggable?() ; end
|
46
|
-
|
46
|
+
|
47
47
|
# Return the width of this item for a specified list
|
48
48
|
def getWidth(list) ; end
|
49
|
-
|
49
|
+
|
50
50
|
# Return the height of this item for a specified list
|
51
51
|
def getHeight(list) ; end
|
52
|
-
|
52
|
+
|
53
53
|
# Create the item
|
54
54
|
def create() ; end
|
55
|
-
|
55
|
+
|
56
56
|
# Detach the item
|
57
57
|
def detach() ; end
|
58
|
-
|
58
|
+
|
59
59
|
# Destroy the item
|
60
60
|
def destroy( ); end
|
61
61
|
end
|
62
|
-
|
62
|
+
|
63
63
|
#
|
64
64
|
# A List Widget displays a list of items, each with a text and
|
65
65
|
# optional icon. When an item's selected state changes, the list sends
|
@@ -112,34 +112,34 @@ module Fox
|
|
112
112
|
|
113
113
|
# Number of items in the list [Integer]
|
114
114
|
attr_reader :numItems
|
115
|
-
|
115
|
+
|
116
116
|
# Number of visible items [Integer]
|
117
117
|
attr_accessor :numVisible
|
118
|
-
|
118
|
+
|
119
119
|
# Index of current item, or -1 if no current item [Integer]
|
120
120
|
attr_accessor :currentItem
|
121
|
-
|
121
|
+
|
122
122
|
# Index of anchor item, or -1 if no anchor item [Integer]
|
123
123
|
attr_reader :anchorItem
|
124
|
-
|
124
|
+
|
125
125
|
# Index of item under the cursor, or -1 if none [Integer]
|
126
126
|
attr_reader :cursorItem
|
127
|
-
|
127
|
+
|
128
128
|
# Text font [FXFont]
|
129
129
|
attr_accessor :font
|
130
|
-
|
130
|
+
|
131
131
|
# Normal text color [FXColor]
|
132
132
|
attr_accessor :textColor
|
133
|
-
|
133
|
+
|
134
134
|
# Selected text background color [FXColor]
|
135
135
|
attr_accessor :selBackColor
|
136
|
-
|
136
|
+
|
137
137
|
# Selected text color [FXColor]
|
138
138
|
attr_accessor :selTextColor
|
139
|
-
|
139
|
+
|
140
140
|
# List style [Integer]
|
141
141
|
attr_accessor :listStyle
|
142
|
-
|
142
|
+
|
143
143
|
# Status line help text [String]
|
144
144
|
attr_accessor :helpText
|
145
145
|
|
@@ -246,7 +246,7 @@ module Fox
|
|
246
246
|
# Raises IndexError if either _oldIndex_ or _newIndex_ is out of bounds.
|
247
247
|
#
|
248
248
|
def moveItem(newIndex, oldIndex, notify=false); end
|
249
|
-
|
249
|
+
|
250
250
|
#
|
251
251
|
# Extract item from list and return a reference to the item.
|
252
252
|
# If _notify_ is +true+, a +SEL_DELETED+ message is sent to the list's
|
data/rdoc-sources/FXListBox.rb
CHANGED
@@ -36,25 +36,25 @@ module Fox
|
|
36
36
|
|
37
37
|
# Current item's index, or -1 if no current item [Integer]
|
38
38
|
attr_accessor :currentItem
|
39
|
-
|
39
|
+
|
40
40
|
# Text font [FXFont]
|
41
41
|
attr_accessor :font
|
42
|
-
|
42
|
+
|
43
43
|
# Background color [FXColor]
|
44
44
|
attr_reader :backColor
|
45
|
-
|
45
|
+
|
46
46
|
# Text color [FXColor]
|
47
47
|
attr_accessor :textColor
|
48
|
-
|
48
|
+
|
49
49
|
# Background color for selected items [FXColor]
|
50
50
|
attr_accessor :selBackColor
|
51
|
-
|
51
|
+
|
52
52
|
# Text color for selected items [FXColor]
|
53
53
|
attr_accessor :selTextColor
|
54
|
-
|
54
|
+
|
55
55
|
# Status line help text [String]
|
56
56
|
attr_accessor :helpText
|
57
|
-
|
57
|
+
|
58
58
|
# Tool tip message [String]
|
59
59
|
attr_accessor :tipText
|
60
60
|
|
@@ -82,7 +82,7 @@ module Fox
|
|
82
82
|
# Raises IndexError if _index_ is out of bounds.
|
83
83
|
#
|
84
84
|
def setItem(index, text, icon=nil, ptr=nil); end
|
85
|
-
|
85
|
+
|
86
86
|
#
|
87
87
|
# Fill list by appending items from array of strings, and return the number
|
88
88
|
# items added.
|
@@ -94,13 +94,13 @@ module Fox
|
|
94
94
|
# Raises IndexError if _index_ is out of bounds.
|
95
95
|
#
|
96
96
|
def insertItem(index, text, icon=nil, ptr=nil); end
|
97
|
-
|
97
|
+
|
98
98
|
# Add an item to the end of the list.
|
99
99
|
def appendItem(text, icon=nil, ptr=nil);
|
100
|
-
|
100
|
+
|
101
101
|
# Prepend an item to the list
|
102
102
|
def prependItem(text, icon=nil, ptr=nil); end
|
103
|
-
|
103
|
+
|
104
104
|
#
|
105
105
|
# Move item from _oldIndex_ to _newIndex_ and return the new
|
106
106
|
# index of the item.
|
@@ -119,10 +119,10 @@ module Fox
|
|
119
119
|
# Raises IndexError if _index_ is out of bounds.
|
120
120
|
#
|
121
121
|
def removeItem(index); end
|
122
|
-
|
122
|
+
|
123
123
|
# Remove all items from the list
|
124
124
|
def clearItems(); end
|
125
|
-
|
125
|
+
|
126
126
|
#
|
127
127
|
# Search items by _text_, beginning from item _start_. If the start
|
128
128
|
# item is -1 the search will start at the first item in the list.
|
@@ -134,7 +134,7 @@ module Fox
|
|
134
134
|
# Return -1 if no matching item is found.
|
135
135
|
#
|
136
136
|
def findItem(text, start=-1, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
137
|
-
|
137
|
+
|
138
138
|
#
|
139
139
|
# Search items by associated user _data_, beginning from item _start_. If the
|
140
140
|
# start item is -1 the search will start at the first item in the list.
|
@@ -149,25 +149,25 @@ module Fox
|
|
149
149
|
# Raises IndexError if _index_ is out of bounds.
|
150
150
|
#
|
151
151
|
def setItemText(index, text); end
|
152
|
-
|
152
|
+
|
153
153
|
#
|
154
154
|
# Return text for specified item.
|
155
155
|
# Raises IndexError if _index_ is out of bounds.
|
156
156
|
#
|
157
157
|
def getItemText(index); end
|
158
|
-
|
158
|
+
|
159
159
|
#
|
160
160
|
# Set icon for specified item to _icon_.
|
161
161
|
# Raises IndexError if _index_ is out of bounds.
|
162
162
|
#
|
163
163
|
def setItemIcon(index, icon, owned=false); end
|
164
|
-
|
164
|
+
|
165
165
|
#
|
166
166
|
# Return icon for specified item.
|
167
167
|
# Raises IndexError if _index_ is out of bounds.
|
168
168
|
#
|
169
169
|
def getItemIcon(index); end
|
170
|
-
|
170
|
+
|
171
171
|
#
|
172
172
|
# Set user data object for specified item to _ptr_.
|
173
173
|
# Raises IndexError if _index_ is out of bounds.
|
@@ -179,13 +179,13 @@ module Fox
|
|
179
179
|
# Raises IndexError if _index_ is out of bounds.
|
180
180
|
#
|
181
181
|
def getItemData(index); end
|
182
|
-
|
182
|
+
|
183
183
|
# Return +true+ if the pane is shown.
|
184
184
|
def paneShown?; end
|
185
|
-
|
185
|
+
|
186
186
|
# Sort items using current sort function
|
187
187
|
def sortItems; end
|
188
|
-
|
188
|
+
|
189
189
|
alias appendItem <<
|
190
190
|
end
|
191
191
|
end
|
data/rdoc-sources/FXMDIChild.rb
CHANGED
@@ -78,10 +78,10 @@ module Fox
|
|
78
78
|
|
79
79
|
# Iconified height [Integer]
|
80
80
|
attr_accessor :iconHeight
|
81
|
-
|
81
|
+
|
82
82
|
# Content window [FXWindow]
|
83
83
|
attr_reader :contentWindow
|
84
|
-
|
84
|
+
|
85
85
|
# Window title [String]
|
86
86
|
attr_accessor :title
|
87
87
|
|
@@ -102,20 +102,20 @@ module Fox
|
|
102
102
|
|
103
103
|
# Title background color [FXColor]
|
104
104
|
attr_accessor :titleBackColor
|
105
|
-
|
105
|
+
|
106
106
|
# Window icon [FXIcon]
|
107
107
|
attr_accessor :icon
|
108
|
-
|
108
|
+
|
109
109
|
# Window menu [FXPopup]
|
110
110
|
attr_accessor :menu
|
111
|
-
|
111
|
+
|
112
112
|
# Title font [FXFont]
|
113
113
|
attr_accessor :font
|
114
114
|
|
115
115
|
# Construct MDI Child window with given name and icon
|
116
116
|
def initialize(p, name, ic=nil, pup=nil, opts=0, x=0, y=0, width=0, height=0) # :yields: theMDIChild
|
117
117
|
end
|
118
|
-
|
118
|
+
|
119
119
|
#
|
120
120
|
# Minimize this window.
|
121
121
|
# If _notify_ is +true+, ...
|
@@ -136,18 +136,18 @@ module Fox
|
|
136
136
|
|
137
137
|
# Return +true+ if maximized
|
138
138
|
def maximized? ; end
|
139
|
-
|
139
|
+
|
140
140
|
# Return +true+ if minimized
|
141
141
|
def minimized? ; end
|
142
|
-
|
142
|
+
|
143
143
|
# Set tracking instead of just outline
|
144
144
|
def setTracking(tracking); end
|
145
|
-
|
145
|
+
|
146
146
|
alias tracking= setTracking
|
147
|
-
|
147
|
+
|
148
148
|
# Return +true+ if tracking, +false+ otherwise.
|
149
149
|
def getTracking(); end
|
150
|
-
|
150
|
+
|
151
151
|
alias isTracking? getTracking
|
152
152
|
alias tracking getTracking
|
153
153
|
|
data/rdoc-sources/FXMDIClient.rb
CHANGED
@@ -24,13 +24,13 @@ module Fox
|
|
24
24
|
# sent when the active child changes; the message data is a reference to the new active child window (or +nil+ if there is none)
|
25
25
|
#
|
26
26
|
class FXMDIClient < FXComposite
|
27
|
-
|
27
|
+
|
28
28
|
# Active MDI child window, or +nil+ if none [FXMDIChild].
|
29
29
|
attr_accessor :activeChild
|
30
|
-
|
30
|
+
|
31
31
|
# Cascade offset X [Integer]
|
32
32
|
attr_accessor :cascadeX
|
33
|
-
|
33
|
+
|
34
34
|
# Cascade offset Y [Integer]
|
35
35
|
attr_accessor :cascadeY
|
36
36
|
|
@@ -43,7 +43,7 @@ module Fox
|
|
43
43
|
# the MDI windows fails to handle the message.
|
44
44
|
#
|
45
45
|
def forallWindows(sender, sel, ptr); end
|
46
|
-
|
46
|
+
|
47
47
|
#
|
48
48
|
# Pass message once to all MDI windows with the same document,
|
49
49
|
# stopping when one of the MDI windows fails to handle the message.
|
@@ -55,7 +55,7 @@ module Fox
|
|
55
55
|
# stopping when one of the MDI windows fails to handle the message.
|
56
56
|
#
|
57
57
|
def forallDocWindows(document, sender, sel, ptr); end
|
58
|
-
|
58
|
+
|
59
59
|
#
|
60
60
|
# Set active MDI child window for this MDI client to _child_.
|
61
61
|
#
|
data/rdoc-sources/FXMatrix.rb
CHANGED
@@ -5,12 +5,12 @@ module Fox
|
|
5
5
|
# the matrix will have the given number of rows and the number of columns
|
6
6
|
# grows as more child windows are added; if the matrix style is +MATRIX_BY_COLUMNS+,
|
7
7
|
# then the number of columns is fixed and the number of rows grows as more children
|
8
|
-
# are added.
|
8
|
+
# are added.
|
9
9
|
# If all children in a row (column) have the +LAYOUT_FILL_ROW+ (+LAYOUT_FILL_COLUMN+)
|
10
10
|
# hint set, then the row (column) will be stretchable as the matrix layout manager
|
11
11
|
# itself is resized. If more than one row (column) is stretchable, the space is
|
12
12
|
# apportioned to each stretchable row (column) proportionally.
|
13
|
-
# Within each cell of the matrix, all other layout hints are observed.
|
13
|
+
# Within each cell of the matrix, all other layout hints are observed.
|
14
14
|
# For example, a child having +LAYOUT_CENTER_Y+ and +LAYOUT_FILL_X+ hints will
|
15
15
|
# be centered in the Y-direction, while being stretched in the X-direction.
|
16
16
|
# Empty cells can be obtained by simply placing a borderless FXFrame widget
|
@@ -25,10 +25,10 @@ module Fox
|
|
25
25
|
|
26
26
|
# Matrix style [Integer]
|
27
27
|
attr_accessor :matrixStyle
|
28
|
-
|
28
|
+
|
29
29
|
# Number of rows [Integer]
|
30
30
|
attr_accessor :numRows
|
31
|
-
|
31
|
+
|
32
32
|
# Number of columns [Integer]
|
33
33
|
attr_accessor :numColumns
|
34
34
|
|
@@ -42,12 +42,12 @@ module Fox
|
|
42
42
|
# Obtain the child placed at a certain _row_ and _column_.
|
43
43
|
#
|
44
44
|
def childAtRowCol(row, column); end
|
45
|
-
|
45
|
+
|
46
46
|
#
|
47
47
|
# Return the row in which the given _child_ is placed.
|
48
48
|
#
|
49
49
|
def rowOfChild(child); end
|
50
|
-
|
50
|
+
|
51
51
|
#
|
52
52
|
# Return the column in which the given _child_ is placed.
|
53
53
|
#
|
@@ -21,7 +21,7 @@ module Fox
|
|
21
21
|
#
|
22
22
|
def initialize(cont=nil) # :yields: theMemoryStream
|
23
23
|
end
|
24
|
-
|
24
|
+
|
25
25
|
#
|
26
26
|
# Open memory stream for reading or writing.
|
27
27
|
# Returns +true+ if successful, +false+ otherwise.
|
@@ -32,14 +32,14 @@ module Fox
|
|
32
32
|
# +data+:: memory buffer to be used for the stream, or +nil+ if the stream object should allocate its own buffer [String]
|
33
33
|
#
|
34
34
|
def open(save_or_load, data); end
|
35
|
-
|
35
|
+
|
36
36
|
#
|
37
37
|
# Take buffer away from stream, thus transferring ownership of the buffer
|
38
38
|
# from the stream object to the caller.
|
39
39
|
# Returns a string containing the buffer contents.
|
40
40
|
#
|
41
41
|
def takeBuffer; end
|
42
|
-
|
42
|
+
|
43
43
|
#
|
44
44
|
# Give buffer (a string) to this stream, thus transferring ownership of
|
45
45
|
# the buffer from the caller to the stream object.
|
data/rdoc-sources/FXMenuBar.rb
CHANGED
@@ -11,7 +11,7 @@ module Fox
|
|
11
11
|
#
|
12
12
|
def initialize(p, q, opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, x=0, y=0, width=0, height=0, padLeft=3, padRight=3, padTop=2, padBottom=2, hSpacing=DEFAULT_SPACING, vSpacing=DEFAULT_SPACING) # :yields: theMenuBar
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
#
|
16
16
|
# Construct a non-floatable menubar.
|
17
17
|
# The menubar can not be undocked.
|
@@ -6,10 +6,10 @@ module Fox
|
|
6
6
|
# menu button; this is controlled by the flags +MENUBUTTON_DOWN+, etc.
|
7
7
|
# Next, there are several attachment modes; the popup's left/bottom edge may
|
8
8
|
# attach to the menu button's left/top edge, or the popup's right/top edge may
|
9
|
-
# attach to the menu button's right/bottom edge, or both.
|
9
|
+
# attach to the menu button's right/bottom edge, or both.
|
10
10
|
# Also, the popup may appear centered relative to the menu button.
|
11
11
|
# Finally, a small offset may be specified to displace the location of the
|
12
|
-
# popup by a few pixels so as to account for borders and so on.
|
12
|
+
# popup by a few pixels so as to account for borders and so on.
|
13
13
|
# Normally, the menu button shows an arrow pointing to the direction where
|
14
14
|
# the popup is set to appear; this can be turned off by passing the option
|
15
15
|
# +MENUBUTTON_NOARROWS+.
|
@@ -59,19 +59,19 @@ module Fox
|
|
59
59
|
|
60
60
|
# The popup menu [FXPopup]
|
61
61
|
attr_accessor :menu
|
62
|
-
|
62
|
+
|
63
63
|
# X-offset where menu pops up relative to button [Integer]
|
64
64
|
attr_accessor :xOffset
|
65
|
-
|
65
|
+
|
66
66
|
# Y-offset where menu pops up relative to button [Integer]
|
67
67
|
attr_accessor :yOffset
|
68
|
-
|
68
|
+
|
69
69
|
# Menu button style [Integer]
|
70
70
|
attr_accessor :buttonStyle
|
71
|
-
|
71
|
+
|
72
72
|
# Popup style [Integer]
|
73
73
|
attr_accessor :popupStyle
|
74
|
-
|
74
|
+
|
75
75
|
# Attachment [Integer]
|
76
76
|
attr_accessor :attachment
|
77
77
|
|
@@ -12,31 +12,31 @@ module Fox
|
|
12
12
|
|
13
13
|
# The text for this menu [String]
|
14
14
|
attr_accessor :text
|
15
|
-
|
15
|
+
|
16
16
|
# The icon for this menu [FXIcon]
|
17
17
|
attr_accessor :icon
|
18
|
-
|
18
|
+
|
19
19
|
# The text font [FXFont]
|
20
20
|
attr_accessor :font
|
21
|
-
|
21
|
+
|
22
22
|
# Text color [FXColor]
|
23
23
|
attr_accessor :textColor
|
24
|
-
|
24
|
+
|
25
25
|
# Selection background color [FXColor]
|
26
26
|
attr_accessor :selBackColor
|
27
|
-
|
27
|
+
|
28
28
|
# Selection text color [FXColor]
|
29
29
|
attr_accessor :selTextColor
|
30
|
-
|
30
|
+
|
31
31
|
# Highlight color [FXColor]
|
32
32
|
attr_accessor :hiliteColor
|
33
|
-
|
33
|
+
|
34
34
|
# Shadow color [FXColor]
|
35
35
|
attr_accessor :shadowColor
|
36
|
-
|
36
|
+
|
37
37
|
# Status line help text for this menu [String]
|
38
38
|
attr_accessor :helpText
|
39
|
-
|
39
|
+
|
40
40
|
# Tool tip message for this menu [String]
|
41
41
|
attr_accessor :tipText
|
42
42
|
|
@@ -45,7 +45,7 @@ module Fox
|
|
45
45
|
#
|
46
46
|
def initialize(parent, text, icon=nil, opts=0) # :yields: theMenuCaption
|
47
47
|
end
|
48
|
-
|
48
|
+
|
49
49
|
# Return the menu caption's text
|
50
50
|
def to_s; text; end
|
51
51
|
end
|
data/rdoc-sources/FXMenuCheck.rb
CHANGED
data/rdoc-sources/FXMenuRadio.rb
CHANGED
@@ -46,21 +46,21 @@ module Fox
|
|
46
46
|
# If _owner_ is the application, the message box will be free-floating.
|
47
47
|
#
|
48
48
|
def FXMessageBox.error(owner, opts, caption, message); end
|
49
|
-
|
49
|
+
|
50
50
|
#
|
51
51
|
# Show a modal warning message; returns one of the return values listed above.
|
52
52
|
# If _owner_ is a window, the message box will float over that window.
|
53
53
|
# If _owner_ is the application, the message box will be free-floating.
|
54
54
|
#
|
55
55
|
def FXMessageBox.warning(owner, opts, caption, message); end
|
56
|
-
|
56
|
+
|
57
57
|
#
|
58
58
|
# Show a modal question dialog; returns one of the return values listed above.
|
59
59
|
# If _owner_ is a window, the message box will float over that window.
|
60
60
|
# If _owner_ is the application, the message box will be free-floating.
|
61
61
|
#
|
62
62
|
def FXMessageBox.question(owner, opts, caption, message); end
|
63
|
-
|
63
|
+
|
64
64
|
#
|
65
65
|
# Show a modal information dialog; returns one of the return values listed above.
|
66
66
|
# If _owner_ is a window, the message box will float over that window.
|
@@ -15,7 +15,7 @@ module Fox
|
|
15
15
|
class FXOption < FXLabel
|
16
16
|
# Selection background color [FXColor]
|
17
17
|
attr_accessor :selBackColor
|
18
|
-
|
18
|
+
|
19
19
|
# Selection text color [FXColor]
|
20
20
|
attr_accessor :selTextColor
|
21
21
|
|
@@ -40,37 +40,37 @@ module Fox
|
|
40
40
|
# +SEL_COMMAND+:: sent when this an option is selected; the message data is the option number.
|
41
41
|
#
|
42
42
|
class FXOptionMenu < FXLabel
|
43
|
-
|
43
|
+
|
44
44
|
# The current option, or +nil+ if none [FXOption]
|
45
45
|
attr_accessor :current
|
46
|
-
|
46
|
+
|
47
47
|
# The current option number, or -1 if none [Integer]
|
48
48
|
attr_accessor :currentNo
|
49
|
-
|
49
|
+
|
50
50
|
# The pane which will be popped up [FXPopup]
|
51
51
|
attr_accessor :menu
|
52
|
-
|
52
|
+
|
53
53
|
#
|
54
54
|
# Returns an initialized FXOptionMenu instance.
|
55
55
|
#
|
56
56
|
def initialize(p, pup=nil, opts=JUSTIFY_NORMAL|ICON_BEFORE_TEXT, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theOptionMenu
|
57
57
|
end
|
58
|
-
|
58
|
+
|
59
59
|
#
|
60
60
|
# Set the current option.
|
61
61
|
#
|
62
62
|
def setCurrent(win, notify=false); end
|
63
|
-
|
63
|
+
|
64
64
|
#
|
65
65
|
# Return a reference to the current option (an FXOption instance).
|
66
66
|
#
|
67
67
|
def getCurrent(); end
|
68
|
-
|
68
|
+
|
69
69
|
#
|
70
70
|
# Set the current option number.
|
71
71
|
#
|
72
72
|
def setCurrentNo(no, notify=false); end
|
73
|
-
|
73
|
+
|
74
74
|
#
|
75
75
|
# Get the current option number.
|
76
76
|
#
|