Sha256: 2b6c16275102f168804b6ec06bd3d8f17e511ee62429d3646e6ea878f978231e

Contents?: true

Size: 1.17 KB

Versions: 18

Compression:

Stored size: 1.17 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, tgt=nil, sel=0, opts=FRAME_SUNKEN|FRAME_THICK|LISTBOX_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_PAD, pr=DEFAULT_PAD, pt=DEFAULT_PAD, pb=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

18 entries across 18 versions & 1 rubygems

Version Path
fxruby-1.2.3 rdoc-sources/FXDriveBox.rb
fxruby-1.2.2 rdoc-sources/FXDriveBox.rb
fxruby-1.2.4 rdoc-sources/FXDriveBox.rb
fxruby-1.2.5 rdoc-sources/FXDriveBox.rb
fxruby-1.4.0 rdoc-sources/FXDriveBox.rb
fxruby-1.2.6 rdoc-sources/FXDriveBox.rb
fxruby-1.4.1 rdoc-sources/FXDriveBox.rb
fxruby-1.4.2 rdoc-sources/FXDriveBox.rb
fxruby-1.4.3 rdoc-sources/FXDriveBox.rb
fxruby-1.4.4 rdoc-sources/FXDriveBox.rb
fxruby-1.4.5 rdoc-sources/FXDriveBox.rb
fxruby-1.4.6 rdoc-sources/FXDriveBox.rb
fxruby-1.4.7 rdoc-sources/FXDriveBox.rb
fxruby-1.6.0 rdoc-sources/FXDriveBox.rb
fxruby-1.6.1 rdoc-sources/FXDriveBox.rb
fxruby-1.6.2 rdoc-sources/FXDriveBox.rb
fxruby-1.6.3 rdoc-sources/FXDriveBox.rb
fxruby-1.6.4 rdoc-sources/FXDriveBox.rb