NAME
SelectFont - Font selection widget
CREATION
SelectFont pathName ?option value...?
STANDARD OPTIONS
  -background
  -font
WIDGET-SPECIFIC OPTIONS
  -command
  -parent
  -title
  -type
WIDGET COMMAND
pathName cget res
pathName configure ?option? ?value option value ...?
SelectFont::loadfont



DESCRIPTION

SelectFont provides a simple way to choose font. It can be displayed as a dialog box or as a toolbar.
Textual items in Dialog box uses -name options so they can be translated to any language. Symbolic name used are ok, cancel, font, size, style, bold, italic, underline and overstrike.
Additionnal resources can be set to modify other text:

    *SelectFont.fontTitle     Title of the dialog box (overriden by title option)
    *SelectFont.sampleText    Text displayed in the preview area




WIDGET-SPECIFIC OPTIONS
-command
Specifies a command to call when user select a new font when SelectFont type option is toolbar.
-parent
Parent of the Dialog. Dialog is centered in its parent. If empty, it is centered in root window.
-title
Title of the Dialog toplevel.
-type
Specifies the type of the SelectFont widget. Must be dialog or toolbar.
If type option is dialog, SelectFont::create directly creates the dialog, displays it and return an empty string if cancel button is pressed or if dialog is destroyed, and the selected font if ok button is pressed. In all cases, dialog is destroyed.
If type option is toolbar, SelectFont::create returns the pathname of the widget created.


WIDGET COMMAND
pathName cget res
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the create command.
pathName configure ?option? ?value option value ...?
Modify the configuration options of the widget. Option may have any of the values accepted by the create command, except those who are read-only.
SelectFont::loadfont
Description text