View Single Post
Posts: 662 | Thanked: 238 times | Joined on Jul 2007
#5
Originally Posted by blakboy98 View Post
All you should need is the line below.


browserpic = open('/home/user/iTablet/browserpic1.txt', 'r').readline().strip()

browser = gtk.Button()
image3 = gtk.Image()
browser.connect('clicked', browserf)
image3.set_from_file(browserpic)
image3.show()
browser.add(image3)
Thank you! That is EXACTLY what I needed! I'm so stupid! Your help is greatly appreciated, thanks again