Open Source
pygtk.txt
Associated article: Examining the PyGtk Toolkit
Tags: Tools Open Source Parallel
Published source code accompanying the article by Mitch Chapman and Brian Kelley in which they discuss PyGtk, which brings the benefits of a high- level programming language to Gtk+ developers, and gives Python programmers access to a modern, high- performance GUI toolkit. Also see PYGTK.ZIP.
Examining the PyGtk Toolkit
by Mitch Chapman and Brian Kelley
Example 1:
class GtkModalDialog:
def runModal(self):
self.window.show()
gtk.mainloop()
def endModal(self):
self.window.hide()
gtk.mainquit()
Listing One
#!/usr/bin/env python
"""AppWindow.py:
...


