beetlebug▾
/

font names

Gives the names of the named fonts.

font names

Description

Gives the standard fonts first, and then the fonts of font create in the order of their creation.

Returns

A list of font names.

Examples

% font names
TkDefaultFont TkTextFont TkFixedFont TkMenuFont TkHeadingFont TkCaptionFont TkSmallCaptionFont TkIconFont TkTooltipFont

% font create Mine
> lindex [font names] end
Mine

Errors

% font names all
wrong # args: should be "font names"
-errorcode TCL WRONGARGS

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also