gtkCellRendererGetSize {RGtk2}R Documentation

gtkCellRendererGetSize

Description

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 gtkCellRendererRender. If cell.area is not NULL, fills in the x and y offsets (if set) of the cell relative to this location.

Usage

gtkCellRendererGetSize(object, widget, cell.area = NULL)

Arguments

object [GtkCellRenderer] a GtkCellRenderer
widget [GtkWidget] the widget the renderer is rendering to
cell.area [GdkRectangle] The area a cell will be allocated, or NULL

Details

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.

Value

A list containing the following elements:

x.offset [integer] location to return x offset of cell relative to cell.area, or NULL
y.offset [integer] location to return y offset of cell relative to cell.area, or NULL
width [integer] location to return width needed to render a cell, or NULL
height [integer] location to return height needed to render a cell, or NULL

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]