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 <!-- ##### STRUCT GtkIconView ##### -->
27 The <structname>GtkIconView</structname> struct contains only
28 private fields and should not be directly accessed.
32 <!-- ##### SIGNAL GtkIconView::activate-cursor-item ##### -->
37 @iconview: the object which received the signal.
40 <!-- ##### SIGNAL GtkIconView::item-activated ##### -->
45 @iconview: the object which received the signal.
48 <!-- ##### SIGNAL GtkIconView::move-cursor ##### -->
53 @iconview: the object which received the signal.
58 <!-- ##### SIGNAL GtkIconView::select-all ##### -->
63 @iconview: the object which received the signal.
65 <!-- ##### SIGNAL GtkIconView::select-cursor-item ##### -->
70 @iconview: the object which received the signal.
72 <!-- ##### SIGNAL GtkIconView::selection-changed ##### -->
77 @iconview: the object which received the signal.
79 <!-- ##### SIGNAL GtkIconView::set-scroll-adjustments ##### -->
84 @iconview: the object which received the signal.
88 <!-- ##### SIGNAL GtkIconView::toggle-cursor-item ##### -->
93 @iconview: the object which received the signal.
95 <!-- ##### SIGNAL GtkIconView::unselect-all ##### -->
100 @iconview: the object which received the signal.
102 <!-- ##### ARG GtkIconView:column-spacing ##### -->
107 <!-- ##### ARG GtkIconView:columns ##### -->
112 <!-- ##### ARG GtkIconView:item-padding ##### -->
117 <!-- ##### ARG GtkIconView:item-width ##### -->
122 <!-- ##### ARG GtkIconView:margin ##### -->
127 <!-- ##### ARG GtkIconView:markup-column ##### -->
132 <!-- ##### ARG GtkIconView:model ##### -->
137 <!-- ##### ARG GtkIconView:orientation ##### -->
142 <!-- ##### ARG GtkIconView:pixbuf-column ##### -->
147 <!-- ##### ARG GtkIconView:reorderable ##### -->
152 <!-- ##### ARG GtkIconView:row-spacing ##### -->
157 <!-- ##### ARG GtkIconView:selection-mode ##### -->
162 <!-- ##### ARG GtkIconView:spacing ##### -->
167 <!-- ##### ARG GtkIconView:text-column ##### -->
172 <!-- ##### ARG GtkIconView:tooltip-column ##### -->
177 <!-- ##### ARG GtkIconView:selection-box-alpha ##### -->
182 <!-- ##### ARG GtkIconView:selection-box-color ##### -->
187 <!-- ##### USER_FUNCTION GtkIconViewForeachFunc ##### -->
189 A function used by gtk_icon_view_selected_foreach() to map all
190 selected rows. It will be called on every selected row in the view.
193 @icon_view: a #GtkIconView
194 @path: The #GtkTreePath of a selected row
198 <!-- ##### FUNCTION gtk_icon_view_new ##### -->
206 <!-- ##### FUNCTION gtk_icon_view_new_with_model ##### -->
215 <!-- ##### FUNCTION gtk_icon_view_set_model ##### -->
224 <!-- ##### FUNCTION gtk_icon_view_get_model ##### -->
233 <!-- ##### FUNCTION gtk_icon_view_set_text_column ##### -->
242 <!-- ##### FUNCTION gtk_icon_view_get_text_column ##### -->
251 <!-- ##### FUNCTION gtk_icon_view_set_markup_column ##### -->
260 <!-- ##### FUNCTION gtk_icon_view_get_markup_column ##### -->
269 <!-- ##### FUNCTION gtk_icon_view_set_pixbuf_column ##### -->
278 <!-- ##### FUNCTION gtk_icon_view_get_pixbuf_column ##### -->
287 <!-- ##### FUNCTION gtk_icon_view_get_path_at_pos ##### -->
298 <!-- ##### FUNCTION gtk_icon_view_get_item_at_pos ##### -->
311 <!-- ##### FUNCTION gtk_icon_view_convert_widget_to_bin_window_coords ##### -->
323 <!-- ##### FUNCTION gtk_icon_view_set_cursor ##### -->
334 <!-- ##### FUNCTION gtk_icon_view_get_cursor ##### -->
345 <!-- ##### FUNCTION gtk_icon_view_selected_foreach ##### -->
355 <!-- ##### FUNCTION gtk_icon_view_set_selection_mode ##### -->
364 <!-- ##### FUNCTION gtk_icon_view_get_selection_mode ##### -->
373 <!-- ##### FUNCTION gtk_icon_view_set_orientation ##### -->
382 <!-- ##### FUNCTION gtk_icon_view_get_orientation ##### -->
391 <!-- ##### FUNCTION gtk_icon_view_set_columns ##### -->
400 <!-- ##### FUNCTION gtk_icon_view_get_columns ##### -->
409 <!-- ##### FUNCTION gtk_icon_view_set_item_width ##### -->
418 <!-- ##### FUNCTION gtk_icon_view_get_item_width ##### -->
427 <!-- ##### FUNCTION gtk_icon_view_set_spacing ##### -->
436 <!-- ##### FUNCTION gtk_icon_view_get_spacing ##### -->
445 <!-- ##### FUNCTION gtk_icon_view_set_row_spacing ##### -->
454 <!-- ##### FUNCTION gtk_icon_view_get_row_spacing ##### -->
463 <!-- ##### FUNCTION gtk_icon_view_set_column_spacing ##### -->
472 <!-- ##### FUNCTION gtk_icon_view_get_column_spacing ##### -->
481 <!-- ##### FUNCTION gtk_icon_view_set_margin ##### -->
490 <!-- ##### FUNCTION gtk_icon_view_get_margin ##### -->
499 <!-- ##### FUNCTION gtk_icon_view_set_item_padding ##### -->
508 <!-- ##### FUNCTION gtk_icon_view_get_item_padding ##### -->
517 <!-- ##### FUNCTION gtk_icon_view_select_path ##### -->
526 <!-- ##### FUNCTION gtk_icon_view_unselect_path ##### -->
535 <!-- ##### FUNCTION gtk_icon_view_path_is_selected ##### -->
545 <!-- ##### FUNCTION gtk_icon_view_get_selected_items ##### -->
554 <!-- ##### FUNCTION gtk_icon_view_select_all ##### -->
562 <!-- ##### FUNCTION gtk_icon_view_unselect_all ##### -->
570 <!-- ##### FUNCTION gtk_icon_view_item_activated ##### -->
579 <!-- ##### FUNCTION gtk_icon_view_scroll_to_path ##### -->
591 <!-- ##### FUNCTION gtk_icon_view_get_visible_range ##### -->
602 <!-- ##### FUNCTION gtk_icon_view_set_tooltip_item ##### -->
612 <!-- ##### FUNCTION gtk_icon_view_set_tooltip_cell ##### -->
623 <!-- ##### FUNCTION gtk_icon_view_get_tooltip_context ##### -->
638 <!-- ##### FUNCTION gtk_icon_view_set_tooltip_column ##### -->
647 <!-- ##### FUNCTION gtk_icon_view_get_tooltip_column ##### -->
656 <!-- ##### ENUM GtkIconViewDropPosition ##### -->
658 An enum for determining where a dropped item goes.
661 @GTK_ICON_VIEW_NO_DROP: no drop possible
662 @GTK_ICON_VIEW_DROP_INTO: dropped item replaces the item
663 @GTK_ICON_VIEW_DROP_LEFT: droppped item is inserted to the left
664 @GTK_ICON_VIEW_DROP_RIGHT: dropped item is inserted to the right
665 @GTK_ICON_VIEW_DROP_ABOVE: dropped item is inserted above
666 @GTK_ICON_VIEW_DROP_BELOW: dropped item is inserted below
668 <!-- ##### FUNCTION gtk_icon_view_enable_model_drag_source ##### -->
680 <!-- ##### FUNCTION gtk_icon_view_enable_model_drag_dest ##### -->
691 <!-- ##### FUNCTION gtk_icon_view_unset_model_drag_source ##### -->
699 <!-- ##### FUNCTION gtk_icon_view_unset_model_drag_dest ##### -->
707 <!-- ##### FUNCTION gtk_icon_view_set_reorderable ##### -->
716 <!-- ##### FUNCTION gtk_icon_view_get_reorderable ##### -->
725 <!-- ##### FUNCTION gtk_icon_view_set_drag_dest_item ##### -->
735 <!-- ##### FUNCTION gtk_icon_view_get_drag_dest_item ##### -->
745 <!-- ##### FUNCTION gtk_icon_view_get_dest_item_at_pos ##### -->
758 <!-- ##### FUNCTION gtk_icon_view_create_drag_icon ##### -->