button = gtk.Button( stock=gtk.STOCK_SAVE_AS )
button.get_children()[0].get_children()[0].get_children()[1].set_label(
"Whatever you want here" )

HTH

On Wed, 2003-08-13 at 14:37, Shaffer, Chris wrote:
> Hi... 
> 
> Not really sure if there is an easy way to do this or not.  
> 
> I want to use the STOCK_SAVE_AS button, but I want the text to read 'Rename'
> instead.  Is there an easy way to change that, or am I going to have to
> create my own button, and pack a box, label, and image into it?
> 
> Thanks,
> 
> Chris Shaffer
> 
> 
> 
> *****
> "The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential, proprietary, and/or
> privileged material. Any review, retransmission, dissemination or other use
> of, or taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited. If you received
> this in error, please contact the sender and delete the material from all
> computers."
> _______________________________________________
> pygtk mailing list   [EMAIL PROTECTED]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Tyler Lane <[EMAIL PROTECTED]>
Lyrical Communications
_______________________________________________
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