fxruby 1.2.6 → 1.4.0
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/ChangeLog +0 -90
- data/doc/apes02.html +2 -2
- data/doc/apes03.html +1 -1
- data/doc/book.html +1 -1
- data/doc/build.html +26 -26
- data/doc/ch03s02.html +1 -2
- data/doc/ch03s03.html +1 -2
- data/doc/ch03s04.html +1 -2
- data/doc/ch03s05.html +1 -2
- data/doc/changes.html +12 -7
- data/doc/cvs.html +2 -2
- data/doc/differences.html +3 -3
- data/doc/gems.html +44 -44
- data/doc/implementation.html +1 -1
- data/doc/library.html +5 -5
- data/doc/opengl.html +5 -5
- data/doc/pt02.html +1 -1
- data/doc/scintilla.html +6 -6
- data/doc/tutorial1.html +8 -15
- data/examples/babelfish.rb +6 -16
- data/examples/bounce.rb +1 -1
- data/examples/browser.rb +1 -1
- data/examples/button.rb +1 -1
- data/examples/datatarget.rb +2 -2
- data/examples/dctest.rb +1 -1
- data/examples/dialog.rb +1 -1
- data/examples/dilbert.rb +2 -2
- data/examples/dirlist.rb +1 -1
- data/examples/dragdrop.rb +1 -1
- data/examples/dragsource.rb +1 -1
- data/examples/dropsite.rb +1 -1
- data/examples/foursplit.rb +1 -1
- data/examples/gltest.rb +2 -2
- data/examples/glviewer.rb +4 -4
- data/examples/groupbox.rb +2 -2
- data/examples/header.rb +3 -3
- data/examples/hello.rb +1 -1
- data/examples/hello2.rb +1 -1
- data/examples/iconlist.rb +16 -1
- data/examples/image.rb +2 -2
- data/examples/imageviewer.rb +1 -1
- data/examples/inputs.rb +1 -1
- data/examples/mditest.rb +2 -2
- data/examples/pig.rb +1 -1
- data/examples/raabrowser.rb +2 -2
- data/examples/ratio.rb +2 -2
- data/examples/scintilla-test.rb +2 -2
- data/examples/scribble-orig.rb +3 -3
- data/examples/scribble.rb +1 -1
- data/examples/shutter.rb +1 -1
- data/examples/splitter.rb +1 -1
- data/examples/styledtext.rb +2 -2
- data/examples/tabbook.rb +1 -1
- data/examples/table.rb +1 -1
- data/ext/{fox12 → fox14}/FXRbApp.cpp +7 -13
- data/ext/{fox12 → fox14}/FXRbDataTarget.cpp +5 -1
- data/ext/{fox12 → fox14}/FXRbGLViewer.cpp +1 -1
- data/ext/{fox12 → fox14}/FXRuby.cpp +49 -14
- data/ext/{fox12 → fox14}/MANIFEST +0 -0
- data/ext/{fox12 → fox14}/core_wrap.cpp +1098 -390
- data/ext/{fox12 → fox14}/dc_wrap.cpp +61 -1
- data/ext/{fox12 → fox14}/dialogs_wrap.cpp +2293 -939
- data/ext/{fox12 → fox14}/extconf.rb +8 -8
- data/ext/{fox12 → fox14}/frames_wrap.cpp +1396 -395
- data/ext/{fox12 → fox14}/fx3d_wrap.cpp +884 -363
- data/ext/{fox12 → fox14}/iconlist_wrap.cpp +338 -117
- data/ext/{fox12 → fox14}/icons_wrap.cpp +668 -61
- data/ext/{fox12 → fox14}/image_wrap.cpp +245 -164
- data/ext/{fox12 → fox14}/impl.cpp +58 -2
- data/ext/{fox12 → fox14}/include/FXMemoryBuffer.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRb4Splitter.h +1 -1
- data/ext/fox14/include/FXRb7Segment.h +51 -0
- data/ext/{fox12 → fox14}/include/FXRbAccelTable.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbApp.h +1 -2
- data/ext/{fox12 → fox14}/include/FXRbAppVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbArrowButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBMPIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBMPImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmap.h +5 -5
- data/ext/{fox12 → fox14}/include/FXRbBitmapFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmapView.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbBitmapVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCURCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCanvas.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCheckButton.h +1 -1
- data/ext/fox14/include/FXRbChoiceBox.h +56 -0
- data/ext/{fox12 → fox14}/include/FXRbColorBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorWell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbColorWheel.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbComboBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCommon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbComposite.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbCursorVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDC.h +25 -1
- data/ext/{fox12 → fox14}/include/FXRbDCPrint.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDCVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbDCWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDataTarget.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDebugTarget.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDelegator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDial.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDialogBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDialogBoxVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDirBox.h +2 -1
- data/ext/{fox12 → fox14}/include/FXRbDirDialog.h +4 -1
- data/ext/{fox12 → fox14}/include/FXRbDirList.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDirSelector.h +1 -1
- data/ext/fox14/include/FXRbDockBar.h +86 -0
- data/ext/fox14/include/FXRbDockBarVirtuals.h +10 -0
- data/ext/fox14/include/FXRbDockHandler.h +51 -0
- data/ext/fox14/include/FXRbDockSite.h +85 -0
- data/ext/fox14/include/FXRbDockSiteVirtuals.h +13 -0
- data/ext/fox14/include/FXRbDockTitle.h +51 -0
- data/ext/{fox12 → fox14}/include/FXRbDocument.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDragCorner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDrawable.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbDrawableVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbDriveBox.h +2 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileDictVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbFileList.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFileSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFoldingItemVirtuals.h +2 -5
- data/ext/{fox12 → fox14}/include/FXRbFoldingList.h +98 -15
- data/ext/fox14/include/FXRbFoldingListVirtuals.h +43 -0
- data/ext/{fox12 → fox14}/include/FXRbFont.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFontDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFontSelector.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFCursor.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGIFImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLCanvas.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLCanvasVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLContext.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLObject.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLObjectVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLShape.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGLShapeVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbGLViewer.h +7 -1
- data/ext/{fox12 → fox14}/include/FXRbGLViewerVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbGLVisual.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGradientBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbGroupBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbHeader.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbHeaderItemVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbHorizontalFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbICOIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbICOImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIconItemVirtuals.h +2 -5
- data/ext/{fox12 → fox14}/include/FXRbIconList.h +33 -15
- data/ext/{fox12 → fox14}/include/FXRbIconListVirtuals.h +14 -0
- data/ext/fox14/include/FXRbIconSource.h +127 -0
- data/ext/fox14/include/FXRbIconSourceVirtuals.h +37 -0
- data/ext/{fox12 → fox14}/include/FXRbId.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbIdVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbImage.h +5 -5
- data/ext/{fox12 → fox14}/include/FXRbImageFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbImageView.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbImageVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbInputDialog.h +4 -1
- data/ext/{fox12 → fox14}/include/FXRbJPGIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbJPGImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbLabel.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbList.h +29 -11
- data/ext/{fox12 → fox14}/include/FXRbListBox.h +12 -1
- data/ext/fox14/include/FXRbListBoxVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbListItemVirtuals.h +1 -4
- data/ext/{fox12 → fox14}/include/FXRbListVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbMDIButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIChild.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIChildVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbMDIClient.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMDIClientVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbMainWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMatrix.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuBar.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbMenuButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCaption.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCascade.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCheck.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuCommand.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuPane.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuRadio.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuSeparator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMenuTitle.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbMessageBox.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbObject.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbObjectVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbOptionMenu.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPCXIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPCXImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPNGIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPNGImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPPMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPPMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPacker.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPicker.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPopup.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbPopupVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbPrintDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbProgressBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbProgressDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRGBIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRGBImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRadioButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSlider.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSpinner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRealSpinnerVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbRecentFiles.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRegistry.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbReplaceDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRootWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbRuler.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScintilla.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollArea.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollAreaVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbScrollBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollPane.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbScrollWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSearchDialog.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSeparator.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSettings.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShutter.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbShutterVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbSlider.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpinner.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpinnerVirtuals.h +0 -0
- data/ext/fox14/include/FXRbSplashWindow.h +57 -0
- data/ext/{fox12 → fox14}/include/FXRbSplitter.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSpring.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStatusBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStatusLine.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStream.h +3 -3
- data/ext/{fox12 → fox14}/include/FXRbStreamVirtuals.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbStringDict.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbSwitcher.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTGAIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTGAImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTIFIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTIFImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabBar.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabBarVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbTabBook.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTabItem.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTable.h +96 -36
- data/ext/{fox12 → fox14}/include/FXRbTableItemVirtuals.h +24 -3
- data/ext/{fox12 → fox14}/include/FXRbTableVirtuals.h +19 -6
- data/ext/{fox12 → fox14}/include/FXRbText.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbTextField.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTextVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbToggleButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBar.h +2 -19
- data/ext/{fox12 → fox14}/include/FXRbToolBarGrip.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBarShell.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolBarTab.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbToolTip.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTopWindow.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbTopWindowVirtuals.h +0 -0
- data/ext/{fox12 → fox14}/include/FXRbTreeItemVirtuals.h +2 -2
- data/ext/{fox12 → fox14}/include/FXRbTreeList.h +33 -9
- data/ext/{fox12 → fox14}/include/FXRbTreeListBox.h +12 -1
- data/ext/fox14/include/FXRbTreeListBoxVirtuals.h +4 -0
- data/ext/{fox12 → fox14}/include/FXRbTreeListVirtuals.h +12 -0
- data/ext/{fox12 → fox14}/include/FXRbTriStateButton.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbVerticalFrame.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbVisual.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbWindow.h +35 -5
- data/ext/{fox12 → fox14}/include/FXRbWindowVirtuals.h +17 -1
- data/ext/{fox12 → fox14}/include/FXRbWizard.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXBMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXBMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXPMIcon.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRbXPMImage.h +1 -1
- data/ext/{fox12 → fox14}/include/FXRuby.h +78 -7
- data/ext/{fox12 → fox14}/include/impl.h +7 -0
- data/ext/{fox12 → fox14}/include/inlinestubs.h +58 -2
- data/ext/{fox12 → fox14}/label_wrap.cpp +524 -68
- data/ext/{fox12 → fox14}/layout_wrap.cpp +1025 -90
- data/ext/{fox12 → fox14}/librb.c +0 -0
- data/ext/{fox12 → fox14}/list_wrap.cpp +328 -234
- data/ext/{fox12 → fox14}/markfuncs.cpp +29 -4
- data/ext/{fox12 → fox14}/mdi_wrap.cpp +553 -99
- data/ext/{fox12 → fox14}/menu_wrap.cpp +967 -404
- data/ext/{fox12 → fox14}/scintilla_wrap.cpp +754 -635
- data/ext/{fox12 → fox14}/table_wrap.cpp +501 -284
- data/ext/{fox12 → fox14}/text_wrap.cpp +765 -629
- data/ext/{fox12 → fox14}/treelist_wrap.cpp +859 -661
- data/ext/{fox12 → fox14}/ui_wrap.cpp +3025 -627
- data/ext/{fox12 → fox14}/unregisterOwnedObjects.cpp +1 -1
- data/lib/{fox12 → fox14}/aliases.rb +252 -45
- data/lib/{fox12 → fox14}/calendar.rb +2 -2
- data/lib/{fox12 → fox14}/chore.rb +1 -1
- data/lib/{fox12 → fox14}/colors.rb +1 -1
- data/lib/{fox12 → fox14}/core.rb +126 -52
- data/lib/{fox12 → fox14}/dict.rb +0 -0
- data/lib/{fox12 → fox14}/execute_nonmodal.rb +0 -0
- data/lib/{fox12 → fox14}/glgroup.rb +1 -1
- data/lib/{fox12 → fox14}/glshapes.rb +1 -1
- data/lib/{fox12 → fox14}/input.rb +1 -1
- data/lib/{fox12 → fox14}/irb.rb +1 -1
- data/lib/{fox12 → fox14}/iterators.rb +1 -1
- data/lib/{fox12 → fox14}/keys.rb +1 -1
- data/lib/{fox12 → fox14}/missingdep.rb +1 -1
- data/lib/{fox12 → fox14}/pseudokeyboard.rb +1 -1
- data/lib/{fox12 → fox14}/pseudomouse.rb +1 -1
- data/lib/{fox12 → fox14}/responder.rb +1 -1
- data/lib/{fox12 → fox14}/responder2.rb +5 -5
- data/lib/{fox12 → fox14}/scintilla.rb +0 -0
- data/lib/{fox12 → fox14}/settings.rb +0 -0
- data/lib/{fox12 → fox14}/signal.rb +1 -1
- data/lib/{fox12 → fox14}/splashscreen.rb +2 -2
- data/lib/{fox12 → fox14}/timeout.rb +1 -1
- data/lib/{fox12 → fox14}/undolist.rb +2 -2
- data/lib/{fox12 → fox14}/version.rb +2 -2
- data/rdoc-sources/FX7Segment.rb +48 -0
- data/rdoc-sources/FXApp.rb +51 -31
- data/rdoc-sources/FXBMPIcon.rb +18 -1
- data/rdoc-sources/FXBMPImage.rb +5 -0
- data/rdoc-sources/FXBitmap.rb +18 -3
- data/rdoc-sources/FXBitmapFrame.rb +3 -1
- data/rdoc-sources/FXBitmapView.rb +4 -1
- data/rdoc-sources/FXButton.rb +16 -0
- data/rdoc-sources/FXCheckButton.rb +25 -1
- data/rdoc-sources/FXChoiceBox.rb +82 -0
- data/rdoc-sources/FXColorBar.rb +6 -1
- data/rdoc-sources/FXColorDialog.rb +1 -0
- data/rdoc-sources/FXColorWell.rb +14 -6
- data/rdoc-sources/FXColorWheel.rb +6 -4
- data/rdoc-sources/FXComboBox.rb +53 -5
- data/rdoc-sources/FXCursor.rb +2 -2
- data/rdoc-sources/FXDC.rb +36 -2
- data/rdoc-sources/FXDial.rb +10 -4
- data/rdoc-sources/FXDirBox.rb +7 -1
- data/rdoc-sources/FXDirDialog.rb +33 -0
- data/rdoc-sources/FXDirList.rb +8 -3
- data/rdoc-sources/FXDirSelector.rb +36 -2
- data/rdoc-sources/FXDockBar.rb +136 -0
- data/rdoc-sources/FXDockHandler.rb +19 -0
- data/rdoc-sources/FXDockSite.rb +86 -0
- data/rdoc-sources/FXDockTitle.rb +26 -0
- data/rdoc-sources/FXFileDialog.rb +33 -0
- data/rdoc-sources/FXFileDict.rb +29 -56
- data/rdoc-sources/FXFileList.rb +39 -16
- data/rdoc-sources/FXFileSelector.rb +28 -2
- data/rdoc-sources/FXFileStream.rb +3 -0
- data/rdoc-sources/FXFoldingList.rb +104 -62
- data/rdoc-sources/FXFont.rb +2 -9
- data/rdoc-sources/FXFrame.rb +7 -1
- data/rdoc-sources/FXGIFCursor.rb +17 -5
- data/rdoc-sources/FXGIFIcon.rb +5 -0
- data/rdoc-sources/FXGIFImage.rb +5 -0
- data/rdoc-sources/FXHeader.rb +24 -4
- data/rdoc-sources/FXICOIcon.rb +10 -0
- data/rdoc-sources/FXICOImage.rb +5 -0
- data/rdoc-sources/FXIconList.rb +37 -13
- data/rdoc-sources/FXIconSource.rb +100 -0
- data/rdoc-sources/FXImage.rb +8 -2
- data/rdoc-sources/FXInputDialog.rb +6 -0
- data/rdoc-sources/FXJPGIcon.rb +13 -0
- data/rdoc-sources/FXJPGImage.rb +8 -0
- data/rdoc-sources/FXLabel.rb +4 -1
- data/rdoc-sources/FXList.rb +19 -9
- data/rdoc-sources/FXListBox.rb +22 -4
- data/rdoc-sources/FXMDIChild.rb +21 -2
- data/rdoc-sources/FXMDIClient.rb +15 -11
- data/rdoc-sources/FXMainWindow.rb +7 -1
- data/rdoc-sources/FXMemoryStream.rb +2 -0
- data/rdoc-sources/FXMenuBar.rb +1 -1
- data/rdoc-sources/FXMessageBox.rb +17 -7
- data/rdoc-sources/FXObject.rb +7 -1
- data/rdoc-sources/FXPCXIcon.rb +10 -0
- data/rdoc-sources/FXPCXImage.rb +5 -0
- data/rdoc-sources/FXPNGIcon.rb +15 -2
- data/rdoc-sources/FXPNGImage.rb +8 -0
- data/rdoc-sources/FXPPMIcon.rb +10 -0
- data/rdoc-sources/FXPPMImage.rb +5 -0
- data/rdoc-sources/FXQuatd.rb +1 -1
- data/rdoc-sources/FXQuatf.rb +1 -1
- data/rdoc-sources/FXRGBIcon.rb +12 -2
- data/rdoc-sources/FXRGBImage.rb +5 -0
- data/rdoc-sources/FXRegistry.rb +19 -2
- data/rdoc-sources/FXRuler.rb +47 -5
- data/rdoc-sources/FXScrollArea.rb +4 -4
- data/rdoc-sources/FXScrollPane.rb +3 -1
- data/rdoc-sources/FXSeparator.rb +20 -10
- data/rdoc-sources/FXSettings.rb +3 -3
- data/rdoc-sources/FXShell.rb +2 -1
- data/rdoc-sources/FXShutter.rb +7 -2
- data/rdoc-sources/FXSphered.rb +5 -2
- data/rdoc-sources/FXSpheref.rb +5 -2
- data/rdoc-sources/FXSplashWindow.rb +31 -0
- data/rdoc-sources/FXSplitter.rb +2 -1
- data/rdoc-sources/FXStream.rb +11 -2
- data/rdoc-sources/FXTGAIcon.rb +12 -2
- data/rdoc-sources/FXTGAImage.rb +5 -0
- data/rdoc-sources/FXTIFIcon.rb +15 -2
- data/rdoc-sources/FXTIFImage.rb +8 -0
- data/rdoc-sources/FXTable.rb +92 -15
- data/rdoc-sources/FXText.rb +11 -2
- data/rdoc-sources/FXTextField.rb +6 -2
- data/rdoc-sources/FXToolBar.rb +5 -65
- data/rdoc-sources/FXToolBarGrip.rb +5 -10
- data/rdoc-sources/FXToolBarTab.rb +8 -3
- data/rdoc-sources/FXTopWindow.rb +4 -0
- data/rdoc-sources/FXTreeList.rb +56 -50
- data/rdoc-sources/FXTreeListBox.rb +49 -30
- data/rdoc-sources/FXWindow.rb +30 -11
- data/rdoc-sources/FXXBMIcon.rb +10 -0
- data/rdoc-sources/FXXBMImage.rb +5 -0
- data/rdoc-sources/FXXPMIcon.rb +11 -1
- data/rdoc-sources/FXXPMImage.rb +5 -0
- data/rdoc-sources/README.rdoc +1 -1
- data/tests/TC_FXBMPIcon.rb +15 -0
- data/tests/TC_FXBMPImage.rb +15 -0
- data/tests/TC_FXFont.rb +0 -10
- data/tests/TC_FXXBMIcon.rb +15 -0
- data/tests/TC_FXXBMImage.rb +15 -0
- data/tests/TC_FXXPMIcon.rb +15 -0
- data/tests/TC_FXXPMImage.rb +15 -0
- data/web/downloads.html +3 -1
- data/web/home.html +3 -1
- metadata +290 -268
- data/ANNOUNCE +0 -25
- data/examples/mditest2.rb +0 -195
- data/ext/fox12/include/FXRbToolBarVirtuals.h +0 -6
- data/lib/fox12/dialogs.rb +0 -72
- data/tests/TC_FXSettings.rb +0 -34
- data/tests/doit.rb +0 -5
data/rdoc-sources/FXTIFImage.rb
CHANGED
|
@@ -3,6 +3,14 @@ module Fox
|
|
|
3
3
|
# Tagged Image File Format (TIFF) Image
|
|
4
4
|
#
|
|
5
5
|
class FXTIFImage < FXImage
|
|
6
|
+
#
|
|
7
|
+
# Return the suggested file extension for this image type ("tif").
|
|
8
|
+
#
|
|
9
|
+
def FXTIFImage.fileExt; end
|
|
10
|
+
|
|
11
|
+
# Return +true+ if TIF image file format is supported.
|
|
12
|
+
def FXTIFImage.supported? ; end
|
|
13
|
+
|
|
6
14
|
# Codec setting [Integer]
|
|
7
15
|
attr_accessor :codec
|
|
8
16
|
|
data/rdoc-sources/FXTable.rb
CHANGED
|
@@ -73,14 +73,9 @@ module Fox
|
|
|
73
73
|
# +LBORDER+, +RBORDER+, +TBORDER+ and +BBORDER+) [Integer]
|
|
74
74
|
attr_accessor :borders
|
|
75
75
|
|
|
76
|
-
# The stipple pattern for this cell [Integer]
|
|
76
|
+
# The background stipple pattern for this cell [Integer]
|
|
77
77
|
attr_accessor :stipple
|
|
78
78
|
|
|
79
|
-
# Indicates whether the table item "owns" its icon, i.e. whether
|
|
80
|
-
# the icon associated with this table item will be destroyed when
|
|
81
|
-
# the item is destroyed [Boolean]
|
|
82
|
-
attr_writer :iconOwned
|
|
83
|
-
|
|
84
79
|
#
|
|
85
80
|
# Return an initialized FXTableItem instance.
|
|
86
81
|
#
|
|
@@ -110,15 +105,15 @@ module Fox
|
|
|
110
105
|
# Return true if this item is draggable
|
|
111
106
|
def draggable?; end
|
|
112
107
|
|
|
113
|
-
# Return true if this item owns its icon, i.e. if the icon associated
|
|
114
|
-
# with this table item will be destroyed when the table item is destroyed.
|
|
115
|
-
def iconOwned?; end
|
|
116
|
-
|
|
117
108
|
# Return the text for this table item
|
|
118
109
|
def to_s
|
|
119
110
|
text
|
|
120
111
|
end
|
|
121
112
|
|
|
113
|
+
# Change item icon, deleting the previous item icon if it was owned
|
|
114
|
+
# by this table item.
|
|
115
|
+
def setIcon(icn, owned=false); end
|
|
116
|
+
|
|
122
117
|
# Draw this table item
|
|
123
118
|
def draw(table, dc, x, y, w, h); end
|
|
124
119
|
|
|
@@ -138,6 +133,18 @@ module Fox
|
|
|
138
133
|
dc.fillRectangle(x + vg, y + hg, w - vg, h - hg)
|
|
139
134
|
end
|
|
140
135
|
|
|
136
|
+
#
|
|
137
|
+
# Create input control for editing this item.
|
|
138
|
+
# Should return a new instance of some subclass of FXWindow.
|
|
139
|
+
#
|
|
140
|
+
def getControlFor(table); end
|
|
141
|
+
|
|
142
|
+
#
|
|
143
|
+
# Set item value from input _control_ (an instance of some subclass
|
|
144
|
+
# of FXWindow).
|
|
145
|
+
#
|
|
146
|
+
def setFromControl(control); end
|
|
147
|
+
|
|
141
148
|
# Create the server-side resources associated with this table item
|
|
142
149
|
def create; end
|
|
143
150
|
|
|
@@ -176,11 +183,13 @@ module Fox
|
|
|
176
183
|
# +TABLE_ROW_SIZABLE+:: Rows are resizable
|
|
177
184
|
# +TABLE_NO_COLSELECT+:: Disallow column selections
|
|
178
185
|
# +TABLE_NO_ROWSELECT+:: Disallow row selections
|
|
186
|
+
# +TABLE_READONLY+:: Table is not editable
|
|
179
187
|
#
|
|
180
188
|
# === Message identifiers
|
|
181
189
|
#
|
|
182
190
|
# +ID_HORZ_GRID+:: x
|
|
183
191
|
# +ID_VERT_GRID+:: x
|
|
192
|
+
# +ID_TOGGLE_EDITABLE+:: x
|
|
184
193
|
# +ID_DELETE_COLUMN+:: x
|
|
185
194
|
# +ID_DELETE_ROW+:: x
|
|
186
195
|
# +ID_INSERT_COLUMN+:: x
|
|
@@ -202,6 +211,9 @@ module Fox
|
|
|
202
211
|
# +ID_MOVE_BOTTOM+:: x
|
|
203
212
|
# +ID_MOVE_PAGEDOWN+:: x
|
|
204
213
|
# +ID_MOVE_PAGEUP+:: x
|
|
214
|
+
# +ID_START_INPUT+:: x
|
|
215
|
+
# +ID_CANCEL_INPUT+:: x
|
|
216
|
+
# +ID_ACCEPT_INPUT+:: x
|
|
205
217
|
# +ID_MARK+:: x
|
|
206
218
|
# +ID_EXTEND+:: x
|
|
207
219
|
# +ID_CUT_SEL+:: x
|
|
@@ -221,7 +233,7 @@ module Fox
|
|
|
221
233
|
attr_accessor :visibleRows
|
|
222
234
|
|
|
223
235
|
# Number of visible columns [Integer]
|
|
224
|
-
attr_accessor :
|
|
236
|
+
attr_accessor :visibleColumns
|
|
225
237
|
|
|
226
238
|
# Number of rows [Integer]
|
|
227
239
|
attr_reader :numRows
|
|
@@ -395,6 +407,38 @@ module Fox
|
|
|
395
407
|
# Note that this is equivalent to the #verticalGridShown=() method.
|
|
396
408
|
#
|
|
397
409
|
def showVertGrid(on=true) ; end
|
|
410
|
+
|
|
411
|
+
# Set editability of this table to +true+ or +false+.
|
|
412
|
+
def editable=(edit); end
|
|
413
|
+
|
|
414
|
+
# Return +true+ if this table is editable.
|
|
415
|
+
def editable? ; end
|
|
416
|
+
|
|
417
|
+
#
|
|
418
|
+
# Start input mode for the cell at the given position.
|
|
419
|
+
# An input control is created which is used to edit the cell;
|
|
420
|
+
# it is filled by the original item's contents if the cell contained
|
|
421
|
+
# an item. You can enter input mode also by sending the table an
|
|
422
|
+
# <tt>ID_START_INPUT</tt> message.
|
|
423
|
+
#
|
|
424
|
+
def startInput(row, col); end
|
|
425
|
+
|
|
426
|
+
#
|
|
427
|
+
# Cancel input mode. The input control is immediately deleted
|
|
428
|
+
# and the cell will retain its old value. You can also cancel
|
|
429
|
+
# input mode by sending the table an <tt>ID_CANCEL_INPUT</tt> message.
|
|
430
|
+
#
|
|
431
|
+
def cancelInput(); end
|
|
432
|
+
|
|
433
|
+
#
|
|
434
|
+
# End input mode and accept the new value from the control.
|
|
435
|
+
# The item in the cell will be set to the value from the control,
|
|
436
|
+
# and the control will be deleted. If +true+ is passed, a +SEL_REPLACED+
|
|
437
|
+
# callback will be generated to signify to the target that this call
|
|
438
|
+
# has a new value. You can also accept the input by sending the table
|
|
439
|
+
# an <tt>ID_ACCEPT_INPUT</tt> message.
|
|
440
|
+
#
|
|
441
|
+
def acceptInput(notify=false); end
|
|
398
442
|
|
|
399
443
|
#
|
|
400
444
|
# Determine row containing _y_.
|
|
@@ -544,6 +588,18 @@ module Fox
|
|
|
544
588
|
# Return minimum column width for column _c_.
|
|
545
589
|
# Raises IndexError if _c_ is out of bounds.
|
|
546
590
|
def minColumnWidth(c); end
|
|
591
|
+
|
|
592
|
+
#
|
|
593
|
+
# Fit row heights to contents, for the _nr_ rows beginning with row index
|
|
594
|
+
# _row_.
|
|
595
|
+
#
|
|
596
|
+
def fitRowsToContents(row, nr=1); end
|
|
597
|
+
|
|
598
|
+
#
|
|
599
|
+
# Fit column widths to contents, for the _nc_ columns beginning with
|
|
600
|
+
# column index _col_.
|
|
601
|
+
#
|
|
602
|
+
def fitColumnsToContents(col, nc=1); end
|
|
547
603
|
|
|
548
604
|
# Set column header at _index_ to _text_.
|
|
549
605
|
def setColumnText(index, text); end
|
|
@@ -565,7 +621,7 @@ module Fox
|
|
|
565
621
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
|
566
622
|
def getItemText(row, column) ; end
|
|
567
623
|
|
|
568
|
-
# Modify cell icon.
|
|
624
|
+
# Modify cell icon, deleting the old icon if it was owned.
|
|
569
625
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
|
570
626
|
def setItemIcon(row, column, icon) ; end
|
|
571
627
|
|
|
@@ -653,24 +709,45 @@ module Fox
|
|
|
653
709
|
# Raises IndexError if either _row_ or _column_ is out of bounds.
|
|
654
710
|
def itemEnabled?(row, column) ; end
|
|
655
711
|
|
|
656
|
-
#
|
|
712
|
+
#
|
|
713
|
+
# Change item justification for the cell at (_r_, _c_).
|
|
714
|
+
# Horizontal justification is controlled by passing
|
|
715
|
+
# FXTableItem::RIGHT, FXTableItem::LEFT, or FXTableItem::CENTER_X.
|
|
716
|
+
# Vertical justification is controlled by FXTableItem::TOP, FXTableItem::BOTTOM,
|
|
717
|
+
# or FXTableItem::CENTER_Y.
|
|
718
|
+
# The default is a combination of FXTableItem::RIGHT and FXTableItem::CENTER_Y.
|
|
719
|
+
#
|
|
657
720
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
|
721
|
+
#
|
|
658
722
|
def setItemJustify(r, c, justify); end
|
|
659
723
|
|
|
660
724
|
# Return item justification for the cell at (_r_, _c_).
|
|
661
725
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
|
662
726
|
def getItemJustify(r, c); end
|
|
663
727
|
|
|
664
|
-
#
|
|
728
|
+
#
|
|
729
|
+
# Change relative position of icon and text of item at (_r_, _c_).
|
|
730
|
+
# Passing FXTableItem::BEFORE or FXTableItem::AFTER places the icon
|
|
731
|
+
# before or after the text, and passing FXTableItem::ABOVE or
|
|
732
|
+
# FXTableItem::BELOW places it above or below the text, respectively.
|
|
733
|
+
# The default is 0 which places the text on top of the icon.
|
|
734
|
+
#
|
|
665
735
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
|
736
|
+
#
|
|
666
737
|
def setItemIconPosition(r, c, mode); end
|
|
667
738
|
|
|
668
739
|
# Return the relative position of the icon and text for the cell at (_r_, _c_).
|
|
669
740
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
|
670
741
|
def getItemIconPosition(r, c); end
|
|
671
742
|
|
|
672
|
-
#
|
|
743
|
+
#
|
|
744
|
+
# Change item borders style for the item at (_r_, _c_).
|
|
745
|
+
# Borders on each side of the item can be turned
|
|
746
|
+
# controlled individually using FXTableItem::LBORDER, FXTableItem::RBORDER,
|
|
747
|
+
# FXTableItem::TBORDER and FXTableItem::BBORDER.
|
|
748
|
+
#
|
|
673
749
|
# Raises IndexError if either _r_ or _c_ is out of bounds.
|
|
750
|
+
#
|
|
674
751
|
def setItemBorders(r, c, borders); end
|
|
675
752
|
|
|
676
753
|
# Return the border style for the cell at (_r_, _c_).
|
data/rdoc-sources/FXText.rb
CHANGED
|
@@ -311,7 +311,7 @@ module Fox
|
|
|
311
311
|
# +w+:: initial width [Integer]
|
|
312
312
|
# +h+:: initial height [Integer]
|
|
313
313
|
#
|
|
314
|
-
def initialize(p, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theText
|
|
314
|
+
def initialize(p, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0, pl=3, pr=3, pt=2, pb=2) # :yields: theText
|
|
315
315
|
end
|
|
316
316
|
|
|
317
317
|
# Return +true+ if text was modified
|
|
@@ -424,8 +424,17 @@ module Fox
|
|
|
424
424
|
def positionVisible?(pos); end
|
|
425
425
|
|
|
426
426
|
# Return text position at given visible (_x_, _y_) coordinate
|
|
427
|
-
def
|
|
427
|
+
def getPosAt(x, y); end
|
|
428
428
|
|
|
429
|
+
# Count number of rows; _start_ should be on a row start
|
|
430
|
+
def countRows(start, end); end
|
|
431
|
+
|
|
432
|
+
# Count number of columns; _start_ should be on a row start
|
|
433
|
+
def countCols(start, end); end
|
|
434
|
+
|
|
435
|
+
# Count number of newlines
|
|
436
|
+
def countLines(start, end); end
|
|
437
|
+
|
|
429
438
|
# Return position of beginning of line containing position _pos_
|
|
430
439
|
def lineStart(pos); end
|
|
431
440
|
|
data/rdoc-sources/FXTextField.rb
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
module Fox
|
|
2
|
+
#
|
|
2
3
|
# A text field is a single-line text entry widget.
|
|
3
4
|
# The text field widget supports clipboard for cut-and-paste
|
|
4
5
|
# operations.
|
|
6
|
+
# The text field also sends SEL_COMMAND when the focus moves to another control.
|
|
7
|
+
# TEXTFIELD_ENTER_ONLY can be passed to suppress this feature. Typically, this
|
|
8
|
+
# flag is used in dialogs that close when ENTER is hit in a text field.
|
|
5
9
|
#
|
|
6
10
|
# === Events
|
|
7
11
|
#
|
|
@@ -76,10 +80,10 @@ module Fox
|
|
|
76
80
|
# Foreground color for selected text [FXColor]
|
|
77
81
|
attr_accessor :selTextColor
|
|
78
82
|
|
|
79
|
-
#
|
|
83
|
+
# Default width of this text field, in terms of a number of columns times the width of the numeral '8' [Integer]
|
|
80
84
|
attr_accessor :numColumns
|
|
81
85
|
|
|
82
|
-
# Text justification mode [Integer]
|
|
86
|
+
# Text justification mode, a combination of horizontal justification (JUSTIFY_LEFT, JUSTIFY_RIGHT, or JUSTIFY_CENTER_X), and vertical justification (JUSTIFY_TOP, JUSTIFY_BOTTOM, JUSTIFY_CENTER_Y) [Integer]
|
|
83
87
|
attr_accessor :justify
|
|
84
88
|
|
|
85
89
|
# Status line help text [String]
|
data/rdoc-sources/FXToolBar.rb
CHANGED
|
@@ -1,24 +1,12 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
#
|
|
3
|
+
# A tool bar widget can be docked in a dock site; it automatically
|
|
4
|
+
# adjusts its orientation based on the orientation of the dock site,
|
|
5
|
+
# and adjusts the layout options accordingly.
|
|
6
|
+
# See FXDockBar widget for more information on the docking behavior.
|
|
4
7
|
#
|
|
5
|
-
|
|
6
|
-
#
|
|
7
|
-
# +ID_UNDOCK+:: Undock the tool bar
|
|
8
|
-
# +ID_DOCK_TOP+:: Dock on the top
|
|
9
|
-
# +ID_DOCK_BOTTOM+:: Dock on the bottom
|
|
10
|
-
# +ID_DOCK_LEFT+:: Dock on the left
|
|
11
|
-
# +ID_DOCK_RIGHT+:: Dock on the right
|
|
12
|
-
# +ID_TOOLBARGRIP+:: Notifications from tool bar grip
|
|
13
|
-
#
|
|
14
|
-
class FXToolBar < FXPacker
|
|
8
|
+
class FXToolBar < FXDockBar
|
|
15
9
|
|
|
16
|
-
# Parent window when the tool bar is docked [FXComposite]
|
|
17
|
-
attr_reader :dryDock
|
|
18
|
-
|
|
19
|
-
# Parent window when the tool bar is undocked (or "floating") [FXComposite]
|
|
20
|
-
attr_reader :wetDock
|
|
21
|
-
|
|
22
10
|
# Docking side, one of +LAYOUT_SIDE_LEFT+, +LAYOUT_SIDE_RIGHT+, +LAYOUT_SIDE_TOP+ or +LAYOUT_SIDE_BOTTOM+ [Integer]
|
|
23
11
|
attr_accessor :dockingSide
|
|
24
12
|
|
|
@@ -68,54 +56,6 @@ module Fox
|
|
|
68
56
|
#
|
|
69
57
|
def initialize(p, opts=LAYOUT_TOP|LAYOUT_LEFT|LAYOUT_FILL_X, x=0, y=0, w=0, h=0, pl=3, pr=3, pt=2, pb=2, hs=DEFAULT_SPACING, vs=DEFAULT_SPACING) # :yields: theToolBar
|
|
70
58
|
end
|
|
71
|
-
|
|
72
|
-
#
|
|
73
|
-
# Dock the bar against the given _side_, after some other widget.
|
|
74
|
-
# However, if _after_ is -1, it will be docked as the innermost toolbar just before
|
|
75
|
-
# the work-area, while if _after_ is 0, if will be docked as the outermost toolbar.
|
|
76
|
-
#
|
|
77
|
-
# ==== Parameters:
|
|
78
|
-
#
|
|
79
|
-
# +side+::
|
|
80
|
-
# side of the parent window against which to dock the tool bar, one of
|
|
81
|
-
# +LAYOUT_SIDE_TOP+, +LAYOUT_SIDE_BOTTOM+, +LAYOUT_SIDE_LEFT+ or +LAYOUT_SIDE_RIGHT+ [Integer].
|
|
82
|
-
# +after+::
|
|
83
|
-
# sibling window (i.e. inside the parent) after which to dock this tool bar [FXWindow].
|
|
84
|
-
# Also see exceptions described above for the cases when _after_ is 0 or -1.
|
|
85
|
-
#
|
|
86
|
-
def dock(side=LAYOUT_SIDE_TOP, after=-1); end
|
|
87
|
-
|
|
88
|
-
#
|
|
89
|
-
# Undock or "float" the toolbar.
|
|
90
|
-
# The initial position of the wet dock is a few pixels
|
|
91
|
-
# below and to the right of the original docked position.
|
|
92
|
-
#
|
|
93
|
-
def undock; end
|
|
94
|
-
|
|
95
|
-
#
|
|
96
|
-
# Set parent when docked.
|
|
97
|
-
# If it was already docked, reparent under the new docking window.
|
|
98
|
-
#
|
|
99
|
-
# ==== Parameters:
|
|
100
|
-
#
|
|
101
|
-
# +p+:: new "dry dock" parent window for this tool bar [FXComposite]
|
|
102
|
-
#
|
|
103
|
-
def setDryDock(p); end
|
|
104
|
-
|
|
105
|
-
#
|
|
106
|
-
# Set parent when floating.
|
|
107
|
-
# If it was already undocked, then reparent under the new floating window.
|
|
108
|
-
#
|
|
109
|
-
# ==== Parameters:
|
|
110
|
-
#
|
|
111
|
-
# +q+:: new "wet dock" parent window for this tool bar [FXComposite]
|
|
112
|
-
#
|
|
113
|
-
def setWetDock(q); end
|
|
114
|
-
|
|
115
|
-
#
|
|
116
|
-
# Return +true+ if toolbar is docked
|
|
117
|
-
#
|
|
118
|
-
def docked? ; end
|
|
119
59
|
end
|
|
120
60
|
end
|
|
121
61
|
|
|
@@ -1,30 +1,25 @@
|
|
|
1
1
|
module Fox
|
|
2
2
|
#
|
|
3
|
-
# A tool bar grip is used to move its
|
|
3
|
+
# A tool bar grip is used to move its container, a dock bar.
|
|
4
4
|
# The grip draws either a single or double bar; it is customary
|
|
5
5
|
# to use the single bar grip for toolbar-rearrangements only,
|
|
6
6
|
# and use the double-bar when the toolbar needs to be floated
|
|
7
7
|
# or docked.
|
|
8
8
|
# The tool bar grip is automatically oriented properly by the
|
|
9
|
-
# the
|
|
9
|
+
# the toolbar widget, similar to the FXSeparator widget.
|
|
10
|
+
# Holding the Control Key while dragging the grip will prevent
|
|
11
|
+
# the toolbar from docking when it is near a dock site.
|
|
10
12
|
#
|
|
11
13
|
# === Toolbar Grip styles
|
|
12
14
|
#
|
|
13
15
|
# +TOOLBARGRIP_SINGLE+:: Single bar mode for movable tool bars
|
|
14
16
|
# +TOOLBARGRIP_DOUBLE+:: Double bar mode for dockable tool bars
|
|
15
|
-
# +TOOLBARGRIP_SEPARATOR+:: Separator mode
|
|
16
17
|
#
|
|
17
|
-
class FXToolBarGrip <
|
|
18
|
+
class FXToolBarGrip < FXDockHandler
|
|
18
19
|
|
|
19
20
|
# Indicates whether the grip is displayed as a double-bar [Boolean]
|
|
20
21
|
attr_writer :doubleBar
|
|
21
22
|
|
|
22
|
-
# Highlight color [FXColor]
|
|
23
|
-
attr_accessor :hiliteColor
|
|
24
|
-
|
|
25
|
-
# Shadow color [FXColor]
|
|
26
|
-
attr_accessor :shadowColor
|
|
27
|
-
|
|
28
23
|
# Active color [FXColor]
|
|
29
24
|
attr_accessor :activeColor
|
|
30
25
|
|
|
@@ -37,6 +37,9 @@ module Fox
|
|
|
37
37
|
|
|
38
38
|
# The active color [FXColor]
|
|
39
39
|
attr_accessor :activeColor
|
|
40
|
+
|
|
41
|
+
# Tooltip message [String]
|
|
42
|
+
attr_accessor :tipText
|
|
40
43
|
|
|
41
44
|
#
|
|
42
45
|
# Return an initialized FXToolBarTab instance.
|
|
@@ -53,12 +56,14 @@ module Fox
|
|
|
53
56
|
# +h+:: window height [Integer]
|
|
54
57
|
#
|
|
55
58
|
def initialize(p, tgt=nil, sel=0, opts=FRAME_RAISED, x=0, y=0, w=0, h=0) # :yield: theToolBarTab
|
|
56
|
-
|
|
59
|
+
end
|
|
57
60
|
|
|
58
61
|
#
|
|
59
|
-
# Collapse (if
|
|
62
|
+
# Collapse (if _fold_ is +true+) or uncollapse the toolbar.
|
|
63
|
+
# If _notify_ is +true+, a +SEL_COMMAND+ message is sent to the toolbar
|
|
64
|
+
# tab's message target after the toolbar tab is collapsed (or uncollapsed).
|
|
60
65
|
#
|
|
61
|
-
def collapse(
|
|
66
|
+
def collapse(fold, notify=false); end
|
|
62
67
|
|
|
63
68
|
#
|
|
64
69
|
# Return +true+ if the toolbar is collapsed, +false+ otherwise.
|
data/rdoc-sources/FXTopWindow.rb
CHANGED
|
@@ -79,6 +79,10 @@ module Fox
|
|
|
79
79
|
# Position the window based on _placement_
|
|
80
80
|
# (one of +PLACEMENT_DEFAULT+, +PLACEMENT_VISIBLE+, +PLACEMENT_CURSOR+, +PLACEMENT_OWNER+, +PLACEMENT_SCREEN+ or +PLACEMENT_MAXIMIZED+).
|
|
81
81
|
def place(placement) ; end
|
|
82
|
+
|
|
83
|
+
# Obtain border sizes added to our window by the window manager.
|
|
84
|
+
# Returns a 4-element array containing the left, right, top and bottom border sizes (in pixels).
|
|
85
|
+
def getWMBorders(); end
|
|
82
86
|
|
|
83
87
|
# Iconify window
|
|
84
88
|
def iconify() ; end
|
data/rdoc-sources/FXTreeList.rb
CHANGED
|
@@ -31,7 +31,7 @@ module Fox
|
|
|
31
31
|
|
|
32
32
|
# Set the opened-state icon (an FXIcon instance) for this tree item,
|
|
33
33
|
# or +nil+ if no icon should be used.
|
|
34
|
-
def
|
|
34
|
+
def setOpenIcon(oi, owned=false); end
|
|
35
35
|
|
|
36
36
|
# Return a reference to the closed-state icon (an FXIcon instance) for
|
|
37
37
|
# this tree item, or +nil+ if none was specified.
|
|
@@ -39,7 +39,7 @@ module Fox
|
|
|
39
39
|
|
|
40
40
|
# Set the closed-state icon (an FXIcon instance) for this tree item,
|
|
41
41
|
# or +nil+ if no icon should be used.
|
|
42
|
-
def
|
|
42
|
+
def setClosedIcon(ci, owned=false); end
|
|
43
43
|
|
|
44
44
|
# Return a reference to the user data for this tree item, or +nil+
|
|
45
45
|
# if no user data has been associated with this tree item.
|
|
@@ -85,9 +85,6 @@ module Fox
|
|
|
85
85
|
# Returns +true+ if this item is draggable
|
|
86
86
|
def draggable? ; end
|
|
87
87
|
|
|
88
|
-
# Returns +true+ if this item owns its icons
|
|
89
|
-
def iconOwned? ; end
|
|
90
|
-
|
|
91
88
|
# Return +true+ if this items has subitems, real or imagined.
|
|
92
89
|
def hasItems?; end
|
|
93
90
|
|
|
@@ -274,68 +271,55 @@ module Fox
|
|
|
274
271
|
def initialize(p, nvis, tgt=nil, sel=0, opts=TREELIST_NORMAL, x=0, y=0, w=0, h=0) # :yields: theTreeList
|
|
275
272
|
end
|
|
276
273
|
|
|
277
|
-
#
|
|
278
|
-
#
|
|
279
|
-
#
|
|
280
|
-
#
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
274
|
+
#
|
|
275
|
+
# Fill tree list by appending items from array of strings and return the
|
|
276
|
+
# number of items added.
|
|
277
|
+
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's
|
|
278
|
+
# message target after each item is added.
|
|
279
|
+
#
|
|
280
|
+
def fillItems(father, strings, oi=nil, ci=nil, ptr=nil, notify=false); end
|
|
281
|
+
|
|
282
|
+
# Insert a new (possibly subclassed) _item_ under _father_ before _other_ item
|
|
284
283
|
# Returns a reference to the newly added item (an FXTreeItem instance).
|
|
285
284
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
|
286
285
|
# target after the item is added.
|
|
287
|
-
def
|
|
286
|
+
def insertItem(other, father, item, notify=false); end
|
|
288
287
|
|
|
289
|
-
#
|
|
288
|
+
# Insert item with given text and optional icons, and user-data pointer under _father_ before _other_ item.
|
|
290
289
|
# Returns a reference to the newly added item (an FXTreeItem instance).
|
|
291
290
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
|
292
291
|
# target after the item is added.
|
|
293
|
-
def
|
|
294
|
-
|
|
295
|
-
# Append a new
|
|
292
|
+
def insertItem(other, father, text, oi=nil, ci=nil, ptr=nil, notify=false); end
|
|
293
|
+
|
|
294
|
+
# Append a new (possibly subclassed) _item_ as last child of _father_.
|
|
296
295
|
# Returns a reference to the newly added item (an FXTreeItem instance).
|
|
297
296
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
|
298
297
|
# target after the item is added.
|
|
299
|
-
def
|
|
298
|
+
def appendItem(father, item, notify=false); end
|
|
300
299
|
|
|
301
|
-
# Append
|
|
300
|
+
# Append item with given text and optional icons, and user-data pointer as last child of _father_.
|
|
302
301
|
# Returns a reference to the newly added item (an FXTreeItem instance).
|
|
303
302
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
|
304
303
|
# target after the item is added.
|
|
305
|
-
def
|
|
304
|
+
def appendItem(father, text, oi=nil, ci=nil, ptr=nil, notify=false); end
|
|
306
305
|
|
|
307
|
-
#
|
|
306
|
+
# Prepend a new (possibly subclassed) _item_ as first child of _father_.
|
|
308
307
|
# Returns a reference to the newly added item (an FXTreeItem instance).
|
|
309
308
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
|
310
309
|
# target after the item is added.
|
|
311
|
-
def
|
|
310
|
+
def prependItem(father, item, notify=false); end
|
|
312
311
|
|
|
313
|
-
# Prepend
|
|
312
|
+
# Prepend item with given text and optional icons, and user-data pointer as first child of _father_.
|
|
314
313
|
# Returns a reference to the newly added item (an FXTreeItem instance).
|
|
315
314
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
|
316
315
|
# target after the item is added.
|
|
317
|
-
def
|
|
316
|
+
def prependItem(father, text, oi=nil, ci=nil, ptr=nil, notify=false); end
|
|
318
317
|
|
|
319
|
-
# Prepend a new item with given _text_ and optional _openIcon_, _closedIcon_ and user _data_ prior to _otherItem_.
|
|
320
|
-
# Returns a reference to the newly added item (an FXTreeItem instance).
|
|
321
|
-
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
|
322
|
-
# target after the item is added.
|
|
323
|
-
def addItemBefore(otherItem, text, openIcon=nil, closedIcon=nil, data=nil, notify=false); end
|
|
324
|
-
|
|
325
318
|
#
|
|
326
|
-
#
|
|
327
|
-
#
|
|
328
|
-
def reparentItem(item, parentItem); end
|
|
329
|
-
|
|
330
|
-
#
|
|
331
|
-
# Move _item_ before _otherItem_ and return a reference to the moved _item_.
|
|
332
|
-
#
|
|
333
|
-
def moveItemBefore(otherItem, item); end
|
|
334
|
-
|
|
319
|
+
# Move _item_ under _father_ before _other_ item and return a reference to
|
|
320
|
+
# _item_.
|
|
335
321
|
#
|
|
336
|
-
|
|
337
|
-
#
|
|
338
|
-
def moveItemAfter(otherItem, item); end
|
|
322
|
+
def moveItem(other, father, item); end
|
|
339
323
|
|
|
340
324
|
# Remove item.
|
|
341
325
|
# If _notify_ is +true+, a +SEL_DELETED+ message is sent to the list's message
|
|
@@ -361,10 +345,32 @@ module Fox
|
|
|
361
345
|
# Return a reference to the tree item at (_x_, _y_), if any.
|
|
362
346
|
def getItemAt(x, y); end
|
|
363
347
|
|
|
364
|
-
#
|
|
365
|
-
#
|
|
366
|
-
#
|
|
367
|
-
|
|
348
|
+
#
|
|
349
|
+
# Search items by _name_, beginning from item _start_ (an FXTreeItem instance).
|
|
350
|
+
# If the start item is +nil+, the search will start at the first, top-most
|
|
351
|
+
# item in the list.
|
|
352
|
+
# Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control the search
|
|
353
|
+
# direction; this can be combined with +SEARCH_NOWRAP+ or +SEARCH_WRAP+
|
|
354
|
+
# to control whether the search wraps at the start or end of the list.
|
|
355
|
+
# The option +SEARCH_IGNORECASE+ causes a case-insensitive match. Finally,
|
|
356
|
+
# passing +SEARCH_PREFIX+ causes searching for a prefix of the item name.
|
|
357
|
+
# Return +nil+ if no matching item is found.
|
|
358
|
+
#
|
|
359
|
+
def findItem(name, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
|
360
|
+
|
|
361
|
+
#
|
|
362
|
+
# Search items by associated user data (_ptr_), beginning from item _start_
|
|
363
|
+
# (an FXTreeItem instance).
|
|
364
|
+
# If the start item is +nil+ the search will start at the first, top-most item
|
|
365
|
+
# in the list.
|
|
366
|
+
# Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control the search
|
|
367
|
+
# direction; this can be combined with +SEARCH_NOWRAP+ or +SEARCH_WRAP+
|
|
368
|
+
# to control whether the search wraps at the start or end of the list.
|
|
369
|
+
# The option +SEARCH_IGNORECASE+ causes a case-insensitive match. Finally,
|
|
370
|
+
# passing +SEARCH_PREFIX+ causes searching for a prefix of the item name.
|
|
371
|
+
# Return +nil+ if no matching item is found.
|
|
372
|
+
#
|
|
373
|
+
def findItemByData(ptr, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
|
368
374
|
|
|
369
375
|
# Scroll the list to make _item_ visible
|
|
370
376
|
def makeItemVisible(item); end
|
|
@@ -375,14 +381,14 @@ module Fox
|
|
|
375
381
|
# Return item's text
|
|
376
382
|
def getItemText(item); end
|
|
377
383
|
|
|
378
|
-
# Change item's open icon
|
|
379
|
-
def setItemOpenIcon(item, openIcon); end
|
|
384
|
+
# Change item's open icon, deleting the old icon if it's owned
|
|
385
|
+
def setItemOpenIcon(item, openIcon, owned=false); end
|
|
380
386
|
|
|
381
387
|
# Return item's open icon
|
|
382
388
|
def getItemOpenIcon(item); end
|
|
383
389
|
|
|
384
|
-
# Change item's closed icon
|
|
385
|
-
def setItemClosedIcon(item, closedIcon); end
|
|
390
|
+
# Change item's closed icon, deleting the old icon if it's owned
|
|
391
|
+
def setItemClosedIcon(item, closedIcon, owned=false); end
|
|
386
392
|
|
|
387
393
|
# Return item's closed icon
|
|
388
394
|
def getItemClosedIcon(item); end
|