Sha256: ad9b621ec0a09571927f59c96fe3f12eaacb7d8b96e97dfc4001551332435c18

Contents?: true

Size: 1.26 KB

Versions: 100

Compression:

Stored size: 1.26 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

100 entries across 100 versions & 1 rubygems

Version Path
fxruby-1.6.48 rdoc-sources/FXDirDialog.rb
fxruby-1.6.48-x64-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.48-x64-mingw-ucrt rdoc-sources/FXDirDialog.rb
fxruby-1.6.48-x86-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.47 rdoc-sources/FXDirDialog.rb
fxruby-1.6.47-x64-mingw-ucrt rdoc-sources/FXDirDialog.rb
fxruby-1.6.47-x64-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.47-x86-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.46 rdoc-sources/FXDirDialog.rb
fxruby-1.6.46-x64-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.46-x64-mingw-ucrt rdoc-sources/FXDirDialog.rb
fxruby-1.6.46-x86-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.45 rdoc-sources/FXDirDialog.rb
fxruby-1.6.45-x64-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.45-x64-mingw-ucrt rdoc-sources/FXDirDialog.rb
fxruby-1.6.45-x86-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.44 rdoc-sources/FXDirDialog.rb
fxruby-1.6.44-x64-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.44-x86-mingw32 rdoc-sources/FXDirDialog.rb
fxruby-1.6.43 rdoc-sources/FXDirDialog.rb