Method

GtkIconViewget_cell_rect

Declaration [src]

gboolean
gtk_icon_view_get_cell_rect (
  GtkIconView* icon_view,
  GtkTreePath* path,
  GtkCellRenderer* cell,
  GdkRectangle* rect
)

Description [src]

Fills the bounding rectangle in widget coordinates for the cell specified by path and cell. If cell is NULL the main cell area is used.

This function is only valid if icon_view is realized.

Available since:3.6

Parameters

path

Type: GtkTreePath

A GtkTreePath.

The data is owned by the caller of the function.
cell

Type: GtkCellRenderer

A GtkCellRenderer or NULL.

The argument can be NULL.
The data is owned by the caller of the function.
rect

Type: GdkRectangle

Rectangle to fill with cell rect.

The argument will be set by the function.
The data is owned by the caller of the function.

Return value

Type: gboolean

FALSE if there is no such item, TRUE otherwise.