Class: Fox::FXDebugTarget

Inherits:
FXObject show all
Defined in:
rdoc-sources/FXDebugTarget.rb

Overview

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 Method Summary collapse

Instance Method Summary collapse

Methods inherited from FXObject

#bind, #handle, #load, #save, subclasses

Constructor Details

#initializeFXDebugTarget

Construct a debug target.



21
22
# File 'rdoc-sources/FXDebugTarget.rb', line 21

def initialize # :yields: theDebugTarget
end

Class Method Details

.messageTypeNameObject

Returns an array of strings containing the names of the message types. So, for example,

puts FXDebugTarget.messageTypeName

should print the text “SEL_COMMAND”.



16
# File 'rdoc-sources/FXDebugTarget.rb', line 16

def FXDebugTarget.messageTypeName ; end