Method

GtkTreeViewColumncell_get_position

Declaration [src]

gboolean
gtk_tree_view_column_cell_get_position (
  GtkTreeViewColumn* tree_column,
  GtkCellRenderer* cell_renderer,
  gint* x_offset,
  gint* width
)

Description [src]

Obtains the horizontal position and size of a cell in a column. If the cell is not found in the column, start_pos and width are not changed and FALSE is returned.

Parameters

cell_renderer

Type: GtkCellRenderer

A GtkCellRenderer.

The data is owned by the caller of the method.
x_offset

Type: gint*

Return location for the horizontal position of cell within tree_column, may be NULL.

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

Type: gint*

Return location for the width of cell, may be NULL.

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

Return value

Type: gboolean

TRUE if cell belongs to tree_column.