Le jeudi 12 novembre 2009 à 18:00 +0530, Baloon man a écrit :
> Hello
> 
>   I am new to pygtk programming and found it very intuitive !!!  I am
> trying to find a way to set a local language font ( lohit kannada
> - ಕನ್ನಡ  ) for text view. How do I do this. 

Hello,
If I understand the question correctly, you should take a look at the
modify_font() method[1]. For example :
your_text_view.modify_font('lohit normal 12')

[1]
http://library.gnome.org/devel/pygtk/stable/class-gtkwidget.html#method-gtkwidget--modify-font

Fred.

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to