logo       

Re: Changing the Stock Buttons: msg#00111

gnome.gtk+.python

Subject: Re: Changing the Stock Buttons

The (IMO) proper way to achieve this is to overwrite the original stock
item.
Use (untested):

gtk.stock_add(gtk.STOCK_SAVE_AS, "Rename", 0, "", "")

See
http://www.moeraki.com/pygtkreference/pygtk2reference/gtk-functions.html#function-gtk--stock-add

Jan

>
> 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?
>







_______________________________________________
pygtk mailing list pygtk@xxxxxxxxxx
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise