NAME
toolbar - Create and manipulate a toolbar widget.
SYNOPSIS
- toolbar ?-option optionVal ...?
OPTIONS
- -orientation
- Orientation of the toolbar
type: horizontal, vertical
default: horizontal
- -style
- whether icons and/or text shall be shown.
type: icons, text, both
default: both
DESCRIPTION
WIDGET COMMANDS
The toolbar command creates a new Tcl command
whose name is an ID returned on widget creation. This command may be
used to invoke various operations on the widget. It has the following
general form:
ID option ?arg arg ...?
option and arg determine the exact behavior of the
command. The following commands are possible for toolbar widgets:
- ID configure ?-option optionVal ...?
- ID add type ?-option optionVal ...?
- ID addBegin type ?-option optionVal ...?
- ID addEnd type ?-option optionVal ...?
-
type must be one of space, widget or item.
valid options are:
-text
-tooltip
-command
-icon; percent string; ""
Icon of the button
KEYWORDS
Copyright © 2001 - 2002 P. G. Baum