I use pygtk develop a program, demand is this: The main window to pop up a sub-window, some of the data entered above, and then click "OK" button, obtain input and processed into the database and finally close it.
Now that is what I resolved: 2 windows each corresponding to a class, the main window create the child window and pass it's address into the child window , sub-window get user input and calls the main window methods to perform data processing. Such a solution did not feel good, is there any better way? For example: transfer messages...etc on windows, i can send messages between window, I would like to know what is normal practice on pygtk.
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
