change gtk STOCK_SAVE label text on the fly

Peter Irbizon peterirbizon at gmail.com
Sat Jul 30 00:29:59 CEST 2011


> (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?)
yes, you're right. anyway it's cool feature and I hoped it's easy to do it
in python / but it isn't...

> 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?
I tried to do that in pygtk but no success. I thought this will be quick fix
because my newbie knowledge does not allow me to set/change locale when app
starts. Of course I would prefer another way of doing this but how can I
tell to gtk which language use ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110730/040a200a/attachment.html>


More information about the Python-list mailing list