Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
FX4Splitter.rb
FX7Segment.rb
FXAccelTable.rb
FXApp.rb
FXArrowButton.rb
FXBMPIcon.rb
FXBMPImage.rb
FXBitmap.rb
FXBitmapFrame.rb
FXBitmapView.rb
FXButton.rb
FXCURCursor.rb
FXCanvas.rb
FXCheckButton.rb
FXChoiceBox.rb
FXColorBar.rb
FXColorDialog.rb
FXColorList.rb
FXColorRing.rb
FXColorSelector.rb
FXColorWell.rb
FXColorWheel.rb
FXComboBox.rb
FXComposite.rb
FXCursor.rb
FXDC.rb
FXDCPrint.rb
FXDCWindow.rb
FXDataTarget.rb
FXDebugTarget.rb
FXDelegator.rb
FXDial.rb
FXDialogBox.rb
FXDict.rb
FXDirBox.rb
FXDirDialog.rb
FXDirList.rb
FXDirSelector.rb
FXDockBar.rb
FXDockHandler.rb
FXDockSite.rb
FXDockTitle.rb
FXDocument.rb
FXDragCorner.rb
FXDrawable.rb
FXDriveBox.rb
FXExtentd.rb
FXExtentf.rb
FXFileDialog.rb
FXFileDict.rb
FXFileList.rb
FXFileSelector.rb
FXFileStream.rb
FXFoldingList.rb
FXFont.rb
FXFontDialog.rb
FXFontSelector.rb
FXFrame.rb
FXGIFCursor.rb
FXGIFIcon.rb
FXGIFImage.rb
FXGLCanvas.rb
FXGLContext.rb
FXGLObject.rb
FXGLShape.rb
FXGLViewer.rb
FXGLVisual.rb
FXGradientBar.rb
FXGroupBox.rb
FXHeader.rb
FXHorizontalFrame.rb
FXICOIcon.rb
FXICOImage.rb
FXIcon.rb
FXIconDict.rb
FXIconList.rb
FXIconSource.rb
FXId.rb
FXImage.rb
FXImageFrame.rb
FXImageView.rb
FXInputDialog.rb
FXJPGIcon.rb
FXJPGImage.rb
FXKnob.rb
FXLabel.rb
FXList.rb
FXListBox.rb
FXMDIButton.rb
FXMDIChild.rb
FXMDIClient.rb
FXMainWindow.rb
FXMatrix.rb
FXMemoryBuffer.rb
FXMemoryStream.rb
FXMenuBar.rb
FXMenuButton.rb
FXMenuCaption.rb
FXMenuCascade.rb
FXMenuCheck.rb
FXMenuCommand.rb
FXMenuPane.rb
FXMenuRadio.rb
FXMenuSeparator.rb
FXMenuTitle.rb
FXMessageBox.rb
FXObject.rb
FXOptionMenu.rb
FXPCXIcon.rb
FXPCXImage.rb
FXPNGIcon.rb
FXPNGImage.rb
FXPPMIcon.rb
FXPPMImage.rb
FXPacker.rb
FXPicker.rb
FXPopup.rb
FXPrintDialog.rb
FXProgressBar.rb
FXProgressDialog.rb
FXQuatd.rb
FXQuatf.rb
FXRGBIcon.rb
FXRGBImage.rb
FXRadioButton.rb
FXRanged.rb
FXRangef.rb
FXRealSlider.rb
FXRealSpinner.rb
FXRecentFiles.rb
FXRectangle.rb
FXRegion.rb
FXRegistry.rb
FXReplaceDialog.rb
FXRootWindow.rb
FXRuler.rb
FXRulerView.rb
FXScintilla.rb
FXScrollArea.rb
FXScrollBar.rb
FXScrollPane.rb
FXScrollWindow.rb
FXSearchDialog.rb
FXSeparator.rb
FXSettings.rb
FXShell.rb
FXShutter.rb
FXSize.rb
FXSlider.rb
FXSphered.rb
FXSpheref.rb
FXSpinner.rb
FXSplashWindow.rb
FXSplitter.rb
FXSpring.rb
FXStatusBar.rb
FXStatusLine.rb
FXStream.rb
FXStringDict.rb
FXSwitcher.rb
FXTGAIcon.rb
FXTGAImage.rb
FXTIFIcon.rb
FXTIFImage.rb
FXTabBar.rb
FXTabBook.rb
FXTabItem.rb
FXTable.rb
FXText.rb
FXTextField.rb
FXToggleButton.rb
FXToolBar.rb
FXToolBarGrip.rb
FXToolBarShell.rb
FXToolBarTab.rb
FXToolTip.rb
FXTopWindow.rb
FXTranslator.rb
FXTreeList.rb
FXTreeListBox.rb
FXTriStateButton.rb
FXVec2d.rb
FXVec2f.rb
FXVec3d.rb
FXVec3f.rb
FXVec4d.rb
FXVec4f.rb
FXVerticalFrame.rb
FXVisual.rb
FXWindow.rb
FXWizard.rb
FXXBMIcon.rb
FXXBMImage.rb
FXXPMIcon.rb
FXXPMImage.rb
Makefile
README.rdoc
fxdefs.rb

README.rdoc

Introduction

This is the RDoc-generated API documentation for FXRuby version 1.6. If you have some constructive comments about the content, format or presentation, please do send those to me (at lyle@rubyforge.org).

Page layout

The page layout is roughly the same for every class. The page begins with a brief description of the class and is then followed by one or more of the following sections:

Attributes

This section lists the names of all the attributes for this widget. As with all Ruby object “attributes”, these are actually just the names of instance methods for the class, but it is nevertheless natural to think of these as attributes (or properties) of the widget. Most attributes are both readable and writeable, but some are only read-only, so be sure to check the attributes listing within the main class documentation section to be sure.

Events

This section lists the types for all of the messages that this widget might send to its message target, and the circumstances under which those messages are sent. When it's important, the message data associated with that event is also described.

Options

Most widgets have one or more options that affect their appearance or behavior. These options can be passed into the class's new method when the object is first instantiated. They can usually also be changed after the object exists via some object-specific accessor method. For example, the options for an FXButton can be get or set via the FXButton#buttonStyle accessor methods.

Where's the code?

One difference you may notice from documentation generated for other Ruby extensions is that there's no source code attached to the instance methods when you click on them (i.e. they will appear to be empty method definitions). That's because most of these functions are in fact implemented in C++ code (since FXRuby is itself a C++ extension to Ruby).

TODO

A few notes and suggestions from Hugh Sasse:

  • It may help to add information about what happens when block_given?() is true or false, i.e. does this affect the return value for a method?

  • In lieu of (or in addition) to short code examples embedded in the API documentation, links to examples that are shipped with FXRuby might be good.


The HTML pages for this documentation were generated using RDoc (rdoc.sourceforge.net).

Something went wrong with that request. Please try again.