fxruby 1.2.6 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- 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/lib/{fox12 → fox14}/core.rb
RENAMED
@@ -1,31 +1,5 @@
|
|
1
1
|
module Fox
|
2
2
|
|
3
|
-
class FXCheckButton
|
4
|
-
#
|
5
|
-
# Return +true+ if the check state for this check button is +TRUE+,
|
6
|
-
# or +false+ if the check state is either +FALSE+ or +MAYBE+.
|
7
|
-
#
|
8
|
-
def checked?
|
9
|
-
self.check == TRUE
|
10
|
-
end
|
11
|
-
|
12
|
-
#
|
13
|
-
# Return +true+ if the check state for this check button is +FALSE+,
|
14
|
-
# or +false+ if the check state is either +TRUE+ or +MAYBE+.
|
15
|
-
#
|
16
|
-
def unchecked?
|
17
|
-
self.check == FALSE
|
18
|
-
end
|
19
|
-
|
20
|
-
#
|
21
|
-
# Return +true+ if the check state for this check button is +MAYBE+,
|
22
|
-
# or +false+ if the check state is either +TRUE+ or +FALSE+.
|
23
|
-
#
|
24
|
-
def maybe?
|
25
|
-
self.check == MAYBE
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
3
|
class FXIconItem
|
30
4
|
def <=>(otherItem)
|
31
5
|
text <=> otherItem.text
|
@@ -43,6 +17,44 @@ module Fox
|
|
43
17
|
text <=> otherItem.text
|
44
18
|
end
|
45
19
|
end
|
20
|
+
|
21
|
+
class FXTreeList
|
22
|
+
def addItemFirst(*args) # :nodoc:
|
23
|
+
warn "addItemFirst() is deprecated; use prependItem() instead"
|
24
|
+
prependItem(*args)
|
25
|
+
end
|
26
|
+
def addItemLast(*args) # :nodoc:
|
27
|
+
warn "addItemLast() is deprecated; use appendItem() instead"
|
28
|
+
appendItem(*args)
|
29
|
+
end
|
30
|
+
def addItemAfter(other, *args) # :nodoc:
|
31
|
+
warn "addItemAfter() is deprecated; use insertItem() instead"
|
32
|
+
insertItem(other.next, other.parent, *args)
|
33
|
+
end
|
34
|
+
def addItemBefore(other, *args) # :nodoc:
|
35
|
+
warn "addItemBefore() is deprecated; use insertItem() instead"
|
36
|
+
insertItem(other, other.parent, *args)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
class FXTreeListBox
|
41
|
+
def addItemFirst(*args) # :nodoc:
|
42
|
+
warn "addItemFirst() is deprecated; use prependItem() instead"
|
43
|
+
prependItem(*args)
|
44
|
+
end
|
45
|
+
def addItemLast(*args) # :nodoc:
|
46
|
+
warn "addItemLast() is deprecated; use appendItem() instead"
|
47
|
+
appendItem(*args)
|
48
|
+
end
|
49
|
+
def addItemAfter(other, *args) # :nodoc:
|
50
|
+
warn "addItemAfter() is deprecated; use insertItem() instead"
|
51
|
+
insertItem(other.next, other.parent, *args)
|
52
|
+
end
|
53
|
+
def addItemBefore(other, *args) # :nodoc:
|
54
|
+
warn "addItemBefore() is deprecated; use insertItem() instead"
|
55
|
+
insertItem(other, other.parent, *args)
|
56
|
+
end
|
57
|
+
end
|
46
58
|
|
47
59
|
class FXDataTarget
|
48
60
|
#
|
@@ -92,32 +104,6 @@ module Fox
|
|
92
104
|
end
|
93
105
|
end
|
94
106
|
|
95
|
-
class FXMenuCheck
|
96
|
-
#
|
97
|
-
# Return +true+ if the check state for this menu check item is +TRUE+,
|
98
|
-
# or +false+ if the check state is either +FALSE+ or +MAYBE+.
|
99
|
-
#
|
100
|
-
def checked?
|
101
|
-
self.check == TRUE
|
102
|
-
end
|
103
|
-
|
104
|
-
#
|
105
|
-
# Return +true+ if the check state for this menu check item is +FALSE+,
|
106
|
-
# or +false+ if the check state is either +TRUE+ or +MAYBE+.
|
107
|
-
#
|
108
|
-
def unchecked?
|
109
|
-
self.check == FALSE
|
110
|
-
end
|
111
|
-
|
112
|
-
#
|
113
|
-
# Return +true+ if the check state for this menu check item is +MAYBE+,
|
114
|
-
# or +false+ if the check state is either +TRUE+ or +FALSE+.
|
115
|
-
#
|
116
|
-
def maybe?
|
117
|
-
self.check == MAYBE
|
118
|
-
end
|
119
|
-
end
|
120
|
-
|
121
107
|
class FXScrollArea
|
122
108
|
# Returns a reference to the scroll corner (an FXScrollCorner instance) for this window.
|
123
109
|
def scrollCorner
|
@@ -143,6 +129,58 @@ module Fox
|
|
143
129
|
end
|
144
130
|
end
|
145
131
|
|
132
|
+
class FXVec2d
|
133
|
+
# Convert to array
|
134
|
+
def to_a
|
135
|
+
[x, y]
|
136
|
+
end
|
137
|
+
|
138
|
+
# Convert to string
|
139
|
+
def to_s
|
140
|
+
to_a.to_s
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
class FXVec2f
|
145
|
+
# Convert to array
|
146
|
+
def to_a; [x, y]; end
|
147
|
+
|
148
|
+
# Convert to string
|
149
|
+
def to_s; to_a.to_s; end
|
150
|
+
end
|
151
|
+
|
152
|
+
class FXVec3d
|
153
|
+
# Convert to array
|
154
|
+
def to_a; [x, y, z]; end
|
155
|
+
|
156
|
+
# Convert to string
|
157
|
+
def to_s; to_a.to_s; end
|
158
|
+
end
|
159
|
+
|
160
|
+
class FXVec3f
|
161
|
+
# Convert to array
|
162
|
+
def to_a; [x, y, z]; end
|
163
|
+
|
164
|
+
# Convert to string
|
165
|
+
def to_s; to_a.to_s; end
|
166
|
+
end
|
167
|
+
|
168
|
+
class FXVec4d
|
169
|
+
# Convert to array
|
170
|
+
def to_a; [x, y, z, w]; end
|
171
|
+
|
172
|
+
# Convert to string
|
173
|
+
def to_s; to_a.to_s; end
|
174
|
+
end
|
175
|
+
|
176
|
+
class FXVec4f
|
177
|
+
# Convert to array
|
178
|
+
def to_a; [x, y, z, w]; end
|
179
|
+
|
180
|
+
# Convert to string
|
181
|
+
def to_s; to_a.to_s; end
|
182
|
+
end
|
183
|
+
|
146
184
|
class FXWindow
|
147
185
|
#
|
148
186
|
# Iterate over the child windows for this window.
|
@@ -154,6 +192,26 @@ module Fox
|
|
154
192
|
child = child.next
|
155
193
|
end
|
156
194
|
end
|
195
|
+
|
196
|
+
# Return +true+ if this window (self) comes before sibling window _other_.
|
197
|
+
def before?(other)
|
198
|
+
FXWindow.before?(other)
|
199
|
+
end
|
200
|
+
|
201
|
+
# Return +true+ if this window (_self_) comes after sibling window _other_,
|
202
|
+
def after?(other)
|
203
|
+
FXWindow.after?(other)
|
204
|
+
end
|
205
|
+
|
206
|
+
# Relink this window before sibling window _other_, in the parent's window list.
|
207
|
+
def linkBefore(other)
|
208
|
+
reparent(self.parent, other)
|
209
|
+
end
|
210
|
+
|
211
|
+
# Relink this window after sibling window _other_, in the parent's window list.
|
212
|
+
def linkAfter(other)
|
213
|
+
reparent(self.parent, other.next)
|
214
|
+
end
|
157
215
|
end
|
158
216
|
|
159
217
|
#
|
@@ -296,6 +354,22 @@ module Fox
|
|
296
354
|
fillArc(x-r, y-r, 2*r, 2*r, 0, 360*64)
|
297
355
|
end
|
298
356
|
end
|
357
|
+
|
358
|
+
def FXDockBar
|
359
|
+
#
|
360
|
+
# Return +true+ if _side_ is an allowed side.
|
361
|
+
#
|
362
|
+
def allowedSide?(side)
|
363
|
+
(allowedSides & side) != 0
|
364
|
+
end
|
365
|
+
|
366
|
+
#
|
367
|
+
# Add _side_ as an allowed side.
|
368
|
+
#
|
369
|
+
def allowSide(side)
|
370
|
+
self.allowedSides = allowedSides & side
|
371
|
+
end
|
372
|
+
end
|
299
373
|
|
300
374
|
class FXHVec
|
301
375
|
def normalize!
|
data/lib/{fox12 → fox14}/dict.rb
RENAMED
File without changes
|
File without changes
|
data/lib/{fox12 → fox14}/irb.rb
RENAMED
data/lib/{fox12 → fox14}/keys.rb
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'fox14/responder'
|
2
2
|
|
3
3
|
module Fox
|
4
4
|
|
@@ -116,7 +116,7 @@ module Fox
|
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
-
require '
|
120
|
-
require '
|
121
|
-
require '
|
122
|
-
require '
|
119
|
+
require 'fox14/timeout'
|
120
|
+
require 'fox14/chore'
|
121
|
+
require 'fox14/signal'
|
122
|
+
require 'fox14/input'
|
File without changes
|
File without changes
|
@@ -0,0 +1,48 @@
|
|
1
|
+
module Fox
|
2
|
+
#
|
3
|
+
# Seven-segment (eg LCD/watch style) widget, useful for making
|
4
|
+
# indicators and timers. Besides numbers, the seven-segment
|
5
|
+
# display widget can also display some letters and punctuations.
|
6
|
+
#
|
7
|
+
# === 7 Segment styles
|
8
|
+
#
|
9
|
+
# +SEVENSEGMENT_NORMAL+:: Draw segments normally
|
10
|
+
# +SEVENSEGMENT_SHADOW+:: Draw shadow under the segments
|
11
|
+
#
|
12
|
+
class FX7Segment < FXFrame
|
13
|
+
# The text for this label [String]
|
14
|
+
attr_accessor :text
|
15
|
+
|
16
|
+
# The text color [FXColor]
|
17
|
+
attr_accessor :textColor
|
18
|
+
|
19
|
+
# Cell width, in pixels [Integer]
|
20
|
+
attr_accessor :cellWidth
|
21
|
+
|
22
|
+
# Cell height, in pixels [Integer]
|
23
|
+
attr_accessor :cellHeight
|
24
|
+
|
25
|
+
# Segment thickness, in pixels [Integer]
|
26
|
+
attr_accessor :thickness
|
27
|
+
|
28
|
+
# Current text-justification mode [Integer]
|
29
|
+
attr_accessor :justify
|
30
|
+
|
31
|
+
# Create a seven segment display
|
32
|
+
def initialize(p, text, opts=SEVENSEGMENT_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=DEFAULT_PAD) # :yields: the7Segment
|
33
|
+
end
|
34
|
+
|
35
|
+
#
|
36
|
+
# Change 7 segment style, where _style_ is either +SEVENSEGMENT_NORMAL+ or
|
37
|
+
# +SEVENSEGMENT_SHADOW+.
|
38
|
+
#
|
39
|
+
def set7SegmentStyle(style); end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Return the current 7 segment style, which is either +SEVENSEGMENT_NORMAL+
|
43
|
+
# or +SEVENSEGMENT_SHADOW+.
|
44
|
+
#
|
45
|
+
def get7SegmentStyle(); end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
data/rdoc-sources/FXApp.rb
CHANGED
@@ -191,6 +191,12 @@ module Fox
|
|
191
191
|
|
192
192
|
# Default background color for tooltips [FXColor]
|
193
193
|
attr_accessor :tipbackColor
|
194
|
+
|
195
|
+
# Default text color for selected menu items [FXColor]
|
196
|
+
attr_accessor :selMenuTextColor
|
197
|
+
|
198
|
+
# Default background color for selected menu items [FXColor]
|
199
|
+
attr_accessor :selMenuBackColor
|
194
200
|
|
195
201
|
# Default visual [FXVisual]
|
196
202
|
attr_accessor :defaultVisual
|
@@ -205,7 +211,7 @@ module Fox
|
|
205
211
|
attr_reader :monoVisual
|
206
212
|
|
207
213
|
# Root window [FXRootWindow]
|
208
|
-
attr_reader :
|
214
|
+
attr_reader :rootWindow
|
209
215
|
|
210
216
|
# The window under the cursor, if any [FXWindow]
|
211
217
|
attr_reader :cursorWindow
|
@@ -222,9 +228,6 @@ module Fox
|
|
222
228
|
# Mode of current modal loop [Integer]
|
223
229
|
attr_reader :modalModality
|
224
230
|
|
225
|
-
# Registry for this application [FXRegistry]
|
226
|
-
attr_reader :reg
|
227
|
-
|
228
231
|
# Typing speed used for the FXIconList, FXList and FXTreeList widgets' lookup features,
|
229
232
|
# in milliseconds. Default value is 1000 milliseconds.
|
230
233
|
attr_accessor :typingSpeed
|
@@ -267,7 +270,8 @@ module Fox
|
|
267
270
|
|
268
271
|
#
|
269
272
|
# Construct application object; the _appName_ and _vendorName_ strings are used
|
270
|
-
# as keys into the registry database for this application's settings
|
273
|
+
# as keys into the registry database for this application's settings.
|
274
|
+
# Only one single application object can be constructed.
|
271
275
|
#
|
272
276
|
def initialize(appName="Application", vendorName="FoxDefault") # :yields: theApp
|
273
277
|
end
|
@@ -295,6 +299,7 @@ module Fox
|
|
295
299
|
# +ms+:: timeout interval, in milliseconds [Integer]
|
296
300
|
# +tgt+:: target object for the timeout [FXObject]
|
297
301
|
# +sel+:: message identifier for the timeout [Integer]
|
302
|
+
# +ptr+:: user data [Object]
|
298
303
|
#
|
299
304
|
def addTimeout(ms, tgt, sel, ptr=nil) ; end
|
300
305
|
|
@@ -308,15 +313,6 @@ module Fox
|
|
308
313
|
#
|
309
314
|
def removeTimeout(tgt, sel); end
|
310
315
|
|
311
|
-
#
|
312
|
-
# Remove timeout identified by _timer_; returns +nil+.
|
313
|
-
#
|
314
|
-
# ==== Parameters:
|
315
|
-
#
|
316
|
-
# +timer+:: timer record originally returned by #addTimeout [FXTimer]
|
317
|
-
#
|
318
|
-
def removeTimeout(timer) ; end
|
319
|
-
|
320
316
|
#
|
321
317
|
# Return +true+ if given timeout has been set, otherwise return +false+.
|
322
318
|
#
|
@@ -340,16 +336,10 @@ module Fox
|
|
340
336
|
def remainingTimeout(tgt, sel); end
|
341
337
|
|
342
338
|
#
|
343
|
-
#
|
344
|
-
# If the timer is past due, zero is returned. If there is no such
|
345
|
-
# timer, infinity (UINT_MAX) is returned.
|
346
|
-
#
|
347
|
-
# ==== Parameters:
|
348
|
-
#
|
349
|
-
# +timer+:: a reference to the timer originally returned by the call to addTimeout [FXTimer]
|
339
|
+
# Process any timeouts due at this time.
|
350
340
|
#
|
351
|
-
def
|
352
|
-
|
341
|
+
def handleTimeouts(); end
|
342
|
+
|
353
343
|
#
|
354
344
|
# Add a idle processing message to be sent to target object when
|
355
345
|
# the system becomes idle, i.e. there are no events to be processed.
|
@@ -360,15 +350,10 @@ module Fox
|
|
360
350
|
def addChore(tgt, sel, ptr=nil) ; end
|
361
351
|
|
362
352
|
#
|
363
|
-
# Remove idle processing message identified by _tgt_ and _sel_
|
353
|
+
# Remove idle processing message identified by _tgt_ and _sel_.
|
364
354
|
#
|
365
355
|
def removeChore(tgt, sel); end
|
366
356
|
|
367
|
-
#
|
368
|
-
# Remove idle processing message identified by _chore_; returns +nil+.
|
369
|
-
#
|
370
|
-
def removeChore(chore) ; end
|
371
|
-
|
372
357
|
#
|
373
358
|
# Return +true+ if given chore has been set, otherwise return +false+.
|
374
359
|
#
|
@@ -379,18 +364,24 @@ module Fox
|
|
379
364
|
#
|
380
365
|
def hasChore?(tgt, sel); end
|
381
366
|
|
367
|
+
#
|
382
368
|
# Add signal processing message to be sent to target object when
|
383
369
|
# the signal _sig_ is raised; flags are to be set as per POSIX definitions.
|
384
370
|
# When _immediate_ is +true+, the message will be sent to the target right away;
|
385
371
|
# this should be used with extreme care as the application is interrupted
|
386
372
|
# at an unknown point in its execution.
|
373
|
+
#
|
387
374
|
def addSignal(sig, tgt, sel, immediate=false, flags=0) ; end
|
388
375
|
|
389
|
-
#
|
376
|
+
#
|
377
|
+
# Remove signal message for signal _sig_.
|
378
|
+
#
|
390
379
|
def removeSignal(sig) ; end
|
391
380
|
|
381
|
+
#
|
392
382
|
# Remove input message and target object for the specified file descriptor
|
393
383
|
# and mode, which is a bitwise OR of (+INPUT_READ+, +INPUT_WRITE+, +INPUT_EXCEPT+).
|
384
|
+
#
|
394
385
|
def removeInput(fd, mode) ; end
|
395
386
|
|
396
387
|
# Create application's windows
|
@@ -402,7 +393,14 @@ module Fox
|
|
402
393
|
# Detach application's windows
|
403
394
|
def detach() ; end
|
404
395
|
|
405
|
-
#
|
396
|
+
#
|
397
|
+
# Return key state (either +true+ or +false+) for _keysym_.
|
398
|
+
#
|
399
|
+
def getKeyState(keysym); end
|
400
|
+
|
401
|
+
#
|
402
|
+
# Peek to determine if there's an event.
|
403
|
+
#
|
406
404
|
def peekEvent(); end
|
407
405
|
|
408
406
|
# Perform one event dispatch; return +true+ if event was dispatched.
|
@@ -483,6 +481,14 @@ module Fox
|
|
483
481
|
# On return all the applications windows have been painted.
|
484
482
|
def repaint(); end
|
485
483
|
|
484
|
+
#
|
485
|
+
# Return a reference to the registry (an FXRegistry instance).
|
486
|
+
# The registry keeps settings and configuration information for an application,
|
487
|
+
# which are automatically loaded when the application starts
|
488
|
+
# up, and saved when the application terminates.
|
489
|
+
#
|
490
|
+
def reg; end
|
491
|
+
|
486
492
|
# Initialize application.
|
487
493
|
# Parses and removes common command line arguments, reads the registry.
|
488
494
|
# Finally, if _connect_ is +true+, it opens the display.
|
@@ -542,6 +548,20 @@ module Fox
|
|
542
548
|
#
|
543
549
|
def setDefaultCursor(which, cursor); end
|
544
550
|
|
551
|
+
#
|
552
|
+
# Return a reference to the application-wide mutex (an FXMutex instance).
|
553
|
+
# Normally, the main user interface thread holds this mutex,
|
554
|
+
# insuring that no other threads are modifying data during the
|
555
|
+
# processing of user interface messages. However, whenever the
|
556
|
+
# main user interface thread blocks for messages, it releases
|
557
|
+
# this mutex, to allow other threads to modify the same data.
|
558
|
+
# When a new message becomes available, the main user interface
|
559
|
+
# thread regains the mutex prior to dispatching the message.
|
560
|
+
# Other threads should hold this mutex only for short durations,
|
561
|
+
# so as to not starve the main user interface thread.
|
562
|
+
#
|
563
|
+
def mutex(); end
|
564
|
+
|
545
565
|
# Dump widget information
|
546
566
|
def dumpWidgets() ; end
|
547
567
|
|