Functions in the column header context menu can use the evaluator like in any other toolbar or menu, however in this evaluation context, the following variables are available which are specific to the column header:
Variable | Type | Description |
---|---|---|
frozenfields |
int |
The number of frozen columns. |
group |
int |
ID of the column the file display is grouping by, -1 if none. You can pass this ID to commands like Set GROUPBY=x,toggle. |
groupkey |
str |
Keyword of the column the file display is grouping by. |
groupname |
str |
Name of the column the file display is grouping by. |
groupscheme |
str |
Name of the current grouping scheme (if any). |
header |
int |
ID of the column that was right-clicked, -1 if none. You can pass this ID to commands like Set COLUMNSTOGGLE=x. |
headerindex |
int |
Position of the header item that was right-clicked. |
headerinsert |
int |
Insertion point. Similar to headerindex, but +1 if the click was in the right-half of the item. |
headeritem |
int |
Deprecated. The same as headerinsert. |
headerkey |
str |
Keyword of the column that was right-clicked. |
headername |
str |
Name of the column that was right-clicked. |
path |
path |
Returns the path shown in the file display. |