Constructs related to ::tycho::TWidget


Related class: ::tycho::TWidget Contents: Proc

Proc

::tycho::TWidget::evalIfExists {command args}
If the command exists, evaluate the arguments. This is useful for evaluating something in the background where you are not sure that the widget will still exist when Tcl gets around to doing the evaluation. It should be used, for example, when invoking an object method using "after". For example, within an object, you can say:
   after idle [code evalIfExists $this methodname]
.

Index of classes



Author: Edward A. Lee
Version: @(#)TWidget.itcl 1.7 12/05/96
Copyright: (c) 1995-1996 The Regents of the University of California.