1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 A widget which displays a list of icons in a grid
7 <!-- ##### SECTION Long_Description ##### -->
9 #GtkIconView provides an alternative view on a list model.
10 It displays the model as a grid of icons with labels. Like
11 #GtkTreeView, it allows to select one or multiple items
12 (depending on the selection mode, see gtk_icon_view_set_selection_mode()).
13 In addition to selection with the arrow keys, #GtkIconView supports
14 rubberband selection, which is controlled by dragging the pointer.
17 <!-- ##### SECTION See_Also ##### -->
22 <!-- ##### SECTION Stability_Level ##### -->
25 <!-- ##### SECTION Image ##### -->
28 <!-- ##### STRUCT GtkIconView ##### -->
30 The <structname>GtkIconView</structname> struct contains only
31 private fields and should not be directly accessed.
35 <!-- ##### SIGNAL GtkIconView::activate-cursor-item ##### -->
40 @iconview: the object which received the signal.
43 <!-- ##### SIGNAL GtkIconView::item-activated ##### -->
48 @iconview: the object which received the signal.
51 <!-- ##### SIGNAL GtkIconView::move-cursor ##### -->
56 @iconview: the object which received the signal.
61 <!-- ##### SIGNAL GtkIconView::select-all ##### -->
66 @iconview: the object which received the signal.
68 <!-- ##### SIGNAL GtkIconView::select-cursor-item ##### -->
73 @iconview: the object which received the signal.
75 <!-- ##### SIGNAL GtkIconView::selection-changed ##### -->
80 @iconview: the object which received the signal.
82 <!-- ##### SIGNAL GtkIconView::set-scroll-adjustments ##### -->
87 @iconview: the object which received the signal.
91 <!-- ##### SIGNAL GtkIconView::toggle-cursor-item ##### -->
96 @iconview: the object which received the signal.
98 <!-- ##### SIGNAL GtkIconView::unselect-all ##### -->
103 @iconview: the object which received the signal.
105 <!-- ##### ARG GtkIconView:column-spacing ##### -->
110 <!-- ##### ARG GtkIconView:columns ##### -->
115 <!-- ##### ARG GtkIconView:item-padding ##### -->
120 <!-- ##### ARG GtkIconView:item-width ##### -->
125 <!-- ##### ARG GtkIconView:margin ##### -->
130 <!-- ##### ARG GtkIconView:markup-column ##### -->
135 <!-- ##### ARG GtkIconView:model ##### -->
140 <!-- ##### ARG GtkIconView:orientation ##### -->
145 <!-- ##### ARG GtkIconView:pixbuf-column ##### -->
150 <!-- ##### ARG GtkIconView:reorderable ##### -->
155 <!-- ##### ARG GtkIconView:row-spacing ##### -->
160 <!-- ##### ARG GtkIconView:selection-mode ##### -->
165 <!-- ##### ARG GtkIconView:spacing ##### -->
170 <!-- ##### ARG GtkIconView:text-column ##### -->
175 <!-- ##### ARG GtkIconView:tooltip-column ##### -->
180 <!-- ##### ARG GtkIconView:selection-box-alpha ##### -->
185 <!-- ##### ARG GtkIconView:selection-box-color ##### -->
190 <!-- ##### USER_FUNCTION GtkIconViewForeachFunc ##### -->
192 A function used by gtk_icon_view_selected_foreach() to map all
193 selected rows. It will be called on every selected row in the view.
196 @icon_view: a #GtkIconView
197 @path: The #GtkTreePath of a selected row
201 <!-- ##### FUNCTION gtk_icon_view_new ##### -->
210 <!-- ##### FUNCTION gtk_icon_view_new_with_model ##### -->
219 <!-- ##### FUNCTION gtk_icon_view_set_model ##### -->
228 <!-- ##### FUNCTION gtk_icon_view_get_model ##### -->
237 <!-- ##### FUNCTION gtk_icon_view_set_text_column ##### -->
246 <!-- ##### FUNCTION gtk_icon_view_get_text_column ##### -->
255 <!-- ##### FUNCTION gtk_icon_view_set_markup_column ##### -->
264 <!-- ##### FUNCTION gtk_icon_view_get_markup_column ##### -->
273 <!-- ##### FUNCTION gtk_icon_view_set_pixbuf_column ##### -->
282 <!-- ##### FUNCTION gtk_icon_view_get_pixbuf_column ##### -->
291 <!-- ##### FUNCTION gtk_icon_view_get_path_at_pos ##### -->
302 <!-- ##### FUNCTION gtk_icon_view_get_item_at_pos ##### -->
315 <!-- ##### FUNCTION gtk_icon_view_convert_widget_to_bin_window_coords ##### -->
327 <!-- ##### FUNCTION gtk_icon_view_set_cursor ##### -->
338 <!-- ##### FUNCTION gtk_icon_view_get_cursor ##### -->
349 <!-- ##### FUNCTION gtk_icon_view_selected_foreach ##### -->
359 <!-- ##### FUNCTION gtk_icon_view_set_selection_mode ##### -->
368 <!-- ##### FUNCTION gtk_icon_view_get_selection_mode ##### -->
377 <!-- ##### FUNCTION gtk_icon_view_set_orientation ##### -->
386 <!-- ##### FUNCTION gtk_icon_view_get_orientation ##### -->
395 <!-- ##### FUNCTION gtk_icon_view_set_columns ##### -->
404 <!-- ##### FUNCTION gtk_icon_view_get_columns ##### -->
413 <!-- ##### FUNCTION gtk_icon_view_set_item_width ##### -->
422 <!-- ##### FUNCTION gtk_icon_view_get_item_width ##### -->
431 <!-- ##### FUNCTION gtk_icon_view_set_spacing ##### -->
440 <!-- ##### FUNCTION gtk_icon_view_get_spacing ##### -->
449 <!-- ##### FUNCTION gtk_icon_view_set_row_spacing ##### -->
458 <!-- ##### FUNCTION gtk_icon_view_get_row_spacing ##### -->
467 <!-- ##### FUNCTION gtk_icon_view_set_column_spacing ##### -->
476 <!-- ##### FUNCTION gtk_icon_view_get_column_spacing ##### -->
485 <!-- ##### FUNCTION gtk_icon_view_set_margin ##### -->
494 <!-- ##### FUNCTION gtk_icon_view_get_margin ##### -->
503 <!-- ##### FUNCTION gtk_icon_view_set_item_padding ##### -->
512 <!-- ##### FUNCTION gtk_icon_view_get_item_padding ##### -->
521 <!-- ##### FUNCTION gtk_icon_view_select_path ##### -->
530 <!-- ##### FUNCTION gtk_icon_view_unselect_path ##### -->
539 <!-- ##### FUNCTION gtk_icon_view_path_is_selected ##### -->
549 <!-- ##### FUNCTION gtk_icon_view_get_selected_items ##### -->
558 <!-- ##### FUNCTION gtk_icon_view_select_all ##### -->
566 <!-- ##### FUNCTION gtk_icon_view_unselect_all ##### -->
574 <!-- ##### FUNCTION gtk_icon_view_item_activated ##### -->
583 <!-- ##### FUNCTION gtk_icon_view_scroll_to_path ##### -->
595 <!-- ##### FUNCTION gtk_icon_view_get_visible_range ##### -->
606 <!-- ##### FUNCTION gtk_icon_view_set_tooltip_item ##### -->
616 <!-- ##### FUNCTION gtk_icon_view_set_tooltip_cell ##### -->
627 <!-- ##### FUNCTION gtk_icon_view_get_tooltip_context ##### -->
642 <!-- ##### FUNCTION gtk_icon_view_set_tooltip_column ##### -->
651 <!-- ##### FUNCTION gtk_icon_view_get_tooltip_column ##### -->
660 <!-- ##### ENUM GtkIconViewDropPosition ##### -->
662 An enum for determining where a dropped item goes.
665 @GTK_ICON_VIEW_NO_DROP: no drop possible
666 @GTK_ICON_VIEW_DROP_INTO: dropped item replaces the item
667 @GTK_ICON_VIEW_DROP_LEFT: droppped item is inserted to the left
668 @GTK_ICON_VIEW_DROP_RIGHT: dropped item is inserted to the right
669 @GTK_ICON_VIEW_DROP_ABOVE: dropped item is inserted above
670 @GTK_ICON_VIEW_DROP_BELOW: dropped item is inserted below
672 <!-- ##### FUNCTION gtk_icon_view_enable_model_drag_source ##### -->
684 <!-- ##### FUNCTION gtk_icon_view_enable_model_drag_dest ##### -->
695 <!-- ##### FUNCTION gtk_icon_view_unset_model_drag_source ##### -->
703 <!-- ##### FUNCTION gtk_icon_view_unset_model_drag_dest ##### -->
711 <!-- ##### FUNCTION gtk_icon_view_set_reorderable ##### -->
720 <!-- ##### FUNCTION gtk_icon_view_get_reorderable ##### -->
729 <!-- ##### FUNCTION gtk_icon_view_set_drag_dest_item ##### -->
739 <!-- ##### FUNCTION gtk_icon_view_get_drag_dest_item ##### -->
749 <!-- ##### FUNCTION gtk_icon_view_get_dest_item_at_pos ##### -->
762 <!-- ##### FUNCTION gtk_icon_view_create_drag_icon ##### -->