Overview of Item Types
pathName create panel [[x1 y1 x2 y2] option value option value ...]Panels are one of several widgets that are designed to mirror the functionality and usage of the standard widgets in Java's Abstract Windowing Toolkit (AWT). When panels are created, they automatically get the tag "Panel".
Unlike group items, panels do not set their size based on their contents. Rather, they are fixed size as specified by the command line coordinates, or by the -width
[68] and -height
[26] itemconfigure options. Panels have their own coordinate system where (0, 0) specifies the panels lower left corner. Adding items to a panel adds them relative to the panel's coordinate system.
The following options are supported for panels:
-divisible
[16] True if events go through the panel to its members
-fill
[23] Specifies fill color
-members [38]
The list of members of the panel
addgroupmember [2]
and removegroupmember
[72] commands that can be used to add and remove items from the panel.
Copyright Computer Science Department, The University of New Mexico