|
Re: Changing the Stock Buttons: msg#00119gnome.gtk+.python
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> |
|---|---|---|
| Previous by Date: | Re: cooperative threads with generators: 00119, Christian Reis |
|---|---|
| Next by Date: | Re: Using Accessibility interface from PyORBit?: 00119, James Henstridge |
| Previous by Thread: | Re: Changing the Stock Buttonsi: 00119, Jan Weil |
| Next by Thread: | multiple windows?: 00119, William Hanlon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |