CellRenderer.getSize

Obtains the width and height needed to render the cell. Used by view widgets to determine the appropriate size for the cell_area passed to gtk.cell_renderer.CellRenderer.render. If 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 width and height, as well as those in x_offset and y_offset are inclusive of the xpad and ypad properties.

More...
class CellRenderer
void
getSize

Parameters

widget gtk.widget.Widget

the widget the renderer is rendering to

cellArea gdk.rectangle.Rectangle

The area a cell will be allocated, or null

xOffset int

location to return x offset of cell relative to cell_area, or null

yOffset int

location to return y offset of cell relative to cell_area, or null

width int

location to return width needed to render a cell, or null

height int

location to return height needed to render a cell, or null

Detailed Description