Determining whether a glyph is available in Tkinter

wmcbrine at gmail.com wmcbrine at gmail.com
Mon Dec 16 12:32:59 EST 2013


I have a Tkinter app that can optionally label some buttons with certain Unicode glyphs that aren't always available (depending on the OS, etc.). When they aren't available, Tkinter renders them as "\uNNNN". What I'd like to do is check whether the glyphs are available, and fall back to my own alternate text for the button if not. Can I do this?

I'd also like to do the same in pygtk.



More information about the Python-list mailing list