font used by tk_dialog not settable?
From: William J Poser (wjposer_at_unagi.cis.upenn.edu)
Date: 03/25/05
- Next message: Don Porter: "Re: font used by tk_dialog not settable?"
- Previous message: Jeff Godfrey: "Re: open and backslashes..."
- Next in thread: Don Porter: "Re: font used by tk_dialog not settable?"
- Reply: Don Porter: "Re: font used by tk_dialog not settable?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Mar 2005 20:55:28 +0000 (UTC)
I need to write arbitrary Unicode text in the "text" field of a tk_dialog
popup. When I do this, the non-ASCII characters are not rendered but show
up as \uxxxx. I am using a UTF-8 locale and get the same characters to render
up properly elsewhere in the same program so I think that the problem
is that tk_dialog is using a font that lacks these characters. This is supported
by the fact that in other widgets I have obtained the same behavior until I have
set the font appropriately.
However, it appears to be impossible to set the font for a tk_dialog
widget. The documentation doesn't mention a -font argument, and when I attempt
to supply one it doesn't work. Am I correct in thinking that it is not
possible to control the font of a tk_dialog widget?
-- Bill Poser, Linguistics, University of Pennsylvania http://www.ling.upenn.edu/~wjposer/ billposer@alum.mit.edu
- Next message: Don Porter: "Re: font used by tk_dialog not settable?"
- Previous message: Jeff Godfrey: "Re: open and backslashes..."
- Next in thread: Don Porter: "Re: font used by tk_dialog not settable?"
- Reply: Don Porter: "Re: font used by tk_dialog not settable?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|