[TKinter]How to set LabelFrames font and color from option file

Gene Heskett gheskett at shentel.net
Thu Dec 14 09:14:14 EST 2017


On Thursday 14 December 2017 04:35:02 Beppe wrote:

> Hi to everybody,
>
> I don't succeed in planning the value of the font and color in the
> LabelFrames using the option_db file, such as
>
> *LabelFrame*font: Helvetica 14
> *LabelFrame*foreground: red
>
> exist a list of the keywordses to use?
>
> thanks
>
> beppe

In pyvcp, the xml file can have:
<pyvcp>
<labelframe text="Jog Buttons">
<font>("Helvetica",16)</font>
...
</LabelFrame>

It has a default, which I haven't changed, but the above

<font>("Helvetica",12)</font>

 s/b how you do it.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



More information about the Python-list mailing list