|
Re: Changing the Stock Buttons: msg#00111gnome.gtk+.python
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> |
|---|---|---|
| Previous by Date: | Re: Re: [pygtk] Conflicting omniORBpy and PyORBit: 00111, ml |
|---|---|
| Next by Date: | cooperative threads with generators: 00111, Stephen Kennedy |
| Previous by Thread: | Re: Changing the Stock Buttonsi: 00111, Tyler Lane |
| Next by Thread: | Re: Changing the Stock Buttons: 00111, Christian Reis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |