
Next: Header
Up: Element on a configuration page
Previous: FillOut
A Frame is just like a frame in Tk. It is used to group things together
side by side, instead of the default, on top of each other. Ie. if you
have two ListBox's which you want side by side, then you can use
Frame
- -entries
- This is the element which shall be located in the
frame
- -orient
- This is the orientation which things are pack in the
frame.
This is different from Tk. Ie. if you say -orient
left, things are pack side by side in the frame, and -orient
top means: pack things on top of each other in the frame.(default: left)
- -default
- This is the default values to the elements in the frame.
- -export
- This tells wether the widget shall be exported ort
not. If set to ``0'' all the subelement of the frame is not exported.
The frame, doesn't link to any variables itself, and the element in
the frame, link to variables, as if they were not in a frame. But
default values have to go through the frame:
Ex.:
CheckBox cb1 -text "checkbox 1"
Entry e1 -text "Entry 1"
Frame f1 -entries cb1 e1 -default {1 "This is for the entry"}
Jesper Kjær Pedersen <blackie@imada.ou.dk>
Wed Oct 2 13:29:53 MET DST 1996