logo       

Re: Changing the Stock Buttons: msg#00119

gnome.gtk+.python

Subject: Re: Changing the Stock Buttons

On Thu, Aug 14, 2003 at 11:06:58AM +0200, Jan Weil wrote:
> 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, "", "")

It does say that stock_add takes a list of 5-tuples, so it's probably
more like:

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

I've preemptively added this as FAQ 9.6, but anybody is free to correct
it if I'm blundering through pygtk2 again.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
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