public virtual void get_size (Widget widget, Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height)
Warning: get_size is deprecated since 3.0. Use get_preferred_size.
Obtains the width and height needed to render the cell.
Use get_preferred_size instead.
Used by view widgets to determine the appropriate size for the cell_area passed to
cell_area is not
null, fills in the x and y offsets (if set) of the cell relative to this location.
Please note that the values set in
height, as well as those in
are inclusive of the xpad and ypad properties.
the widget the renderer is rendering to
The area a cell will be allocated, or null
location to return x offset of cell relative to
location to return y offset of cell relative to
location to return width needed to render a cell, or null
location to return height needed to render a cell, or null