方法
GtkIconViewget_cell_rect
弃用:4.10
声明 [src]
gboolean
gtk_icon_view_get_cell_rect (
GtkIconView* icon_view,
GtkTreePath* path,
GtkCellRenderer* cell,
GdkRectangle* rect
)
描述 [src]
在组件坐标中填充由 path 和 cell 指定的单元格的边界矩形。如果 cell 是 NULL,则使用主单元格区域。
此函数仅在 icon_view 实现后才有效。
已弃用:4.10
请使用 GtkGridView 代替。
参数
path-
类型:
GtkTreePath一个
GtkTreePath。数据由方法的调用者拥有。 cell-
类型:
GtkCellRenderer一个
GtkCellRenderer。参数可以是 NULL。数据由方法的调用者拥有。 rect-
类型:
GdkRectangle用单元格矩形填充的矩形。
函数将设置参数。 返回的数据由实例拥有。