Sha256: 17f4b8fc3b4b8fa5fc0c84bc9a76de564fce88ff359a07b2c54148fdf3551247

Contents?: true

Size: 1.79 KB

Versions: 37

Compression:

Stored size: 1.79 KB

Contents

module Fox
  #
  # The FXDirSelector widget is the reusable mega-widget component which
  # is the core of the FXDirDialog.  The function of the directory selector widget
  # is very similar to the file selector widget, except that the directory selector widget
  # displays a tree-structured view of the file system, and thereby makes up and down
  # navigation through the file system significantly easier.
  #
  # === Message identifiers
  #
  # +ID_DIRNAME+::	x
  # +ID_DIRLIST+::	x
  # +ID_HOME+::		x
  # +ID_WORK+::		x
  # +ID_DIRECTORY_UP+::	x
  # +ID_BOOKMARK+::	x
  # +ID_VISIT+::	x
  # +ID_NEW+::		x
  # +ID_DELETE+::	x
  # +ID_MOVE+::		x
  # +ID_COPY+::		x
  # +ID_LINK+::		x
  #
  class FXDirSelector < FXPacker
  
    # The "Accept" button [FXButton]
    attr_reader :acceptButton
    
    # The "Cancel" button [FXButton]
    attr_reader :cancelButton
    
    # 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

    # Return an initialized FXDirSelector instance
    def initialize(p, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theDirSelector
    end

    # Return +true+ if showing files as well as directories
    def filesShown?; end
    
    #
    # If _state_ is +true+, the directory selector 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 selector will show hidden files and
    # directories; otherwise, it won't.
    #
    def hiddenFilesShown=(state); end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

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