next up previous contents index
Next: The update Command Up: User Interface Setup Commands Previous: The setfont Command   Contents   Index

The setrdb Command

The setrdb command adds resources to the X resource database.

setrdb resource: value
The user interface toolset currently used to implement the WRspice user interface is the GTK toolkit ( which does not use the X resource mechanism.

WRspice presently only recognizes resource strings which set the plotting colors for the plot command. The names of these resources are ``color0'' through ``color19'', which correspond directly to the shell variables of the same name, and to the colors listed in the Colors tool of the Tools menu of the Tool Control window. To set a color using the setrdb command, one can use forms like

``setrdb *color2: pink''

Stephen R. Whiteley 2017-03-28