statusToolbarFields
layout statusToolbarFields string { "(SelectorInformation)" }
Description
Specifies the information that you want to display on the status toolbar. By using selectors, you can display information such as the cellview size, count of selected objects, and values of environment variables, shell environment variables, and window variables.
The format of the string is a series of selectors, where each selector is listed in parenthesis. Use the following format to define SelectorInformation for each selector in the series.
(selector tooltip style_format)
For each selector, you can optionally specify a tooltip and the style for displaying the information. You can also use expressions for conditional formatting of the information. For information about specifying tooltips, display style, and conditional formatting for selectors, see Status Toolbar Customization.
The following table describes the selectors that you can use to display information on the status toolbar.
The default is "", which means that the predefined set of fields is displayed on the toolbar.
GUI Equivalent
Examples
envGetVal("layout" "statusToolbarFields")
The following command displays X and Y coordinates on the status toolbar:
envSetVal("layout" "statusToolbarFields" 'string "(X) (Y)")
The following command displays X and Y coordinates, with X as the tooltip for the X coordinate and Y Coordinate as the tool tip for the Y coordinate.
envSetVal("layout" "statusToolbarFields" 'string "(X t) (Y \"Y Coordinate\")")
The following command displays the size of the cellview, editable X, Y, dX, and dY fields, name of the current command, selection count, count of selectable objects under the cursor, and selection information:
envSetVal("layout" "statusToolbarFields" 'string "(CVSize \"Boundary size\") \\| (EXYDXDY) \\| (Cmd t (V == \"\" \"Idle\") (V != \"\" \"<b>%s</b>\")) \\| (Select t (V==\"0\" \"s: %s\")(V!=\"0\" \"<span style=\\\"color:red;font-weight:bold\\\">s: %s</span>\")) \\| (SelC \"Object under cursor\" \"C/T: %s\") \\| (PreSelSelObjInfo \"Selected object info\")")
Related Topics
Return to top