Does one create an event to notify parent window/GUI of something?

Michael Torrie torriem at gmail.com
Sun Mar 12 19:40:43 EDT 2017


On 03/12/2017 06:14 AM, Chris Green wrote:
> There are (of course) event handlers for the 'Save' and 'Cancel'
> button click events in abookeditgui, what I need is hooks from these
> to run some code in abookgui after the abookeditgui has completed. How
> should one do this, is there a way for a class to call code in the
> class 'above' which instantiated it?

Sure.  Have the child object emit custom signal that your parent object
attaches to a callback.






More information about the Python-list mailing list