Method

GtkTreeViewColumncell_get_position

Declaration [src]

gboolean
gtk_tree_view_column_cell_get_position (
  GtkTreeViewColumn* tree_column,
  GtkCellRenderer* cell_renderer,
  int* x_offset,
  int* 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 GtkCellRenderer
 

A GtkCellRenderer.

 The data is owned by the caller of the function.
x_offset int*
 

Return location for the horizontal position of cell within tree_column.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
width int*
 

Return location for the width of cell.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.

Return value

Returns: gboolean
 

TRUE if cell belongs to tree_column.