Pike v8.0 release 1738

Method GTK2.CellRenderer()->get_size()


Method get_size

mapping get_size(GTK2.Widget widget, GTK2.GdkRectangle cell_area)

Description

Obtains the width and heigh needed to render the cell. Used by widgets to determine the appropriate size for the cell_area passed to render(). If cell_area is present, fills in the x and y offset 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.