NAME

fontPicker - Create and manipulate a widget for selecting fonts.

SYNOPSIS

fontPicker ?-option optionVal ...?

OPTIONS

-title
Title of the font selection dialog.
type: string
default: ""
-variable
Name of a (global) variable which is changed if the font is changed.
type: string
default: ""
-command
Tcl command which is executed if the font is changed.

Before evaluating every percent (%) and its following character is substituted in command:
%% by %,
%f by the name of the selected font
%w by the widget-ID

type: string
default: ""
-sensitive
Wheather or not the item is sensitve to user input.
type: boolean
default: 1

DESCRIPTION

WIDGET COMMANDS

The fontPicker command creates a new Tcl command whose name is an ID returned on widget creation. This command may be used to invoke various operations on the widget. It has the following general form:

ID option ?arg arg ...?

option and arg determine the exact behavior of the command. The following commands are possible for fontPicker widgets:
ID getFont
Returns the selected font.
ID setFont font
Sets the font.

KEYWORDS


Copyright © 2001 - 2002 P. G. Baum