How about having two buttons in a box and hide()/show() them when needed? PS. You'll want to put buttons in a gtk.SizeGroup if you want them to be the same size.
On 27/11/2007, awalter1 <[EMAIL PROTECTED]> wrote: > > Hi, > In the frame of my previous post, I want to substitute a stock item by > another one (switch from + to - and conversely). > I suppose that button.remove(image) should be the right way before perform a > button.add(new_image), but how to get the parameter "image" that should be a > widget. > if a perform a button.get_image(), the result is None ! > > Thank you > -- > View this message in context: > http://www.nabble.com/manipulate-image-from-a-gtk.Button-tf4880483.html#a13967036 > Sent from the Gtk+ - Python mailing list archive at Nabble.com. > > _______________________________________________ > pygtk mailing list pygtk@daa.com.au > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ > -- Yuri Pimenov _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/