| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |
Arguments: grid-row grid-column
Returns a non-negative integer indicating the breadth (in pixels) of
margins along the left and right sides of a grid cell (specified by
the grid-row and grid-column
arguments) in a grid-widget
to reserve between the
cell's border and whatever is drawn in the cell. The built-in draw-cell methods call
this function to determine where to draw text in the cell; these
built-in draw-cell methods include the ones
for the special widget mixin columns such as editable-text-column-mixin
, as well
as the default draw-cell method that simply draws
a string from the object that is returned by read-cell-value and data-read-converter.
The default cell-horizontal-padding method returns 4. An application may supply methods to change the padding for built-in cell types, and also for custom cell types if the associated custom draw-cell methods call this generic function and use the returned values (which is not required).
See also cell-vertical-padding.
Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.
| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |