Package: gtk

Function gtk:cell-renderer-alignment

Lambda List

gtk:cell-renderer-alignment (cell)

Syntax

(gtk:cell-renderer-alignment cell) => xalign, yalign
(setf (gtk:cell-renderer-alignment cell) (list xalign yalign))

Arguments

cell -- a gtk:cell-renderer object
xalign -- a single float for the x alignment of the cell renderer
yalign -- a single float for the y alignment of the cell renderer

Details

The gtk:cell-renderer-alignment function returns the appropriate xalign and yalign values of the cell renderer. The (setf gtk:cell-renderer-alignment) function sets the alignment of the cell renderer within its available space.The xalign and yalign values are coerced to single floats before assignment.
 

See also

2023-12-3