Sha256: 5930451d400558a3918e1e3810d288aebb6373dc4b54e1ba65be534665d8204a

Contents?: true

Size: 1.29 KB

Versions: 37

Compression:

Stored size: 1.29 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, width=500, height=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

37 entries across 37 versions & 2 rubygems

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