[pygtk] handling events

David M. Cook dave at davidcook.org
Sun Oct 22 18:45:19 WST 2006


On Sun, Oct 22, 2006 at 09:57:47AM +0200, Pascal DUCHATELLE wrote:

>  I could add a status bar to each notebook page but this is no elegent way...

I'd put the status bar handling code in its own module.  Then import that
module wherever it's needed.

If you want to reduce coupling in your code, you could adapt one of the
publish/subscribe examples from the Python Cookbook.

Dave Cook




More information about the pygtk mailing list