Pmw.Group font
Christopher Blunck
blunck at gst.com
Tue Aug 19 09:19:21 EDT 2003
On Tue, 19 Aug 2003 09:52:20 +0200, Eric Brunel wrote:
> Christopher Blunck wrote:
>> Is it possible to set the font of the tag_text within a Pmw.Group? I have
>> set the font on my Labels within the interior of the Group, and the label
>> font of the Group looks pretty lame.
>
> Unless you changed the type for the "tag" component, an option tag_font should
> work: a tag is by default a Tkinter.Label (as said in the Pmw.Group doc); a
> Tkinter.Label accepts a "font" option; therefore, a Pmw.Group accepts a
> "tag_font" option. It's as simple as that...
Thanks for the explanation, Eric. It worked perfectly. Surprising that
my Python and Tkinter book did not point this out in a more obvious way.
-c
More information about the Python-list
mailing list