diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-06-19 18:58:13 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-06-22 13:50:33 -0400 |
commit | fb91fa2fbd5ca93afd44744d23c47518cef55ef4 (patch) | |
tree | 927f660d0f27f46098f8e15759461b0e79c4c5cb /gtk/gtkiconview.h | |
parent | 330d63868336f6ae59716493a69651b9f0cabe62 (diff) | |
download | gtk+-fb91fa2fbd5ca93afd44744d23c47518cef55ef4.tar.gz |
Add gtk_icon_view_get_cell_area
This gets the current cell area of a particular item. Its similar
to gtk_tree_view_get_cell_area().
The code is extracted from gtk_icon_view_set_tooltip_cell which now
just calls the old code.
https://bugzilla.gnome.org/show_bug.cgi?id=678418
Diffstat (limited to 'gtk/gtkiconview.h')
-rw-r--r-- | gtk/gtkiconview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkiconview.h b/gtk/gtkiconview.h index 6e9f6c4963..469e9ffa81 100644 --- a/gtk/gtkiconview.h +++ b/gtk/gtkiconview.h @@ -235,6 +235,11 @@ void gtk_icon_view_convert_widget_to_bin_window_coords (GtkIconView *icon gint wy, gint *bx, gint *by); +GDK_AVAILABLE_IN_3_6 +gboolean gtk_icon_view_get_cell_area (GtkIconView *icon_view, + GtkTreePath *path, + GtkCellRenderer *cell, + GdkRectangle *rect); void gtk_icon_view_set_tooltip_item (GtkIconView *icon_view, |