Class ::tycho::HTMLMessage


Inherits: ::tycho::Message - Related constructs - Source File - Contents:
This is a top-level message window in which the message is formatted using HTML. It also inherits the capability for an optional bitmap and/or image. It contains one button to dismiss the window. Here is an example:
catch {delete object .m}
::tycho::HTMLMessage .m -data {<h1>Header</h1>}
.m centerOnScreen

The -data option specifies the HTML source to render. The -textwidth and -textheight options specify the size of the resulting HTML window in "average" characters. Regrettably, it seems to be system dependent what this means. The -directory option specifies the directory with respect to which relative hypertext or image references should be interpreted. The -scrollbar option specifies whether a scrollbar is used. The -size option gives an adjustment up or down from the nominal point size (14 points). The default value is 2, which gives a nominal point size of 16 points.

Index of classes



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