- NAME
- PanelFrame - a frame with a title area above that can be a mini-toolbar
- SYNOPSIS
- PanelFrame pathName ?option value...?
- DESCRIPTION
- STANDARD OPTIONS
- -background or -bg
- -borderwidth or -bd
- -text
- -textvariable
- -font
- -relief
- WIDGET-SPECIFIC OPTIONS
- -height
- -ipad
- -panelbackground
- -panelforeground
- -width
- WIDGET COMMAND
- pathName add widget ?option value ...?
- pathName cget
option
- pathName configure
?option? ?value option value ...?
- pathName delete ?widget ...?
- pathName getframe
- pathName items
- pathName remove ?-destroy? ?widget ...?
NAME
PanelFrame - a frame with a title area above that can be a mini-toolbar
SYNOPSIS
PanelFrame pathName ?option value...?
DESCRIPTION
PanelFrame creates a frame area with a title area above. The title
area contains a label and allows for other items to be mapped into it. This
can serve as a mini-toolbar.
- -height
-
Specifies the desired height for the widget.
- -ipad
-
The spacing to place around individual panel area items.
- -panelbackground
-
The color for the panel area background.
Defaults to the selection highlight background color.
- -panelforeground
-
The color for the title text.
Defaults to the selection highlight foreground color.
- -width
-
Specifies the desired width for the widget.
- pathName add widget ?option value ...?
-
Add a widget widget to the panel. Widgets are packed in.
Possible options are:
- -side
- Side to place item on (defaults to right).
- -fill
- Whether to fill space (defaults to none).
- -expand
- Whether to expand space (defaults to 0).
- -pad
- Override of the widget's -ipad option for this item.
- pathName cget option
-
Returns the current value of the configuration option given by option.
Argument option may have any of the values accepted by the creation command PanelFrame.
- pathName configure ?option? ?value option value ...?
-
Query or modify the configuration options of the widget. If no
option is specified, returns a list describing all of the available
options for pathName. If option is specified with no
value, then the command returns a list describing the one named
option (this list will be identical to the corresponding sublist of
the value returned if no option is specified). If one or more
option-value pairs are specified, then the command modifies the
given widget option(s) to have the given value(s); in this case the command
returns an empty string.
Argument option may have any of the values accepted by the creation command PanelFrame.
Read-only options cannot be modified.
- pathName delete ?widget ...?
-
Delete zero or more widget items widget from the panel.
- pathName getframe
-
Get the Tk window path for the frame area (not the title area) of the PanelFrame.
- pathName items
- List of items that have been mapped into the title area by the add widget command.
- pathName remove ?-destroy? ?widget ...?
-
Remove zero or more widget items widget and their associated state from the panel. The widgets are not destroyed unless the argument -destroy is supplied.
Copyright © 1998-1999 UNIFIX.
Copyright © 2001-2002 ActiveState Corp.
Copyright © 2017-2025 CitizenEarth Internet Ltd.