The following code shows a button with a label of "foo", not "bar".
Is this supposed to work?

#!/usr/bin/python2

import gtk

win = gtk.Window()
button = gtk.Button("foo")
button.label = "bar"
win.add(button)
win.show_all()

gtk.mainloop()

Cheers,

Matt

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to