| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |
Arguments: check-box-column-mixin
An accessor on a check-box column (an instance of a subclass of
grid-column
and check-box-column-mixin
) of a
grid-widget
. Returns (or sets with
setf) the name of a function
which will be called in order to obtain the string to display in each
check-box grid cell. A title-reader may also be nil
rather than a function, in which case no string
is displayed and the check-box
gadget is centered horizontally in the
grid cell. The default value is nil
.
The function should take an arbitrary grid-row's data-object as its only argument, and return a string to display in that row. For example, here is the title-reader function for the "Full Time?" column of the employee grid example on the Examples tab of the Navigator dialog:
(defun full-time-p-title-reader (employee) ;; Show a string such as "Trent's full-time" ;; beside the check-box. (format nil "~:(~a~)'s full-time" (name employee)))
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |