Technical data

configure
294
-
Simulator Command Reference ModelSim EE/PLUS Reference Manual
-gridcolor
Specifies the background grid color; the default is grey50. Optional.
Description
The command works in three modes:
• without options or values it returns a list of all attributes and their current values
• with just an option argument (without a value) it returns the current value of that
attribute
• with one or more option-value pairs it changes the values of the specified
attributes to the new values
The returned information has five fields for each attribute:
• the command-line switch
• the Tk widget resource name
the Tk class name
• the default value
and the current value
To get a more readable listing of all attributes and current values, use the
lecho
(p324) command, which pretty-prints a Tcl list (see examples).
Examples
lecho [config list]
Returns a pretty-printed list of the List window attributes and current values as
shown below:
VSIM 46> lecho [config list]
# {
# {
# -adjustdividercommand adjustdividercommand Command {} VListPlaceDivider
# }
# {
# -background background Background {light blue}
# #d9dfff
# }
# {-bd borderWidth}
# {-bg background}
# {-borderwidth borderWidth BorderWidth 2 2}
# {
# -cursor cursor Cursor {} {}
# }