Go up one levelGo to Previous Go to Next

FrameWidget

The FrameWidget Itcl class is the base class of widgets that are contained in a Tk frame (see also TopLevelWidget(n) for widgets that have thier own top level window). FrameWidget is a subclass of itk::Widget and thus inherits all of the features described in Widget(n) . In addition, a number of useful methods are defined, for use by the derived classes.

Both the FrameWidget and TopLevelWidget classes call the init method when all the constructors have completed (using the after idle command). The init method is often the best place to build widgets, since at that point you know the values of all of the Itcl options.

Example:

 
class util::CanvasWidget { 
    inherit util::FrameWidget
    ...
}

See FrameWidget(n) for more details.


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory