[pygtk] Internationalization my App

Walter Leibbrandt walter at translate.org.za
Wed Jun 17 15:57:49 WST 2009


mahdieh saeed wrote:
> every thing is OK but I want to use *built in* stock as icon .For 
> example use gtk.STOCK_OK but with *custom label* or *translation label 
> to Persian language*.
>
>
> Is there any way to do this?
The only way I've found to do this is to create a container-type button, 
add a gtk.HBox containing an image (the stock icon) and a label.

HTH,

-- 
Walter Leibbrandt                  Software Developer
Recent blogs:
* Conquering the CellRendererWidget
http://www.translate.org.za/blogs/walter/en/content/conquering-cellrendererwidget




More information about the pygtk mailing list