Thread: python help plz
View Single Post
Posts: 324 | Thanked: 371 times | Joined on Dec 2009 @ Vancouver, BC
#6
Check this out:
http://www.pygtk.org/pygtk2tutorial/.../helloworld.py
Add the urrlib2 code into the the def hello(...) function.
Once you get the one button working, then you can copy/paste the button creation code to create the multiple buttons, and place them into a gtk.VBox (a container for your buttons).