Method

GtkTreeViewColumncell_get_size

Declaration [src]

void
gtk_tree_view_column_cell_get_size (
  GtkTreeViewColumn* tree_column,
  const GdkRectangle* cell_area,
  gint* x_offset,
  gint* y_offset,
  gint* width,
  gint* height
)

Description [src]

Obtains the width and height needed to render the column. This is used primarily by the GtkTreeView.

Parameters

cell_area

Type: GdkRectangle

The area a cell in the column will be allocated, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
x_offset

Type: gint*

Location to return x offset of a cell relative to cell_area, or NULL.

The argument will be set by the function.
The argument can be NULL.
y_offset

Type: gint*

Location to return y offset of a cell relative to cell_area, or NULL.

The argument will be set by the function.
The argument can be NULL.
width

Type: gint*

Location to return width needed to render a cell, or NULL.

The argument will be set by the function.
The argument can be NULL.
height

Type: gint*

Location to return height needed to render a cell, or NULL.

The argument will be set by the function.
The argument can be NULL.