Sha256: 350388307c4c8fc4f16c003e52a0321fdfcec482515482a8d534eaef3142e104

Contents?: true

Size: 1.21 KB

Versions: 37

Compression:

Stored size: 1.21 KB

Contents

module Fox
  #
  # Drive box
  #
  # === Events
  #
  # The following messages are sent by FXDriveBox to its target:
  #
  # +SEL_CHANGED+::	sent when the current item changes; the message data is the current drive
  # +SEL_COMMAND+::	sent when a new item is selected from the list; the message data is the drive
  #
  class FXDriveBox < FXListBox

    # Current drive [String]
    attr_accessor :drive
    
    # File associations [FXFileDict]
    attr_accessor :associations

    # Returns an initialized FXDriveBox instance
    def initialize(p, target=nil, selector=0, opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL, x=0, y=0, width=0, height=0, padLeft=DEFAULT_PAD, padRight=DEFAULT_PAD, padTop=DEFAULT_PAD, padBottom=DEFAULT_PAD) # :yields: theDriveBox
    end

    #
    # Set current drive, where _drive_ is a string.
    # Returns +true+ on success, +false+ on failure.
    #
    def setDrive(drive); end
    
    #
    # Return current drive as a string.
    #
    def getDrive(); end
    
    #
    # Change file associations, where _assoc_ is an FXFileDict instance.
    #
    def setAssociations(assoc); end
    
    #
    # Return file associations (an FXFileDict instance).
    #
    def getAssociations(); end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

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