Ed Leafe wrote:

I'm playing around with the repainting flicker in Bubblet, and thought that I'd try raising a custom event from the form that each bubble would respond to.

Ok, so you are making a new event such as:

class MyEvent(dabo.dEvents.Event): pass


I'm using bindEvent() to bind each bubble to the custom event, and the form is raising the event at the proper time.

class Bubble(..):
        def initEvents(self):
                self.Form.bindEvent(MyEvent, self.onMyEvent)


But the code in raiseEvent() only looks at the raising object's bindings. How is a custom event raised in a form supposed to be propagated down to its child objects?

The way we have Dabo events designed, there isn't any automatic propagation. Raising something from the form level isn't going to be seen by an object of the form unless that object binds to the form event.

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to