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
@@ -0,0 +1,26 @@
|
|
1
|
+
module Fox
|
2
|
+
#
|
3
|
+
# A dock title is used to move its container, a dock bar.
|
4
|
+
# The dock title is also used simultaneously to provide a
|
5
|
+
# caption above the dock bar.
|
6
|
+
#
|
7
|
+
class FXDockTitle < FXDockHandler
|
8
|
+
# Caption text for the grip [String]
|
9
|
+
attr_accessor :caption
|
10
|
+
|
11
|
+
# Caption font [FXFont]
|
12
|
+
attr_accessor :font
|
13
|
+
|
14
|
+
# Caption color [FXColor]
|
15
|
+
attr_accessor :captionColor
|
16
|
+
|
17
|
+
# Current justification mode [Integer]
|
18
|
+
attr_accessor :justify
|
19
|
+
|
20
|
+
#
|
21
|
+
# Construct dock bar title widget
|
22
|
+
#
|
23
|
+
def initialize(p, text, tgt=nil, sel=0, opts=FRAME_NORMAL|JUSTIFY_CENTER_X|JUSTIFY_CENTER_Y, x=0, y=0, w=0, h=0, pl=0, pr=0, pt=0, pb=0)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -58,6 +58,9 @@ module Fox
|
|
58
58
|
|
59
59
|
# Wildcard matching mode [Integer]
|
60
60
|
attr_accessor :matchMode
|
61
|
+
|
62
|
+
# Image size for preview images [Integer]
|
63
|
+
attr_accessor :imageSize
|
61
64
|
|
62
65
|
# Construct a file dialog box
|
63
66
|
def initialize(owner, name, opts=0, x=0, y=0, w=500, h=300) # :yields: theFileDialog
|
@@ -104,12 +107,42 @@ module Fox
|
|
104
107
|
# Change pattern text for pattern number
|
105
108
|
def setPatternText(patno, text); end
|
106
109
|
|
110
|
+
#
|
111
|
+
# Change whether this file dialog allows pattern entry or not.
|
112
|
+
#
|
113
|
+
def allowsPatternEntry=(allowed); end
|
114
|
+
|
115
|
+
#
|
116
|
+
# Return +true+ if this file dialog allows pattern entry
|
117
|
+
#
|
118
|
+
def allowsPatternEntry? ; end
|
119
|
+
|
107
120
|
# Set visibility of the read-only button, where _shown_ is either +true+ or +false+
|
108
121
|
def showReadOnly=(shown); end
|
109
122
|
|
110
123
|
# Return +true+ if read-only button is shown
|
111
124
|
def readOnlyShown?; end
|
112
125
|
|
126
|
+
# Return +true+ if showing hidden files and directories
|
127
|
+
def hiddenFilesShown?; end
|
128
|
+
|
129
|
+
#
|
130
|
+
# If _state_ is +true+, the file dialog will show hidden files and
|
131
|
+
# directories; otherwise, it won't.
|
132
|
+
#
|
133
|
+
def hiddenFilesShown=(state); end
|
134
|
+
|
135
|
+
#
|
136
|
+
# If _shown_ is +true+, the file dialog will show preview images;
|
137
|
+
# otherwise it won't.
|
138
|
+
#
|
139
|
+
def imagesShown=(shown); end
|
140
|
+
|
141
|
+
#
|
142
|
+
# Return +true+ if the file dialog is showing preview images.
|
143
|
+
#
|
144
|
+
def imagesShown? ; end
|
145
|
+
|
113
146
|
# Set initial state of read-only button, where _state_ is either +true+ or +false+
|
114
147
|
def readOnly=(state); end
|
115
148
|
|
data/rdoc-sources/FXFileDict.rb
CHANGED
@@ -35,66 +35,39 @@ module Fox
|
|
35
35
|
end
|
36
36
|
|
37
37
|
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
38
|
+
# The File Association dictionary associates a file extension with a File
|
39
|
+
# Association record which contains command name, mime type, icons, and other
|
40
|
+
# information about the file type. The icons referenced by the file association
|
41
|
+
# are managed by the Icon Dictionary; this guarantees that each icon is loaded
|
42
|
+
# only once into memory.
|
43
|
+
# The associations are determined by the information by the FOX Registry settings;
|
44
|
+
# each entry under the FILETYPES registry section comprises the command line,
|
45
|
+
# extension name, large icon, small icon, and mime type:
|
42
46
|
#
|
43
|
-
#
|
44
|
-
# of "~/.foxicons:/usr/local/share/icons:/usr/share/icons" is used.
|
47
|
+
# command ';' extension ';' bigicon [ ':' bigiconopen ] ';' icon [ ':' iconopen ] ';' mime
|
45
48
|
#
|
46
|
-
#
|
47
|
-
# deduced from the file extension.
|
49
|
+
# For example, the binding for "jpg" could be:
|
48
50
|
#
|
49
|
-
|
50
|
-
|
51
|
-
# Associated application [FXApp]
|
52
|
-
attr_reader :app
|
53
|
-
|
54
|
-
# Current icon search path [String]
|
55
|
-
attr_accessor :iconPath
|
56
|
-
|
57
|
-
# Return the default icon search path
|
58
|
-
def FXIconDict.defaultIconPath; end
|
59
|
-
|
60
|
-
#
|
61
|
-
# Return an initialized FXIconDict instance.
|
62
|
-
#
|
63
|
-
#
|
64
|
-
# ==== Parameters:
|
65
|
-
#
|
66
|
-
# +a+:: the application [FXApp]
|
67
|
-
# +p+::
|
68
|
-
# the search path used to find named icons [String]. If no path is specified,
|
69
|
-
# the default icon path is used.
|
70
|
-
#
|
71
|
-
def initialize(a, p=defaultIconPath); end
|
72
|
-
|
73
|
-
#
|
74
|
-
# Insert unique icon loaded from filename into dictionary;
|
75
|
-
# returns a reference to the icon.
|
76
|
-
#
|
77
|
-
def insert(filename); end
|
78
|
-
|
79
|
-
#
|
80
|
-
# Remove icon from dictionary; returns a reference to the icon.
|
81
|
-
#
|
82
|
-
def remove(name); end
|
83
|
-
|
84
|
-
# Find icon by name
|
85
|
-
def find(name); end
|
86
|
-
end
|
87
|
-
|
88
|
-
|
89
|
-
|
51
|
+
# xv %s &;JPEG Image;bigimage.xpm;miniimage.xpm;image/jpeg
|
90
52
|
#
|
91
|
-
#
|
53
|
+
# The association for a file name is determined by first looking at the entire
|
54
|
+
# file name, then at the whole extension, and then at sub-extensions.
|
55
|
+
# For example, "name.tar.gz", "tar.gz", and "gz" can each be given a different
|
56
|
+
# file association. Directory names may also be given associations; there is
|
57
|
+
# no command-line association for a directory, however. The association for a
|
58
|
+
# directory is found by first checking the whole pathname, then checking the
|
59
|
+
# pathname less the first component, and so on. So, "/usr/local/include",
|
60
|
+
# "/local/include", and "/include" can each be given their own file associations.
|
61
|
+
# If the above lookup procedure has not found a file association, the system
|
62
|
+
# uses a fallback associations: for files, the fallback association is determined
|
63
|
+
# by the binding "defaultfilebinding". For directories, the "defaultdirbinding"
|
64
|
+
# is used, and for executables the "defaultexecbinding" is used.
|
92
65
|
#
|
93
66
|
class FXFileDict < FXDict
|
94
67
|
|
95
|
-
#
|
96
|
-
|
97
|
-
|
68
|
+
# Current icon search path [FXIconDict]
|
69
|
+
attr_accessor :iconDict
|
70
|
+
|
98
71
|
# Current icon search path [String]
|
99
72
|
attr_accessor :iconPath
|
100
73
|
|
@@ -111,7 +84,7 @@ module Fox
|
|
111
84
|
# Construct a dictionary mapping file-extension to file associations,
|
112
85
|
# using the application registry settings as a source for the bindings.
|
113
86
|
#
|
114
|
-
def initialize(
|
87
|
+
def initialize(app); end
|
115
88
|
|
116
89
|
#
|
117
90
|
# Construct a dictionary mapping file-extension to file associations,
|
@@ -119,10 +92,10 @@ module Fox
|
|
119
92
|
#
|
120
93
|
# ==== Parameters:
|
121
94
|
#
|
122
|
-
# +
|
95
|
+
# +app+: Application [FXApp]
|
123
96
|
# +db+:: Settings database [FXSettings]
|
124
97
|
#
|
125
|
-
def initialize(
|
98
|
+
def initialize(app, db); end
|
126
99
|
return new FXRbFileDict(a,db);
|
127
100
|
}
|
128
101
|
}
|
data/rdoc-sources/FXFileList.rb
CHANGED
@@ -46,32 +46,41 @@ module Fox
|
|
46
46
|
end
|
47
47
|
|
48
48
|
#
|
49
|
-
# File List
|
49
|
+
# A File List widget provides an icon rich view of the file system.
|
50
|
+
# It automatically updates itself periodically by re-scanning the file system
|
51
|
+
# for any changes. As it scans the displayed directory, it automatically
|
52
|
+
# determines the icons to be displayed by consulting the file associations registry
|
53
|
+
# settings. A number of messages can be sent to the File List to control the
|
54
|
+
# filter pattern, sort category, sorting order, case sensitivity, and hidden file
|
55
|
+
# display mode.
|
50
56
|
#
|
51
57
|
# === File List options
|
52
58
|
#
|
53
59
|
# +FILELIST_SHOWHIDDEN+:: Show hidden files or directories
|
54
60
|
# +FILELIST_SHOWDIRS+:: Show only directories
|
55
61
|
# +FILELIST_SHOWFILES+:: Show only files
|
62
|
+
# +FILELIST_SHOWIMAGES+:: Show preview of images
|
56
63
|
# +FILELIST_NO_OWN_ASSOC+:: Do not create associations for files
|
57
64
|
#
|
58
65
|
# === Message identifiers
|
59
66
|
#
|
60
|
-
# +ID_SORT_BY_NAME+::
|
61
|
-
# +ID_SORT_BY_TYPE+::
|
62
|
-
# +ID_SORT_BY_SIZE+::
|
63
|
-
# +ID_SORT_BY_TIME+::
|
64
|
-
# +ID_SORT_BY_USER+::
|
65
|
-
# +ID_SORT_BY_GROUP+::
|
66
|
-
# +ID_SORT_REVERSE+::
|
67
|
-
# +ID_DIRECTORY_UP+::
|
68
|
-
# +ID_SET_PATTERN+::
|
69
|
-
# +ID_SET_DIRECTORY+::
|
70
|
-
# +ID_SHOW_HIDDEN+::
|
71
|
-
# +ID_HIDE_HIDDEN+::
|
72
|
-
# +ID_TOGGLE_HIDDEN+::
|
73
|
-
# +ID_REFRESHTIMER+::
|
74
|
-
# +ID_OPENTIMER+::
|
67
|
+
# +ID_SORT_BY_NAME+:: Sort by name
|
68
|
+
# +ID_SORT_BY_TYPE+:: Sort by type
|
69
|
+
# +ID_SORT_BY_SIZE+:: Sort by size
|
70
|
+
# +ID_SORT_BY_TIME+:: Sort by access time
|
71
|
+
# +ID_SORT_BY_USER+:: Sort by user name
|
72
|
+
# +ID_SORT_BY_GROUP+:: Sort by group name
|
73
|
+
# +ID_SORT_REVERSE+:: Reverse sort order
|
74
|
+
# +ID_DIRECTORY_UP+:: Move up one directory
|
75
|
+
# +ID_SET_PATTERN+:: Set match pattern
|
76
|
+
# +ID_SET_DIRECTORY+:: Set directory
|
77
|
+
# +ID_SHOW_HIDDEN+:: Show hidden files
|
78
|
+
# +ID_HIDE_HIDDEN+:: Hide hidden files
|
79
|
+
# +ID_TOGGLE_HIDDEN+:: Toggle visibility of hidden files
|
80
|
+
# +ID_REFRESHTIMER+:: x
|
81
|
+
# +ID_OPENTIMER+:: x
|
82
|
+
# +ID_TOGGLE_IMAGES+:: Toggle display of images
|
83
|
+
# +ID_REFRESH+:: Refresh immediately
|
75
84
|
#
|
76
85
|
class FXFileList < FXIconList
|
77
86
|
|
@@ -90,6 +99,9 @@ module Fox
|
|
90
99
|
# File associations [FXFileDict]
|
91
100
|
attr_accessor :associations
|
92
101
|
|
102
|
+
# Image size for preview images [Integer]
|
103
|
+
attr_accessor :imageSize
|
104
|
+
|
93
105
|
# Construct a file list
|
94
106
|
def initialize(p, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=0) # :yields: theFileList
|
95
107
|
end
|
@@ -158,6 +170,17 @@ module Fox
|
|
158
170
|
|
159
171
|
# Show files only.
|
160
172
|
def onlyFilesShown=(shown); end
|
173
|
+
|
174
|
+
#
|
175
|
+
# If _shown_ is +true+, the file list will show preview images;
|
176
|
+
# otherwise it won't.
|
177
|
+
#
|
178
|
+
def imagesShown=(shown); end
|
179
|
+
|
180
|
+
#
|
181
|
+
# Return +true+ if the file list is showing preview images.
|
182
|
+
#
|
183
|
+
def imagesShown? ; end
|
161
184
|
end
|
162
185
|
end
|
163
186
|
|
@@ -7,8 +7,8 @@ module Fox
|
|
7
7
|
# +SELECTFILE_ANY+:: A single file, existing or not (to save to)
|
8
8
|
# +SELECTFILE_EXISTING+:: An existing file (to load)
|
9
9
|
# +SELECTFILE_MULTIPLE+:: Multiple existing files
|
10
|
-
# +SELECTFILE_MULTIPLE_ALL+:: Multiple existing files or directories
|
11
|
-
# +SELECTFILE_DIRECTORY+:: Existing directory
|
10
|
+
# +SELECTFILE_MULTIPLE_ALL+:: Multiple existing files or directories, but not '.' and '..'
|
11
|
+
# +SELECTFILE_DIRECTORY+:: Existing directory, including '.' or '..'
|
12
12
|
#
|
13
13
|
# === Wildcard matching modes
|
14
14
|
#
|
@@ -27,6 +27,9 @@ module Fox
|
|
27
27
|
# +ID_FILELIST+:: x
|
28
28
|
# +ID_DIRECTORY_UP+:: x
|
29
29
|
# +ID_DIRTREE+:: x
|
30
|
+
# +ID_NORMAL_SIZE+:: x
|
31
|
+
# +ID_MEDIUM_SIZE+:: x
|
32
|
+
# +ID_GIANT_SIZE+:: x
|
30
33
|
# +ID_HOME+:: x
|
31
34
|
# +ID_WORK+:: x
|
32
35
|
# +ID_BOOKMARK+:: x
|
@@ -69,6 +72,9 @@ module Fox
|
|
69
72
|
# Wildcard matching mode [Integer]
|
70
73
|
attr_accessor :matchMode
|
71
74
|
|
75
|
+
# Image size for preview images [Integer]
|
76
|
+
attr_accessor :imageSize
|
77
|
+
|
72
78
|
#
|
73
79
|
# Return an initialized FXFileSelector instance.
|
74
80
|
#
|
@@ -129,6 +135,26 @@ module Fox
|
|
129
135
|
# Return +true+ if in read-only mode.
|
130
136
|
def readOnly?; end
|
131
137
|
|
138
|
+
# Return +true+ if showing hidden files and directories
|
139
|
+
def hiddenFilesShown?; end
|
140
|
+
|
141
|
+
#
|
142
|
+
# If _state_ is +true+, the file selector will show hidden files and
|
143
|
+
# directories; otherwise, it won't.
|
144
|
+
#
|
145
|
+
def hiddenFilesShown=(state); end
|
146
|
+
|
147
|
+
#
|
148
|
+
# If _shown_ is +true+, the file selector will show preview images;
|
149
|
+
# otherwise it won't.
|
150
|
+
#
|
151
|
+
def imagesShown=(shown); end
|
152
|
+
|
153
|
+
#
|
154
|
+
# Return +true+ if the file selector is showing preview images.
|
155
|
+
#
|
156
|
+
def imagesShown? ; end
|
157
|
+
|
132
158
|
#
|
133
159
|
# Given filename pattern of the form "GIF Format (*.gif)",
|
134
160
|
# returns the pattern only, i.e. "*.gif" in this case.
|
@@ -86,9 +86,6 @@ module Fox
|
|
86
86
|
# Change has items flag to +true+ or +false+.
|
87
87
|
def hasItems=(flag); end
|
88
88
|
|
89
|
-
# Returns +true+ if this item owns its icons
|
90
|
-
def iconOwned? ; end
|
91
|
-
|
92
89
|
#
|
93
90
|
# Return +true+ if this item is a descendant of _item_.
|
94
91
|
#
|
@@ -118,6 +115,18 @@ module Fox
|
|
118
115
|
|
119
116
|
# Destroy this folding item
|
120
117
|
def destroy; end
|
118
|
+
|
119
|
+
#
|
120
|
+
# Change open icon to _icn_, deleting old icon if it was owned.
|
121
|
+
# If _owned_ is +true+, mark _icn_ as owned by this folding item.
|
122
|
+
#
|
123
|
+
def setOpenIcon(icn, owned=false); end
|
124
|
+
|
125
|
+
#
|
126
|
+
# Change closed icon to _icn_, deleting old icon if it was owned.
|
127
|
+
# If _owned_ is +true+, mark _icn_ as owned by this folding item.
|
128
|
+
#
|
129
|
+
def setClosedIcon(icn, owned=false); end
|
121
130
|
end
|
122
131
|
|
123
132
|
#
|
@@ -179,50 +188,56 @@ module Fox
|
|
179
188
|
|
180
189
|
class FXFoldingList < FXScrollArea
|
181
190
|
|
191
|
+
# Header control [FXHeader]
|
192
|
+
attr_reader :header
|
193
|
+
|
194
|
+
# Number of header items [Integer]
|
195
|
+
attr_reader :numHeaders
|
196
|
+
|
182
197
|
# Number of items [Integer]
|
183
|
-
attr_reader
|
198
|
+
attr_reader :numItems
|
184
199
|
|
185
200
|
# Number of visible items [Integer]
|
186
|
-
attr_accessor
|
201
|
+
attr_accessor :numVisible
|
187
202
|
|
188
203
|
# First root-level item [FXFoldingItem]
|
189
|
-
attr_reader
|
204
|
+
attr_reader :firstItem
|
190
205
|
|
191
206
|
# Last root-level item [FXFoldingItem]
|
192
|
-
attr_reader
|
207
|
+
attr_reader :lastItem
|
193
208
|
|
194
209
|
# Current item, if any [FXFoldingItem]
|
195
|
-
attr_accessor
|
210
|
+
attr_accessor :currentItem
|
196
211
|
|
197
212
|
# Anchor item, if any [FXFoldingItem]
|
198
|
-
attr_accessor
|
213
|
+
attr_accessor :anchorItem
|
199
214
|
|
200
215
|
# Item under the cursor, if any [FXFoldingItem]
|
201
|
-
attr_reader
|
216
|
+
attr_reader :cursorItem
|
202
217
|
|
203
218
|
# Text font [FXFont]
|
204
|
-
attr_accessor
|
219
|
+
attr_accessor :font
|
205
220
|
|
206
221
|
# Parent-child indent amount, in pixels [Integer]
|
207
|
-
attr_accessor
|
222
|
+
attr_accessor :indent
|
208
223
|
|
209
224
|
# Normal text color [FXColor]
|
210
|
-
attr_accessor
|
225
|
+
attr_accessor :textColor
|
211
226
|
|
212
227
|
# Selected text background color [FXColor]
|
213
|
-
attr_accessor
|
228
|
+
attr_accessor :selBackColor
|
214
229
|
|
215
230
|
# Selected text color [FXColor]
|
216
|
-
attr_accessor
|
231
|
+
attr_accessor :selTextColor
|
217
232
|
|
218
233
|
# Line color [FXColor]
|
219
|
-
attr_accessor
|
234
|
+
attr_accessor :lineColor
|
220
235
|
|
221
236
|
# List style [Integer]
|
222
|
-
attr_accessor
|
237
|
+
attr_accessor :listStyle
|
223
238
|
|
224
239
|
# Status line help text for this list [String]
|
225
|
-
attr_accessor
|
240
|
+
attr_accessor :helpText
|
226
241
|
|
227
242
|
#
|
228
243
|
# Return an initialized FXFoldingList instance; the folding list is initially empty.
|
@@ -241,68 +256,78 @@ module Fox
|
|
241
256
|
def initialize(p, tgt=nil, sel=0, opts=TREELIST_NORMAL, x=0, y=0, w=0, h=0) # :yields: theFoldingList
|
242
257
|
end
|
243
258
|
|
244
|
-
#
|
245
|
-
|
246
|
-
|
247
|
-
#
|
248
|
-
def
|
249
|
-
|
250
|
-
#
|
251
|
-
|
259
|
+
# Set headers from an array of strings.
|
260
|
+
def setHeaders(headers, size=1); end
|
261
|
+
|
262
|
+
# Append header with given text and optional icon
|
263
|
+
def appendHeader(text, icon=nil, size=1); end
|
264
|
+
|
265
|
+
# Remove header at index
|
266
|
+
def removeHeader(index); end
|
267
|
+
|
268
|
+
# Change text of header at index
|
269
|
+
def setHeaderText(index, text); end
|
270
|
+
|
271
|
+
# Return text of header at index
|
272
|
+
def getHeaderText(index); end
|
273
|
+
|
274
|
+
# Change icon of header at index
|
275
|
+
def setHeaderIcon(index, icon); end
|
276
|
+
|
277
|
+
# Return icon of header at index
|
278
|
+
def getHeaderIcon(index); end
|
279
|
+
|
280
|
+
# Change size of header at index
|
281
|
+
def setHeaderSize(index, size); end
|
282
|
+
|
283
|
+
# Return width of header at index
|
284
|
+
def getHeaderSize(index); end
|
285
|
+
|
286
|
+
# Fill list by appending items from array of strings and return the number
|
287
|
+
# of items created.
|
252
288
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
253
|
-
# target after
|
254
|
-
def
|
289
|
+
# target after each item is added.
|
290
|
+
def fillItems(father, strings, oi=nil, ci=nil, ptr=nil, notify=false); end
|
255
291
|
|
256
|
-
#
|
292
|
+
# Insert a (possibly subclassed) _item_ under _father_, before _other_.
|
257
293
|
# Returns a reference to the newly added item (an FXFoldingItem instance).
|
258
294
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
259
295
|
# target after the item is added.
|
260
|
-
def
|
296
|
+
def insertItem(other, father, item, notify=false); end
|
261
297
|
|
262
|
-
#
|
298
|
+
# Insert item with given text and optional icons, and user-data pointer under _father_ before _other_ item..
|
263
299
|
# Returns a reference to the newly added item (an FXFoldingItem instance).
|
264
300
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
265
301
|
# target after the item is added.
|
266
|
-
def
|
302
|
+
def insertItem(other, father, text, oi=nil, ci=nil, ptr=nil, notify=false); end
|
267
303
|
|
268
|
-
# Append
|
304
|
+
# Append (possibly subclassed) _item_ as last child of _father_..
|
269
305
|
# Returns a reference to the newly added item (an FXFoldingItem instance).
|
270
306
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
271
307
|
# target after the item is added.
|
272
|
-
def
|
308
|
+
def appendItem(father, item, notify=false); end
|
273
309
|
|
274
|
-
# Append a new item with given _text_ and optional _openIcon_, _closedIcon_ and user _data_
|
310
|
+
# Append a new item with given _text_ and optional _openIcon_, _closedIcon_ and user _data_
|
311
|
+
# as last child of _father_.
|
275
312
|
# Returns a reference to the newly added item (an FXFoldingItem instance).
|
276
313
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
277
314
|
# target after the item is added.
|
278
|
-
def
|
315
|
+
def appendItem(father, text, oi=nil, ci=nil, ptr=nil, notify=false); end
|
279
316
|
|
280
|
-
# Prepend
|
317
|
+
# Prepend (possibly subclassed) _item_ as first child of _father_.
|
281
318
|
# Returns a reference to the newly added item (an FXFoldingItem instance).
|
282
319
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
283
320
|
# target after the item is added.
|
284
|
-
def
|
321
|
+
def prependItem(father, item, notify=false); end
|
285
322
|
|
286
|
-
# Prepend a new item with given _text_ and optional
|
323
|
+
# Prepend a new item with given _text_ and optional icons and user data as first child of _father_.
|
287
324
|
# Returns a reference to the newly added item (an FXFoldingItem instance).
|
288
325
|
# If _notify_ is +true+, a +SEL_INSERTED+ message is sent to the list's message
|
289
326
|
# target after the item is added.
|
290
|
-
def
|
327
|
+
def prependItem(father, text, oi=nil, ci=nil, ptr=nil, notify=false); end
|
291
328
|
|
292
|
-
#
|
293
|
-
|
294
|
-
#
|
295
|
-
def reparentItem(item, parentItem); end
|
296
|
-
|
297
|
-
#
|
298
|
-
# Move _item_ before _otherItem_ and return a reference to the moved _item_.
|
299
|
-
#
|
300
|
-
def moveItemBefore(otherItem, item); end
|
301
|
-
|
302
|
-
#
|
303
|
-
# Move _item_ after _otherItem_ and return a reference to the moved _item_.
|
304
|
-
#
|
305
|
-
def moveItemAfter(otherItem, item); end
|
329
|
+
# Move _item_ under _father_ before _other_ item.
|
330
|
+
def moveItem(other, father, item); end
|
306
331
|
|
307
332
|
# Remove item.
|
308
333
|
# If _notify_ is +true+, a +SEL_DELETED+ message is sent to the list's message
|
@@ -325,10 +350,25 @@ module Fox
|
|
325
350
|
# Return item height
|
326
351
|
def getItemHeight(item); end
|
327
352
|
|
328
|
-
# Search items
|
329
|
-
#
|
330
|
-
#
|
331
|
-
|
353
|
+
# Search items by name, beginning from item _start_. If the start item
|
354
|
+
# is +nil+ the search will start at the first, top-most item in the list.
|
355
|
+
# Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control the search
|
356
|
+
# direction; this can be combined with +SEARCH_NOWRAP+ or +SEARCH_WRAP+
|
357
|
+
# to control whether the search wraps at the start or end of the list.
|
358
|
+
# The option +SEARCH_IGNORECASE+ causes a case-insensitive match. Finally,
|
359
|
+
# passing +SEARCH_PREFIX+ causes searching for a prefix of the item name.
|
360
|
+
# Returns +nil+ if no matching item is found.
|
361
|
+
def findItem(text, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
362
|
+
|
363
|
+
# Search items by associated user data, beginning from item _start_. If the start item
|
364
|
+
# is +nil+ the search will start at the first, top-most item in the list.
|
365
|
+
# Flags may be +SEARCH_FORWARD+ or +SEARCH_BACKWARD+ to control the search
|
366
|
+
# direction; this can be combined with +SEARCH_NOWRAP+ or +SEARCH_WRAP+
|
367
|
+
# to control whether the search wraps at the start or end of the list.
|
368
|
+
# The option +SEARCH_IGNORECASE+ causes a case-insensitive match. Finally,
|
369
|
+
# passing +SEARCH_PREFIX+ causes searching for a prefix of the item name.
|
370
|
+
# Returns +nil+ if no matching item is found.
|
371
|
+
def findItemByData(ptr, start=nil, flags=SEARCH_FORWARD|SEARCH_WRAP); end
|
332
372
|
|
333
373
|
# Scroll the list to make _item_ visible
|
334
374
|
def makeItemVisible(item); end
|
@@ -339,14 +379,16 @@ module Fox
|
|
339
379
|
# Return item's text
|
340
380
|
def getItemText(item); end
|
341
381
|
|
342
|
-
# Change item's open icon
|
343
|
-
|
382
|
+
# Change item's open icon, deleting old icon if it was owned.
|
383
|
+
# If _owned_ is +true+, mark _icn_ as owned by this folding item.
|
384
|
+
def setItemOpenIcon(item, icn, owned=false); end
|
344
385
|
|
345
386
|
# Return item's open icon
|
346
387
|
def getItemOpenIcon(item); end
|
347
388
|
|
348
|
-
# Change item's closed icon
|
349
|
-
|
389
|
+
# Change item's closed icon, deleting old icon if it was owned.
|
390
|
+
# If _owned_ is +true+, mark _icn_ as owned by this folding item.
|
391
|
+
def setItemClosedIcon(item, icn, owned=false); end
|
350
392
|
|
351
393
|
# Return item's closed icon
|
352
394
|
def getItemClosedIcon(item); end
|