Table of Contents
_________________________________________________________________
Command - create and manipulate a Command widget.
Command pathName ?options?
itk::Archetype <- itk::Widget <- iwidgets::Labeledwidget <- iwidgets::Scrolledwidget <- iwidgets::Scrolledtext <- Command
- activebackground background borderwidth
cursor disabledforeground exportselection foreground
highlightcolor highlightthickness insertbackground
insertborderwidth insertofftime insertontime insertwidth
jump padx pady relief selectbackground selectborderwidth
selectforeground setgrid
See the "options" manual entry for details on the standard
options.
Options associated with the scrollbar widget:
- activerelief elementborderwidth troughcolor
Options associated with the text widget:
- spacing1 spacing2 spacing3 state wrap
Options inherited from itk::Archetype:
- clientdata
Options inherited from iwidgets::Labeledwidget:
- labelbitmap labelfont labelimage labelmargin labelpos
labeltext labelvariable state
Options inherited from iwidgets::Scrolledwidget:
- hscrollmode sbwidth scrollmargin
vscrollmode
Options inherited from iwidgets::Scrolledtext:
- height textbackground textfont visibleitems width
- Name:
- edit_style
- Class:
- Edit_style
- Command-Line Switch:
- -edit_style
Specifies the command line edit style. The possible
values are emacs and vi.
- Name:
- prompt
- Class:
- Prompt
- Command-Line Switch:
- -prompt
Specifies the prompt string.
- Name:
- cmd_prefix
- Class:
- Cmd_prefix
- Command-Line Switch:
- -cmd_prefix
Specifies the command prefix. If non-empty and the object specified
by the cmd_prefix has a command that matches the first word of the
command string, the cmd_prefix is prepended to the command and executed.
Otherwise the command is executed as is.
- Name:
- selection_color
- Class:
- TextColor
- Command-Line Switch:
- -selection_color
Specifies the selection color.
- Name:
- prompt_color
- Class:
- TextColor
- Command-Line Switch:
- -prompt_color
Specifies the prompt color.
- Name:
- cmd_color
- Class:
- TextColor
- Command-Line Switch:
- -cmd_color
Specifies the color of the current command.
- Name:
- oldcmd_color
- Class:
- TextColor
- Command-Line Switch:
- -oldcmd_color
Specifies the color of old/previous commands.
- Name:
- result_color
- Class:
- TextColor
- Command-Line Switch:
- -result_color
Specifies the result color.
The Command command creates a new window
(given by the pathName argument) and makes it into
a command window.
Additional options, described above, may be specified on the
command line or in the option database to configure aspects
of the command window widget.
The Command command returns its pathName argument.
At the time this command is invoked, there must not exist a
window named pathName, but pathName's parent must exist.
The Command command creates a new Tcl command whose name
is pathName. This command may be used to invoke various
operations on the Command widget. It has the following general
form:
pathName option ?arg arg ...?
Option and the args determine the exact behavior of the command.
The following commands are possible for Command widgets:
- isa info
Methods associated with
LIBBU's command history object:
- add curr history next prev
Methods associated with the Tk text widget:
- bbox compare debug delete dlineinfo get index
insert mark scan search see tag window xview yview
Methods inherited from Archetype:
-
cget component configure
Methods inherited from iwidgets::Scrolledtext:
- childsite clear export import
- pathName edit_style [emacs | vi]
- Set/get the edit style.
- pathName history
- Return the history list.
Mark L. Ulferts <mulferts@austin.dsccc.com>
Basic layout for documenting classes.
Robert G. Parker
Table of Contents