Class ::tycho::FontDialog


Inherits: ::tycho::Query - Related constructs - Source File - Contents: itk_option - public method
Manage font selection. Instances of this class are dialog windows that permit the user to select a font. If the creator makes the font manager modal using the ::tycho::Dialog::wait procedure, then that procedure will return either a valid font name selected by the user or the null string (if the user cancels).

Itk_option

-initialfont {Helvetica 12 Roman}
Specify the initial font displayed in the window.

Public constructs

Public Method

updateDisplay
Update the display of the current font. This is a public method mainly so it can be called by the font options menus; however, if any subclass or client changes the font selection by using the insert method, then they should call this to update the font display.

Index of classes



Author: Edward A. Lee
Version: @(#)FontDialog.itcl 1.4 11/20/96
Copyright: Copyright (c) 1995-1996 The Regents of the University of California.