title-reader

Generic Function

Package: common-graphics

Arguments: check-box-column-mixin

An accessor on a check-box column 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. 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 of the Navigator dialog Examples tab:

(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)))

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.