O'Reilly logo

Practical Programming in Tcl & Tk, Third Edition by Brent B. Welch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The font Command

Table 39-3 summarizes the font command. In the table, font is either a description of font parameters, a logical font name, a system font name, or an X font name. The -displayof option applies to X where you can have windows on different displays that can support different fonts. Note that when you delete a logical font name with font delete, the font is not really deleted if there are widgets that use that font.

Table 39-3. The font command.
font actual font ?-displayof window? ?option?Returns the actual parameters of font.
font configure fontname ?option? ?value option value?Sets or queries the parameters for fontname.
font create ?fontname? ?option value ...?Defines fontname with the specified parameters.
font delete fontname ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required