change gtk STOCK_SAVE label text on the fly

Thomas Jollans t at jollybox.de
Fri Jul 29 17:39:19 CEST 2011


On 29/07/11 13:02, Peter Irbizon wrote:
> Hello,
>  
> how could I change STOCK_SAVE label text? I would like to have "Save
> it!" instead of "Save"
> And other question related to this is how can I change translation of
> STOCK_SAVE on the fly? I think I need to set locale for pygtk...but
> don't know how
>
Why do you want to change it? I assume it's being used in some dialog
class you're using; which one? Does it not allow you to set the button
text when you create it?

(Don't feel you need to answer this: Do you really think you need
on-the-fly language switching? It's "cool", but how many users are going
to want to use that?)



More information about the Python-list mailing list