[Fxruby-users] implementing connect()
Status: Inactive
Brought to you by:
lyle
From: Claus S. <Doc...@gm...> - 2004-05-12 20:02:34
|
Greetings! I'm at a loss on how to implement event handlers in my classes. I looked at the API references and saw that connect() is implemented in Responder2, which led me to believe that I need to include it in whichever class needs the connect() method. This did not work, as the objects 'selector', 'target', and 'value' were missing. I've looked at the class that had those (FXDataTarget) and saw that they were accessors, so I added those for my class, and it prevents the compiler from throwing an error at me, but it's a crude solution, and it doesn't do anything except getting rid of the errors. I'm 99% sure that what I'm doing is wrong. I am currently in the dark as to what needs to be done... perhaps I need to have my class's parent be FXDataTarget, or FXObject? Hints would be greatly appreciated. Cheers! -CWSpitzer |