Sha256: e17bb3299af2017b5334fca5db4da7a4197501e51bca39fe35e7feeb6ad13aea

Contents?: true

Size: 1.43 KB

Versions: 11

Compression:

Stored size: 1.43 KB

Contents

module Fox
  #
  # Directory selection dialog
  #
  class FXDirDialog < FXDialogBox
  
    # Directory [String]
    attr_accessor :directory
    
    # Wildcard matching mode, some combination of file matching flags [Integer]
    attr_accessor :matchMode
    
    # Directory list style [Integer]
    attr_accessor :dirBoxStyle
    
    # Returns an initialized FXDirDialog instance.
    def initialize(owner, name, opts=0, x=0, y=0, w=500, h=300) # :yields: theDirDialog
    end

    # Returns a free-floating initialized FXDirDialog instance.
    def initialize(app, name, opts=0, x=0, y=0, w=500, h=300) # :yields: theDirDialog
    end

    # Return +true+ if showing files as well as directories
    def filesShown?; end
    
    #
    # If _state_ is +true+, the directory list will show files as well as
    # directories; otherwise, it will only show directories.
    #
    def filesShown=(state); end
  
    # Return +true+ if showing hidden files and directories
    def hiddenFilesShown?; end
    
    #
    # If _state_ is +true+, the directory list will show hidden files and
    # directories; otherwise, it won't.
    #
    def hiddenFilesShown=(state); end

    #
    # Display a directory dialog with the specified owner window, caption
    # string and initial path string.
    # Return the selected directory name (a string) or +nil+ if the dialog
    # was cancelled.
    #
    def FXDirDialog.getOpenDirectory(owner, caption, path); end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fxruby-1.4.0 rdoc-sources/FXDirDialog.rb
fxruby-1.4.1 rdoc-sources/FXDirDialog.rb
fxruby-1.4.2 rdoc-sources/FXDirDialog.rb
fxruby-1.4.3 rdoc-sources/FXDirDialog.rb
fxruby-1.4.4 rdoc-sources/FXDirDialog.rb
fxruby-1.4.5 rdoc-sources/FXDirDialog.rb
fxruby-1.4.6 rdoc-sources/FXDirDialog.rb
fxruby-1.4.7 rdoc-sources/FXDirDialog.rb
fxruby-1.6.0 rdoc-sources/FXDirDialog.rb
fxruby-1.6.1 rdoc-sources/FXDirDialog.rb
fxruby-1.6.2 rdoc-sources/FXDirDialog.rb