>>>>> "Christian" == Christian Robottom Reis <[EMAIL PROTECTED]> writes:

    Christian> Have you tried looking through the button's children
    Christian> and setting the label's text directly? It could be that
    Christian> set_label() fails silently but that manipulating the
    Christian> label via the set_text() method works.

An excellent idea!  

    button = gtk.Button(stock=gtk.STOCK_CANCEL)
    button.show()

    alignment = button.get_children()[0]
    hbox = alignment.get_children()[0]
    image, label = hbox.get_children()
    label.set_text('Hide')

I updated FAQ entry
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq09.006.htp

JDH
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to