Modify the columns of a multi-column-list-panel.
capi
modify-multi-column-list-panel-columns self &key columns x-adjust reorderable-columns sort-descriptions column-function item-print-functions
self⇩ | |
columns⇩ |
A list of column specifications. |
x-adjust⇩ |
A list. |
reorderable-columns⇩ |
A list. |
sort-descriptions⇩ |
A list. |
column-function⇩ |
A function of one argument or a list of functions of one argument. The default is identity. |
item-print-functions⇩ |
A function of one argument, or a list of such functions. |
The function modify-multi-column-list-panel-columns
modifies the columns of self.
All the keyword arguments have the same meaning as the corresponding initargs in multi-column-list-panel. See the entry for multi-column-list-panel for details.
For all the keyword arguments except x-adjust and reorderable-columns, if they are not supplied then the value does not change. For all keyword arguments except sort-descriptions, x-adjust and reorderable-columns, if they are passed as nil
then the corresponding value does not change. If sort-descriptions is passed as nil
, then the sort-descriptions are changed to nil
.
modify-multi-column-list-panel-columns
. For example you can make column-function a function that closes over the containing interface, and check a slot in it to decide which columns to return, and then update this slot whenever you call modify-multi-column-list-panel-columns
.CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27