- NAME
- StatusBar - a status bar widget
- SYNOPSIS
- StatusBar pathName ?option value...?
- DESCRIPTION
- STANDARD OPTIONS
- -background or -bg
- -borderwidth or -bd
- -foreground or -fg
- -orient
- -relief
- -troughcolor
- WIDGET-SPECIFIC OPTIONS
- -height
- -ipad
- -pad
- -showresize
- -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
StatusBar - a status bar widget
SYNOPSIS
StatusBar pathName ?option value...?
DESCRIPTION
StatusBar widget is a simple container widget with a corner resize control,
meant to be placed at the bottom of a toplevel dialog.
- -height
-
Specifies the desired height for the widget.
- -ipad
-
The spacing to place around individual status bar items.
- -pad
-
The spacing to place around the status bar.
- -showresize
-
Specifies whether to show the corner resize control.
- -width
-
Specifies the desired width for the widget.
- pathName add widget
?option value option value ...?
-
Add a widget widget to the status bar. Widgets are packed in. Possible options are:
- -weight
- Weighting of this item for resizing (passed to grid).
- -separator
- Whether to use a separator for this item.
- -sticky
- Passed on to grid.
- -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 StatusBar.
- 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 StatusBar.
Read-only options cannot be modified.
- pathName delete
?widget ...?
-
Delete zero or more widget items widget from the status bar.
- pathName getframe
-
Get the frame widget in which user items (not controlled by add and delete) should be created.
- pathName items
- List of items that have been mapped into the status bar by the add widget command.
- pathName remove ?-destroy? ?widget ...?
-
Remove zero or more widget items widget and their associated state from the status bar. 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.