Compound Widget and Event Handlers [message #34766] |
Thu, 10 April 2003 10:53 |
pashas77
Messages: 7 Registered: April 2003
|
Junior Member |
|
|
Hey all again,
Thanks for the help with the objects.
I have a feeling I know what the answer to this question is going to
be...:)
The problem in my previous problem was due to the fact that the my
event handler was seperate from the class. This class creates so I
thought the obvious solution would be to make a compound widget, i
thought I was being really clever.
However, the problem I ran into was, my class contains the "TLB", and
various Draw Widgets and buttons.
So, the line:
Widget_Control, self.idTLB, EVENT_PRO= Class_Event_Handler does not
allow me access to the class at runtime in the Event_Handler...i
didn't feel so clever anymore.
I tried to put the tlb within another base, with simliar results. Is
there anyway around this?? Or does EVENT_PRO and EVENT_FUNC just
meant to be used with Draw Widgets, and Buttons. I think I see why
someone decided to go and build their own widget wrapper library.
Thanks again,
Sabir Pasha
|
|
|