Package: gtk
Function gtk-cell-renderer-size
Lambda Listgtk-cell-renderer-size (cell widget area) ArgumentsReturn Value x-offset -- an integer with the x offset of cell relative to area, or nil y-offset -- 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 function gtk-cell-renderer-render. If area 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 x-offset and y-offset are inclusive of the xpad and ypad properties. Warning | See also |
2021-3-7