Codebase list ruby-fxruby / 3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a rdoc-sources / FXDebugTarget.rb
3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a

Tree @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a (Download .tar.gz)

FXDebugTarget.rb @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2araw · history · blame

module Fox
  #
  # A debug target prints out every message it receives.
  # To use it, simply make the FXDebugTarget a target of the widget
  # whose messages you want to see.
  #
  class FXDebugTarget < FXObject
    #
    # Returns an array of strings containing the names of the message types.
    # So, for example,
    #
    # puts FXDebugTarget.messageTypeName[SEL_COMMAND]
    #
    # should print the text "SEL_COMMAND".
    #
    def FXDebugTarget.messageTypeName ; end

    #
    # Construct a debug target.
    #
    def initialize # :yields: theDebugTarget
    end
  end
end