The -font => '{arial} 18 {bold}' syntax seems pretty clean, but from my experience, setting the font with fontCreate always resulted in fewer glitches. I'm an old timer, and started Tk when you needed to specify fonts with stuff like:
Yuck!. Also see Tk Font Manipulation. When you use fontCreate to create the font, you can more easily manipulate them later.-font => '-Adobe-Courier-Bold-O-Normal--*-120-*-*-*-*-*-*';
In reply to Re^7: Tk::Entry and double-Tab key weirdness
by zentara
in thread Tk::Entry and double-Tab key weirdness
by atreyu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |