Sha256: 6ab989f08402aab826d097dd662729f7a7d62dc13018d30104a3c0d204487df5

Contents?: true

Size: 1.75 KB

Versions: 37

Compression:

Stored size: 1.75 KB

Contents

module Fox
  #
  # An FXWizard widget guides the user through a number of panels
  # in a predefined sequence; each step must be completed before
  # moving on to the next step.
  # For example, an FXWizard may be used to install software components,
  # and ask various questions at each step in the installation.
  #
  # === Message identifiers
  #
  # +ID_NEXT+::		Move to the next panel in the wizard
  # +ID_BACK+::		Move to the previous panel in the wizard
  #
  class FXWizard < FXDialogBox
  
    # The button frame [FXHorizontalFrame]
    attr_reader :buttonFrame
    
    # The "Advance" button [FXButton]
    attr_reader :advanceButton
    
    # The "Retreat" button [FXButton]
    attr_reader :retreatButton
    
    # The "Finish" button [FXButton]
    attr_reader :finishButton
    
    # The "Cancel" button [FXButton]
    attr_reader :cancelButton
    
    # The container used as parent for the sub-panels [FXSwitcher]
    attr_reader :container
    
    # The image being displayed [FXImage]
    attr_accessor :image
    
    #
    # Return an initialized FXWizard instance.
    # If _owner_ is a window, the dialog box will float over that window.
    # If _owner_ is the application, the dialog box will be free-floating.
    #
    def initialize(owner, name, image, opts=DECOR_TITLE|DECOR_BORDER|DECOR_RESIZE, x=0, y=0, width=0, height=0, padLeft=10, padRight=10, padTop=10, padBottom=10, hSpacing=10, vSpacing=10) # :yields: theWizard
    end

    # Return the number of panels.
    def numPanels; end

    #
    # Bring the child window at _index_ to the top.
    # Raises IndexError if _index_ is out of bounds.
    #
    def currentPanel=(index); end

    #
    # Return the index of the child window currently on top.
    #
    def currentPanel; end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
fxruby-1.6.22.pre2-x86-mingw32 rdoc-sources/FXWizard.rb
fxruby-1.6.22.pre2 rdoc-sources/FXWizard.rb
fxrubi-1.6.22.pre1-x86-mingw32 rdoc-sources/FXWizard.rb
fxrubi-1.6.22.pre1 rdoc-sources/FXWizard.rb
fxruby-1.6.20-x86-mingw32 rdoc-sources/FXWizard.rb
fxruby-1.6.20-x86-linux rdoc-sources/FXWizard.rb
fxruby-1.6.20 rdoc-sources/FXWizard.rb
fxruby-1.6.20-universal-darwin-10 rdoc-sources/FXWizard.rb
fxruby-1.6.19-x86-mingw32 rdoc-sources/FXWizard.rb
fxruby-1.6.14-mswin32 rdoc-sources/FXWizard.rb
fxruby-1.6.13-mswin32 rdoc-sources/FXWizard.rb
fxruby-1.6.11 rdoc-sources/FXWizard.rb
fxruby-1.6.10 rdoc-sources/FXWizard.rb
fxruby-1.6.12 rdoc-sources/FXWizard.rb
fxruby-1.6.13 rdoc-sources/FXWizard.rb
fxruby-1.6.14-universal-darwin-9 rdoc-sources/FXWizard.rb
fxruby-1.6.14 rdoc-sources/FXWizard.rb
fxruby-1.6.15-universal-darwin-9 rdoc-sources/FXWizard.rb
fxruby-1.6.15 rdoc-sources/FXWizard.rb
fxruby-1.6.15-x86-mswin32-60 rdoc-sources/FXWizard.rb