Class ::tycho::Frame


Inherits: ::tycho::Picture - Source File - Contents: public procs - public commons
A psuedo-3D rectangle. This accepts all "standard" relief options: flat, raised, sunken, ridge, and groove.

Reading Picture documentation.


Public constructs

Public Procs

construct id canvas slate tags x0 y0 x1 y1 args
Create a new item.
_borderwidth id canvas slate borderwidth
Update the -borderwidth option.
_color id canvas slate color
FIXME: Use a new procedural color manager instead of color objects.
_relief id canvas slate relief
Update the relief of the Frame. Can be one of: flat, raised, sunken. ridge, or groove. The coloring for the raised and ridge options is the same: the coloring for the sunken and grooved options is the same -- the difference is only in whether the notlit and notshaded components exist.
coords id canvas slate args
Set or read the Frame's coordinates.

Public Commons

_borderwidth
The width of the relief border.
_color
The color of the frame.
_relief
The relief: raised, sunken, groove, ridge, or flat.
lit
The polygon that is "lit".
notlit
The polygon in the inside shadow (ridge and groove reliefs only).
shaded
The polygon that is "shaded".
notshaded
The polygon in the inside lit region (ridge and groove reliefs only).
surface
The rectangular surface.
colorShadesObject
The object used to get shades of color.
methodtable
The virtual "method" table.
optiondefault
Default values of this item's options.
shape rectangle
Frames are rectangular in shape.

Index of classes



Author: H. John Reekie
Version: @(#)Frame.itcl 1.22 12/16/96
Copyright: (c) 1996 The Regents of the University of California.