1 """<title>Connections</title>
2 Same as the first -- but now you can click on the close window button
3 in your windowing system to close out the example.
7 from pygame.locals import *
9 # the following line is not needed if pgu is installed
10 import sys; sys.path.insert(0, "..")
15 ##The gui.QUIT event is connected to the app.close method.
17 app.connect(gui.QUIT,app.quit,None)
20 e = gui.Button("This is a really long button.")