Sha256: cb8583ca6dad1b9b724032f5b1f683c2042ed1bed50297eca7e301e152b92c13

Contents?: true

Size: 634 Bytes

Versions: 6

Compression:

Stored size: 634 Bytes

Contents

module Fox
  #
  # A delegator forwards messages to a delegate object.
  # Delegators are used when you need to multiplex messages
  # toward any number of target objects.
  # For example, many controls may be connected to FXDelegator,
  # instead of directly to the document object.  Changing the
  # delegate in FXDelegator will then reconnect the controls with their
  # new target.
  #
  class FXDelegator < FXObject

    # The object to which all messages are delegated [FXObject]
    attr_accessor	:delegate

    #
    # Construct a new delegator
    #
    def initialize(delegate=nil) # :yields: theDelegate
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fxruby-1.6.22-x86-mingw32 rdoc-sources/FXDelegator.rb
fxruby-1.6.22 rdoc-sources/FXDelegator.rb
fxruby-1.6.22.pre4-x86-mingw32 rdoc-sources/FXDelegator.rb
fxruby-1.6.22.pre4 rdoc-sources/FXDelegator.rb
fxruby-1.6.22.pre3-x86-mingw32 rdoc-sources/FXDelegator.rb
fxruby-1.6.22.pre3 rdoc-sources/FXDelegator.rb