Aah, never mind - it's button.set_property.

Sorry - still fumbling my way around...

Matt

On Mon, Sep 17, 2001 at 05:39:53PM -0400, Matt Wilson wrote:
> 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
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to