Package: gtk
Function gtk:cell-renderer-size
Lambda Listgtk:cell-renderer-size (cell widget area) ArgumentsReturn Value xoffset -- an integer with the x offset of cell relative to area, or nil yoffset -- an integer with the y offset of cell relative to area, or nil width -- an integer with the width needed to render a cell, or nil height -- an integer with the height needed to render a cell, or nil Details
Obtains the width and height needed to render the cell.
Used by tree view widgets to determine the appropriate size for the cell area passed to the gtk:cell-renderer-render function. If the area argument is not nil, fills in the x and y offsets (if set)
of the cell relative to this location. Please note that the values set in width and height, as well as those in xoffset and yoffset are inclusive of the xpad and ypad properties. Warning | See also |
2024-3-24