Method
GtkCellViewget_size_of_row
deprecated: 3.0 since: 2.6
Declaration [src]
gboolean
gtk_cell_view_get_size_of_row (
GtkCellView* cell_view,
GtkTreePath* path,
GtkRequisition* requisition
)
Description [src]
Sets requisition
to the size needed by cell_view
to display
the model row pointed to by path
.
Available since: 2.6
Deprecated since: 3.0
Combo box formerly used this to calculate the
sizes for cellviews, now you can achieve this by either using
the GtkCellView:fit-model
property or by setting the currently
displayed row of the GtkCellView
and using gtk_widget_get_preferred_size().
Parameters
path
-
Type:
GtkTreePath
A
GtkTreePath
.The data is owned by the caller of the method. requisition
-
Type:
GtkRequisition
Return location for the size.
The argument will be set by the function. The returned data is owned by the instance.