diff options
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gtk3/GtkIconView.html')
-rw-r--r-- | gtk+-mingw/share/gtk-doc/html/gtk3/GtkIconView.html | 2629 |
1 files changed, 0 insertions, 2629 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkIconView.html b/gtk+-mingw/share/gtk-doc/html/gtk3/GtkIconView.html deleted file mode 100644 index 165ed0a..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkIconView.html +++ /dev/null @@ -1,2629 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GtkIconView</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GTK+ 3 Reference Manual"> -<link rel="up" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets"> -<link rel="prev" href="GtkCellView.html" title="GtkCellView"> -<link rel="next" href="GtkTreeSortable.html" title="GtkTreeSortable"> -<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="GtkCellView.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="TreeWidgetObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">GTK+ 3 Reference Manual</th> -<td><a accesskey="n" href="GtkTreeSortable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GtkIconView.synopsis" class="shortcut">Top</a> - | - <a href="#GtkIconView.description" class="shortcut">Description</a> - | - <a href="#GtkIconView.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#GtkIconView.implemented-interfaces" class="shortcut">Implemented Interfaces</a> - | - <a href="#GtkIconView.properties" class="shortcut">Properties</a> - | - <a href="#GtkIconView.style-properties" class="shortcut">Style Properties</a> - | - <a href="#GtkIconView.signals" class="shortcut">Signals</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GtkIconView"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GtkIconView.top_of_page"></a>GtkIconView</span></h2> -<p>GtkIconView — A widget which displays a list of icons in a grid</p> -</td> -<td valign="top" align="right"><img src="icon-view.png"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="GtkIconView.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <gtk/gtk.h> - -struct <a class="link" href="GtkIconView.html#GtkIconView-struct" title="struct GtkIconView">GtkIconView</a>; -<span class="returnvalue">void</span> (<a class="link" href="GtkIconView.html#GtkIconViewForeachFunc" title="GtkIconViewForeachFunc ()">*GtkIconViewForeachFunc</a>) (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkIconView.html#gtk-icon-view-new" title="gtk_icon_view_new ()">gtk_icon_view_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>); -<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkIconView.html#gtk-icon-view-new-with-area" title="gtk_icon_view_new_with_area ()">gtk_icon_view_new_with_area</a> (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>); -<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkIconView.html#gtk-icon-view-new-with-model" title="gtk_icon_view_new_with_model ()">gtk_icon_view_new_with_model</a> (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-model" title="gtk_icon_view_set_model ()">gtk_icon_view_set_model</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>); -<a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> * <a class="link" href="GtkIconView.html#gtk-icon-view-get-model" title="gtk_icon_view_get_model ()">gtk_icon_view_get_model</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-text-column" title="gtk_icon_view_set_text_column ()">gtk_icon_view_set_text_column</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-text-column" title="gtk_icon_view_get_text_column ()">gtk_icon_view_get_text_column</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-markup-column" title="gtk_icon_view_set_markup_column ()">gtk_icon_view_set_markup_column</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-markup-column" title="gtk_icon_view_get_markup_column ()">gtk_icon_view_get_markup_column</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-pixbuf-column" title="gtk_icon_view_set_pixbuf_column ()">gtk_icon_view_set_pixbuf_column</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-pixbuf-column" title="gtk_icon_view_get_pixbuf_column ()">gtk_icon_view_get_pixbuf_column</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="returnvalue">GtkTreePath</span></a> * <a class="link" href="GtkIconView.html#gtk-icon-view-get-path-at-pos" title="gtk_icon_view_get_path_at_pos ()">gtk_icon_view_get_path_at_pos</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-item-at-pos" title="gtk_icon_view_get_item_at_pos ()">gtk_icon_view_get_item_at_pos</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> **cell</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-convert-widget-to-bin-window-coords" title="gtk_icon_view_convert_widget_to_bin_window_coords ()">gtk_icon_view_convert_widget_to_bin_window_coords</a> - (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> wx</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> wy</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bx</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *by</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-cursor" title="gtk_icon_view_set_cursor ()">gtk_icon_view_set_cursor</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> start_editing</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-cursor" title="gtk_icon_view_get_cursor ()">gtk_icon_view_get_cursor</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> **cell</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-selected-foreach" title="gtk_icon_view_selected_foreach ()">gtk_icon_view_selected_foreach</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkIconView.html#GtkIconViewForeachFunc" title="GtkIconViewForeachFunc ()"><span class="type">GtkIconViewForeachFunc</span></a> func</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-selection-mode" title="gtk_icon_view_set_selection_mode ()">gtk_icon_view_set_selection_mode</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> mode</code></em>); -<a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-selection-mode" title="gtk_icon_view_get_selection_mode ()">gtk_icon_view_get_selection_mode</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-item-orientation" title="gtk_icon_view_set_item_orientation ()">gtk_icon_view_set_item_orientation</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>); -<a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-item-orientation" title="gtk_icon_view_get_item_orientation ()">gtk_icon_view_get_item_orientation</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-columns" title="gtk_icon_view_set_columns ()">gtk_icon_view_set_columns</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> columns</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-columns" title="gtk_icon_view_get_columns ()">gtk_icon_view_get_columns</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-item-width" title="gtk_icon_view_set_item_width ()">gtk_icon_view_set_item_width</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_width</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-item-width" title="gtk_icon_view_get_item_width ()">gtk_icon_view_get_item_width</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-spacing" title="gtk_icon_view_set_spacing ()">gtk_icon_view_set_spacing</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-spacing" title="gtk_icon_view_get_spacing ()">gtk_icon_view_get_spacing</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-row-spacing" title="gtk_icon_view_set_row_spacing ()">gtk_icon_view_set_row_spacing</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_spacing</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-row-spacing" title="gtk_icon_view_get_row_spacing ()">gtk_icon_view_get_row_spacing</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-column-spacing" title="gtk_icon_view_set_column_spacing ()">gtk_icon_view_set_column_spacing</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_spacing</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-column-spacing" title="gtk_icon_view_get_column_spacing ()">gtk_icon_view_get_column_spacing</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-margin" title="gtk_icon_view_set_margin ()">gtk_icon_view_set_margin</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> margin</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-margin" title="gtk_icon_view_get_margin ()">gtk_icon_view_get_margin</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-item-padding" title="gtk_icon_view_set_item_padding ()">gtk_icon_view_set_item_padding</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_padding</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-item-padding" title="gtk_icon_view_get_item_padding ()">gtk_icon_view_get_item_padding</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-select-path" title="gtk_icon_view_select_path ()">gtk_icon_view_select_path</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-unselect-path" title="gtk_icon_view_unselect_path ()">gtk_icon_view_unselect_path</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-path-is-selected" title="gtk_icon_view_path_is_selected ()">gtk_icon_view_path_is_selected</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="GtkIconView.html#gtk-icon-view-get-selected-items" title="gtk_icon_view_get_selected_items ()">gtk_icon_view_get_selected_items</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-select-all" title="gtk_icon_view_select_all ()">gtk_icon_view_select_all</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-unselect-all" title="gtk_icon_view_unselect_all ()">gtk_icon_view_unselect_all</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-item-activated" title="gtk_icon_view_item_activated ()">gtk_icon_view_item_activated</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-scroll-to-path" title="gtk_icon_view_scroll_to_path ()">gtk_icon_view_scroll_to_path</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_align</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> row_align</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> col_align</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-visible-range" title="gtk_icon_view_get_visible_range ()">gtk_icon_view_get_visible_range</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **start_path</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **end_path</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-tooltip-item" title="gtk_icon_view_set_tooltip_item ()">gtk_icon_view_set_tooltip_item</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-tooltip-cell" title="gtk_icon_view_set_tooltip_cell ()">gtk_icon_view_set_tooltip_cell</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-tooltip-context" title="gtk_icon_view_get_tooltip_context ()">gtk_icon_view_get_tooltip_context</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keyboard_tip</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> **model</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-tooltip-column" title="gtk_icon_view_set_tooltip_column ()">gtk_icon_view_set_tooltip_column</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-tooltip-column" title="gtk_icon_view_get_tooltip_column ()">gtk_icon_view_get_tooltip_column</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-item-row" title="gtk_icon_view_get_item_row ()">gtk_icon_view_get_item_row</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-item-column" title="gtk_icon_view_get_item_column ()">gtk_icon_view_get_item_column</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>); - -enum <a class="link" href="GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition">GtkIconViewDropPosition</a>; -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-enable-model-drag-source" title="gtk_icon_view_enable_model_drag_source ()">gtk_icon_view_enable_model_drag_source</a> - (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://developer.gnome.org/gdk/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>, - <em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>, - <em class="parameter"><code><a href="http://developer.gnome.org/gdk/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-enable-model-drag-dest" title="gtk_icon_view_enable_model_drag_dest ()">gtk_icon_view_enable_model_drag_dest</a> - (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>, - <em class="parameter"><code><a href="http://developer.gnome.org/gdk/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-unset-model-drag-source" title="gtk_icon_view_unset_model_drag_source ()">gtk_icon_view_unset_model_drag_source</a> - (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-unset-model-drag-dest" title="gtk_icon_view_unset_model_drag_dest ()">gtk_icon_view_unset_model_drag_dest</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-reorderable" title="gtk_icon_view_set_reorderable ()">gtk_icon_view_set_reorderable</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reorderable</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-reorderable" title="gtk_icon_view_get_reorderable ()">gtk_icon_view_get_reorderable</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-set-drag-dest-item" title="gtk_icon_view_set_drag_dest_item ()">gtk_icon_view_set_drag_dest_item</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a class="link" href="GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> pos</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkIconView.html#gtk-icon-view-get-drag-dest-item" title="gtk_icon_view_get_drag_dest_item ()">gtk_icon_view_get_drag_dest_item</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> *pos</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkIconView.html#gtk-icon-view-get-dest-item-at-pos" title="gtk_icon_view_get_dest_item_at_pos ()">gtk_icon_view_get_dest_item_at_pos</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> drag_x</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> drag_y</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> *pos</code></em>); -<a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> * <a class="link" href="GtkIconView.html#gtk-icon-view-create-drag-icon" title="gtk_icon_view_create_drag_icon ()">gtk_icon_view_create_drag_icon</a> (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="GtkIconView.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> - +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> - +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> - +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> - +----GtkIconView -</pre> -</div> -<div class="refsect1"> -<a name="GtkIconView.implemented-interfaces"></a><h2>Implemented Interfaces</h2> -<p> -GtkIconView implements - AtkImplementorIface, <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>, <a class="link" href="GtkCellLayout.html" title="GtkCellLayout">GtkCellLayout</a> and <a class="link" href="GtkScrollable.html" title="GtkScrollable">GtkScrollable</a>.</p> -</div> -<div class="refsect1"> -<a name="GtkIconView.properties"></a><h2>Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkIconView.html#GtkIconView--cell-area" title='The "cell-area" property'>cell-area</a>" <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a>* : Read / Write / Construct Only - "<a class="link" href="GtkIconView.html#GtkIconView--column-spacing" title='The "column-spacing" property'>column-spacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--columns" title='The "columns" property'>columns</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--item-orientation" title='The "item-orientation" property'>item-orientation</a>" <a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--item-padding" title='The "item-padding" property'>item-padding</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--item-width" title='The "item-width" property'>item-width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--margin" title='The "margin" property'>margin</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--markup-column" title='The "markup-column" property'>markup-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--model" title='The "model" property'>model</a>" <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>* : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--pixbuf-column" title='The "pixbuf-column" property'>pixbuf-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--reorderable" title='The "reorderable" property'>reorderable</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--row-spacing" title='The "row-spacing" property'>row-spacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--selection-mode" title='The "selection-mode" property'>selection-mode</a>" <a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--spacing" title='The "spacing" property'>spacing</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--text-column" title='The "text-column" property'>text-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkIconView.html#GtkIconView--tooltip-column" title='The "tooltip-column" property'>tooltip-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write -</pre> -</div> -<div class="refsect1"> -<a name="GtkIconView.style-properties"></a><h2>Style Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkIconView.html#GtkIconView--s-selection-box-alpha" title='The "selection-box-alpha" style property'>selection-box-alpha</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> : Read - "<a class="link" href="GtkIconView.html#GtkIconView--s-selection-box-color" title='The "selection-box-color" style property'>selection-box-color</a>" <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>* : Read -</pre> -</div> -<div class="refsect1"> -<a name="GtkIconView.signals"></a><h2>Signals</h2> -<pre class="synopsis"> - "<a class="link" href="GtkIconView.html#GtkIconView-activate-cursor-item" title='The "activate-cursor-item" signal'>activate-cursor-item</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a> - "<a class="link" href="GtkIconView.html#GtkIconView-item-activated" title='The "item-activated" signal'>item-activated</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> - "<a class="link" href="GtkIconView.html#GtkIconView-move-cursor" title='The "move-cursor" signal'>move-cursor</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a> - "<a class="link" href="GtkIconView.html#GtkIconView-select-all" title='The "select-all" signal'>select-all</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a> - "<a class="link" href="GtkIconView.html#GtkIconView-select-cursor-item" title='The "select-cursor-item" signal'>select-cursor-item</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a> - "<a class="link" href="GtkIconView.html#GtkIconView-selection-changed" title='The "selection-changed" signal'>selection-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a> - "<a class="link" href="GtkIconView.html#GtkIconView-toggle-cursor-item" title='The "toggle-cursor-item" signal'>toggle-cursor-item</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a> - "<a class="link" href="GtkIconView.html#GtkIconView-unselect-all" title='The "unselect-all" signal'>unselect-all</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a> -</pre> -</div> -<div class="refsect1"> -<a name="GtkIconView.description"></a><h2>Description</h2> -<p> -<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> provides an alternative view on a <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>. -It displays the model as a grid of icons with labels. Like -<a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>, it allows to select one or multiple items -(depending on the selection mode, see <a class="link" href="GtkIconView.html#gtk-icon-view-set-selection-mode" title="gtk_icon_view_set_selection_mode ()"><code class="function">gtk_icon_view_set_selection_mode()</code></a>). -In addition to selection with the arrow keys, <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> supports -rubberband selection, which is controlled by dragging the pointer. -</p> -<p> -Note that if the tree model is backed by an actual tree store (as -opposed to a flat list where the mapping to icons is obvious), -<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> will only display the first level of the tree and -ignore the tree's branches. -</p> -</div> -<div class="refsect1"> -<a name="GtkIconView.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GtkIconView-struct"></a><h3>struct GtkIconView</h3> -<pre class="programlisting">struct GtkIconView;</pre> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconViewForeachFunc"></a><h3>GtkIconViewForeachFunc ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> (*GtkIconViewForeachFunc) (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -A function used by <a class="link" href="GtkIconView.html#gtk-icon-view-selected-foreach" title="gtk_icon_view_selected_foreach ()"><code class="function">gtk_icon_view_selected_foreach()</code></a> to map all -selected rows. It will be called on every selected row in the view. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>The <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> of a selected row</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>user data</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-new"></a><h3>gtk_icon_view_new ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_icon_view_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> -<p> -Creates a new <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> widget -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A newly created <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> widget</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-new-with-area"></a><h3>gtk_icon_view_new_with_area ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_icon_view_new_with_area (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>);</pre> -<p> -Creates a new <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> widget using the -specified <em class="parameter"><code>area</code></em> to layout cells inside the icons. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td> -<td>the <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> to use to layout cells</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A newly created <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> widget</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-new-with-model"></a><h3>gtk_icon_view_new_with_model ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_icon_view_new_with_model (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre> -<p> -Creates a new <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> widget with the model <em class="parameter"><code>model</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td> -<td>The model.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A newly created <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> widget.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-model"></a><h3>gtk_icon_view_set_model ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_model (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre> -<p> -Sets the model for a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>. -If the <em class="parameter"><code>icon_view</code></em> already has a model set, it will remove -it before setting the new model. If <em class="parameter"><code>model</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then -it will unset the old model. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td> -<td>The model. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-model"></a><h3>gtk_icon_view_get_model ()</h3> -<pre class="programlisting"><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> * gtk_icon_view_get_model (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the model the <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> is based on. Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the -model is unset. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none is -currently being used. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-text-column"></a><h3>gtk_icon_view_set_text_column ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_text_column (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre> -<p> -Sets the column with text for <em class="parameter"><code>icon_view</code></em> to be <em class="parameter"><code>column</code></em>. The text -column must be of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><span class="type">G_TYPE_STRING</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td> -<td>A column in the currently used model, or -1 to display no text</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-text-column"></a><h3>gtk_icon_view_get_text_column ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_text_column (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the column with text for <em class="parameter"><code>icon_view</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the text column, or -1 if it's unset.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-markup-column"></a><h3>gtk_icon_view_set_markup_column ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_markup_column (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre> -<p> -Sets the column with markup information for <em class="parameter"><code>icon_view</code></em> to be -<em class="parameter"><code>column</code></em>. The markup column must be of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><span class="type">G_TYPE_STRING</span></a>. -If the markup column is set to something, it overrides -the text column set by <a class="link" href="GtkIconView.html#gtk-icon-view-set-text-column" title="gtk_icon_view_set_text_column ()"><code class="function">gtk_icon_view_set_text_column()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td> -<td>A column in the currently used model, or -1 to display no text</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-markup-column"></a><h3>gtk_icon_view_get_markup_column ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_markup_column (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the column with markup text for <em class="parameter"><code>icon_view</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the markup column, or -1 if it's unset.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-pixbuf-column"></a><h3>gtk_icon_view_set_pixbuf_column ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_pixbuf_column (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre> -<p> -Sets the column with pixbufs for <em class="parameter"><code>icon_view</code></em> to be <em class="parameter"><code>column</code></em>. The pixbuf -column must be of type <span class="type">GDK_TYPE_PIXBUF</span> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td> -<td>A column in the currently used model, or -1 to disable</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-pixbuf-column"></a><h3>gtk_icon_view_get_pixbuf_column ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_pixbuf_column (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the column with pixbufs for <em class="parameter"><code>icon_view</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the pixbuf column, or -1 if it's unset.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-path-at-pos"></a><h3>gtk_icon_view_get_path_at_pos ()</h3> -<pre class="programlisting"><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="returnvalue">GtkTreePath</span></a> * gtk_icon_view_get_path_at_pos (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre> -<p> -Finds the path at the point (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>), relative to bin_window coordinates. -See <a class="link" href="GtkIconView.html#gtk-icon-view-get-item-at-pos" title="gtk_icon_view_get_item_at_pos ()"><code class="function">gtk_icon_view_get_item_at_pos()</code></a>, if you are also interested in -the cell at the specified position. -See <a class="link" href="GtkIconView.html#gtk-icon-view-convert-widget-to-bin-window-coords" title="gtk_icon_view_convert_widget_to_bin_window_coords ()"><code class="function">gtk_icon_view_convert_widget_to_bin_window_coords()</code></a> for converting -widget coordinates to bin_window coordinates. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> -<td>The x position to be identified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td> -<td>The y position to be identified</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> corresponding to the icon or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -if no icon exists at that position.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-item-at-pos"></a><h3>gtk_icon_view_get_item_at_pos ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_view_get_item_at_pos (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> **cell</code></em>);</pre> -<p> -Finds the path at the point (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>), relative to bin_window coordinates. -In contrast to <a class="link" href="GtkIconView.html#gtk-icon-view-get-path-at-pos" title="gtk_icon_view_get_path_at_pos ()"><code class="function">gtk_icon_view_get_path_at_pos()</code></a>, this function also -obtains the cell at the specified position. The returned path should -be freed with <a class="link" href="GtkTreeModel.html#gtk-tree-path-free" title="gtk_tree_path_free ()"><code class="function">gtk_tree_path_free()</code></a>. -See <a class="link" href="GtkIconView.html#gtk-icon-view-convert-widget-to-bin-window-coords" title="gtk_icon_view_convert_widget_to_bin_window_coords ()"><code class="function">gtk_icon_view_convert_widget_to_bin_window_coords()</code></a> for converting -widget coordinates to bin_window coordinates. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> -<td>The x position to be identified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td> -<td>The y position to be identified</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>Return location for the path, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>cell</code></em> :</span></p></td> -<td>Return location for the renderer -responsible for the cell at (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>), or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if an item exists at the specified position</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-convert-widget-to-bin-window-coords"></a><h3>gtk_icon_view_convert_widget_to_bin_window_coords ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_convert_widget_to_bin_window_coords - (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> wx</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> wy</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *bx</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *by</code></em>);</pre> -<p> -Converts widget coordinates to coordinates for the bin_window, -as expected by e.g. <a class="link" href="GtkIconView.html#gtk-icon-view-get-path-at-pos" title="gtk_icon_view_get_path_at_pos ()"><code class="function">gtk_icon_view_get_path_at_pos()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>wx</code></em> :</span></p></td> -<td>X coordinate relative to the widget</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>wy</code></em> :</span></p></td> -<td>Y coordinate relative to the widget</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>bx</code></em> :</span></p></td> -<td>return location for bin_window X coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>by</code></em> :</span></p></td> -<td>return location for bin_window Y coordinate. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-cursor"></a><h3>gtk_icon_view_set_cursor ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_cursor (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> start_editing</code></em>);</pre> -<p> -Sets the current keyboard focus to be at <em class="parameter"><code>path</code></em>, and selects it. This is -useful when you want to focus the user's attention on a particular item. -If <em class="parameter"><code>cell</code></em> is not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then focus is given to the cell specified by -it. Additionally, if <em class="parameter"><code>start_editing</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then editing should be -started in the specified cell. -</p> -<p> -This function is often followed by <code class="literal">gtk_widget_grab_focus -(icon_view)</code> in order to give keyboard focus to the widget. -Please note that editing can only happen when the widget is realized. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>A <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>cell</code></em> :</span></p></td> -<td>One of the cell renderers of <em class="parameter"><code>icon_view</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>start_editing</code></em> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the specified cell should start being edited.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-cursor"></a><h3>gtk_icon_view_get_cursor ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_view_get_cursor (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> **cell</code></em>);</pre> -<p> -Fills in <em class="parameter"><code>path</code></em> and <em class="parameter"><code>cell</code></em> with the current cursor path and cell. -If the cursor isn't currently set, then *<em class="parameter"><code>path</code></em> will be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. -If no cell currently has focus, then *<em class="parameter"><code>cell</code></em> will be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. -</p> -<p> -The returned <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> must be freed with <a class="link" href="GtkTreeModel.html#gtk-tree-path-free" title="gtk_tree_path_free ()"><code class="function">gtk_tree_path_free()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>Return location for the current cursor path, -or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>cell</code></em> :</span></p></td> -<td>Return location the current focus cell, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the cursor is set.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-selected-foreach"></a><h3>gtk_icon_view_selected_foreach ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_selected_foreach (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkIconView.html#GtkIconViewForeachFunc" title="GtkIconViewForeachFunc ()"><span class="type">GtkIconViewForeachFunc</span></a> func</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre> -<p> -Calls a function for each selected icon. Note that the model or -selection cannot be modified from within this function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td> -<td>The function to call for each selected icon. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>User data to pass to the function.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-selection-mode"></a><h3>gtk_icon_view_set_selection_mode ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_selection_mode (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> mode</code></em>);</pre> -<p> -Sets the selection mode of the <em class="parameter"><code>icon_view</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td> -<td>The selection mode</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-selection-mode"></a><h3>gtk_icon_view_get_selection_mode ()</h3> -<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="returnvalue">GtkSelectionMode</span></a> gtk_icon_view_get_selection_mode (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Gets the selection mode of the <em class="parameter"><code>icon_view</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the current selection mode</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-item-orientation"></a><h3>gtk_icon_view_set_item_orientation ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_item_orientation (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre> -<p> -Sets the ::item-orientation property which determines whether the labels -are drawn beside the icons instead of below. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td> -<td>the relative position of texts and icons</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-item-orientation"></a><h3>gtk_icon_view_get_item_orientation ()</h3> -<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a> gtk_icon_view_get_item_orientation (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the value of the ::item-orientation property which determines -whether the labels are drawn beside the icons instead of below. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the relative position of texts and icons</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-columns"></a><h3>gtk_icon_view_set_columns ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_columns (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> columns</code></em>);</pre> -<p> -Sets the ::columns property which determines in how -many columns the icons are arranged. If <em class="parameter"><code>columns</code></em> is --1, the number of columns will be chosen automatically -to fill the available area. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>columns</code></em> :</span></p></td> -<td>the number of columns</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-columns"></a><h3>gtk_icon_view_get_columns ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_columns (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the value of the ::columns property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the number of columns, or -1</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-item-width"></a><h3>gtk_icon_view_set_item_width ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_item_width (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_width</code></em>);</pre> -<p> -Sets the ::item-width property which specifies the width -to use for each item. If it is set to -1, the icon view will -automatically determine a suitable item size. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>item_width</code></em> :</span></p></td> -<td>the width for each item</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-item-width"></a><h3>gtk_icon_view_get_item_width ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_item_width (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the value of the ::item-width property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the width of a single item, or -1</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-spacing"></a><h3>gtk_icon_view_set_spacing ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_spacing (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> spacing</code></em>);</pre> -<p> -Sets the ::spacing property which specifies the space -which is inserted between the cells (i.e. the icon and -the text) of an item. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>spacing</code></em> :</span></p></td> -<td>the spacing</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-spacing"></a><h3>gtk_icon_view_get_spacing ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_spacing (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the value of the ::spacing property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the space between cells</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-row-spacing"></a><h3>gtk_icon_view_set_row_spacing ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_row_spacing (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_spacing</code></em>);</pre> -<p> -Sets the ::row-spacing property which specifies the space -which is inserted between the rows of the icon view. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>row_spacing</code></em> :</span></p></td> -<td>the row spacing</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-row-spacing"></a><h3>gtk_icon_view_get_row_spacing ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_row_spacing (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the value of the ::row-spacing property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the space between rows</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-column-spacing"></a><h3>gtk_icon_view_set_column_spacing ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_column_spacing (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_spacing</code></em>);</pre> -<p> -Sets the ::column-spacing property which specifies the space -which is inserted between the columns of the icon view. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>column_spacing</code></em> :</span></p></td> -<td>the column spacing</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-column-spacing"></a><h3>gtk_icon_view_get_column_spacing ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_column_spacing (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the value of the ::column-spacing property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the space between columns</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-margin"></a><h3>gtk_icon_view_set_margin ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_margin (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> margin</code></em>);</pre> -<p> -Sets the ::margin property which specifies the space -which is inserted at the top, bottom, left and right -of the icon view. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>margin</code></em> :</span></p></td> -<td>the margin</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-margin"></a><h3>gtk_icon_view_get_margin ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_margin (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the value of the ::margin property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the space at the borders</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-item-padding"></a><h3>gtk_icon_view_set_item_padding ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_item_padding (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> item_padding</code></em>);</pre> -<p> -Sets the <a class="link" href="GtkIconView.html#GtkIconView--item-padding" title='The "item-padding" property'><span class="type">"item-padding"</span></a> property which specifies the padding -around each of the icon view's items. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>item_padding</code></em> :</span></p></td> -<td>the item padding</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.18</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-item-padding"></a><h3>gtk_icon_view_get_item_padding ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_item_padding (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the value of the ::item-padding property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the padding around items</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.18</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-select-path"></a><h3>gtk_icon_view_select_path ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_select_path (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre> -<p> -Selects the row at <em class="parameter"><code>path</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>The <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> to be selected.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-unselect-path"></a><h3>gtk_icon_view_unselect_path ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_unselect_path (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre> -<p> -Unselects the row at <em class="parameter"><code>path</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>The <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> to be unselected.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-path-is-selected"></a><h3>gtk_icon_view_path_is_selected ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_view_path_is_selected (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre> -<p> -Returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the icon pointed to by <em class="parameter"><code>path</code></em> is currently -selected. If <em class="parameter"><code>path</code></em> does not point to a valid location, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>A <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> to check selection on.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>path</code></em> is selected.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-selected-items"></a><h3>gtk_icon_view_get_selected_items ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gtk_icon_view_get_selected_items (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Creates a list of paths of all selected items. Additionally, if you are -planning on modifying the model after calling this function, you may -want to convert the returned list into a list of <a class="link" href="GtkTreeModel.html#GtkTreeRowReference" title="GtkTreeRowReference"><span class="type">GtkTreeRowReference</span></a>s. -To do this, you can use <a class="link" href="GtkTreeModel.html#gtk-tree-row-reference-new" title="gtk_tree_row_reference_new ()"><code class="function">gtk_tree_row_reference_new()</code></a>. -</p> -<p> -To free the return value, use: -</p> -<div class="informalexample"> - <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> - <tbody> - <tr> - <td class="listing_lines" align="right"><pre>1</pre></td> - <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free-full">g_list_free_full</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">list</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify">GDestroyNotify</a></span><span class="symbol">)</span><span class="normal"> gtk_tree_patch_free</span><span class="symbol">);</span></pre></td> - </tr> - </tbody> - </table> -</div> - -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> containing a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> for each selected row. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkTreePath][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-select-all"></a><h3>gtk_icon_view_select_all ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_select_all (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Selects all the icons. <em class="parameter"><code>icon_view</code></em> must has its selection mode set -to <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-unselect-all"></a><h3>gtk_icon_view_unselect_all ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_unselect_all (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Unselects all the icons. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-item-activated"></a><h3>gtk_icon_view_item_activated ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_item_activated (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre> -<p> -Activates the item determined by <em class="parameter"><code>path</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>The <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> to be activated</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-scroll-to-path"></a><h3>gtk_icon_view_scroll_to_path ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_scroll_to_path (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_align</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> row_align</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> col_align</code></em>);</pre> -<p> -Moves the alignments of <em class="parameter"><code>icon_view</code></em> to the position specified by <em class="parameter"><code>path</code></em>. -<em class="parameter"><code>row_align</code></em> determines where the row is placed, and <em class="parameter"><code>col_align</code></em> determines -where <em class="parameter"><code>column</code></em> is placed. Both are expected to be between 0.0 and 1.0. -0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means -center. -</p> -<p> -If <em class="parameter"><code>use_align</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then the alignment arguments are ignored, and the -tree does the minimum amount of work to scroll the item onto the screen. -This means that the item will be scrolled to the edge closest to its current -position. If the item is currently visible on the screen, nothing is done. -</p> -<p> -This function only works if the model is set, and <em class="parameter"><code>path</code></em> is a valid row on -the model. If the model changes before the <em class="parameter"><code>icon_view</code></em> is realized, the -centered path will be modified to reflect this change. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>The path of the item to move to.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>use_align</code></em> :</span></p></td> -<td>whether to use alignment arguments, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>row_align</code></em> :</span></p></td> -<td>The vertical alignment of the item specified by <em class="parameter"><code>path</code></em>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>col_align</code></em> :</span></p></td> -<td>The horizontal alignment of the item specified by <em class="parameter"><code>path</code></em>.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-visible-range"></a><h3>gtk_icon_view_get_visible_range ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_view_get_visible_range (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **start_path</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **end_path</code></em>);</pre> -<p> -Sets <em class="parameter"><code>start_path</code></em> and <em class="parameter"><code>end_path</code></em> to be the first and last visible path. -Note that there may be invisible paths in between. -</p> -<p> -Both paths should be freed with <a class="link" href="GtkTreeModel.html#gtk-tree-path-free" title="gtk_tree_path_free ()"><code class="function">gtk_tree_path_free()</code></a> after use. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>start_path</code></em> :</span></p></td> -<td>Return location for start of region, -or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>end_path</code></em> :</span></p></td> -<td>Return location for end of region, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if valid paths were placed in <em class="parameter"><code>start_path</code></em> and <em class="parameter"><code>end_path</code></em> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-tooltip-item"></a><h3>gtk_icon_view_set_tooltip_item ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_tooltip_item (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre> -<p> -Sets the tip area of <em class="parameter"><code>tooltip</code></em> to be the area covered by the item at <em class="parameter"><code>path</code></em>. -See also <a class="link" href="GtkIconView.html#gtk-icon-view-set-tooltip-column" title="gtk_icon_view_set_tooltip_column ()"><code class="function">gtk_icon_view_set_tooltip_column()</code></a> for a simpler alternative. -See also <a class="link" href="GtkTooltip.html#gtk-tooltip-set-tip-area" title="gtk_tooltip_set_tip_area ()"><code class="function">gtk_tooltip_set_tip_area()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td> -<td>a <a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-tooltip-cell"></a><h3>gtk_icon_view_set_tooltip_cell ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_tooltip_cell (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> *tooltip</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> *cell</code></em>);</pre> -<p> -Sets the tip area of <em class="parameter"><code>tooltip</code></em> to the area which <em class="parameter"><code>cell</code></em> occupies in -the item pointed to by <em class="parameter"><code>path</code></em>. See also <a class="link" href="GtkTooltip.html#gtk-tooltip-set-tip-area" title="gtk_tooltip_set_tip_area ()"><code class="function">gtk_tooltip_set_tip_area()</code></a>. -</p> -<p> -See also <a class="link" href="GtkIconView.html#gtk-icon-view-set-tooltip-column" title="gtk_icon_view_set_tooltip_column ()"><code class="function">gtk_icon_view_set_tooltip_column()</code></a> for a simpler alternative. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td> -<td>a <a class="link" href="GtkTooltip.html" title="GtkTooltip"><span class="type">GtkTooltip</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>cell</code></em> :</span></p></td> -<td>a <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-tooltip-context"></a><h3>gtk_icon_view_get_tooltip_context ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_view_get_tooltip_context (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *x</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *y</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> keyboard_tip</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> **model</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre> -<p> -This function is supposed to be used in a <a class="link" href="GtkWidget.html#GtkWidget-query-tooltip" title='The "query-tooltip" signal'><span class="type">"query-tooltip"</span></a> -signal handler for <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>. The <em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em> and <em class="parameter"><code>keyboard_tip</code></em> values -which are received in the signal handler, should be passed to this -function without modification. -</p> -<p> -The return value indicates whether there is an icon view item at the given -coordinates (<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>) or not (<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>) for mouse tooltips. For keyboard -tooltips the item returned will be the cursor item. When <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then any of -<em class="parameter"><code>model</code></em>, <em class="parameter"><code>path</code></em> and <em class="parameter"><code>iter</code></em> which have been provided will be set to point to -that row and the corresponding model. <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> will always be converted -to be relative to <em class="parameter"><code>icon_view</code></em>'s bin_window if <em class="parameter"><code>keyboard_tooltip</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>an <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td> -<td>the x coordinate (relative to widget coordinates). <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td> -<td>the y coordinate (relative to widget coordinates). <span class="annotation">[<acronym title="Parameter for input and for returning results. Default is transfer full."><span class="acronym">inout</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>keyboard_tip</code></em> :</span></p></td> -<td>whether this is a keyboard tooltip or not</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td> -<td>a pointer to receive a <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>a pointer to receive a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td> -<td>a pointer to receive a <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>whether or not the given tooltip context points to a item</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-tooltip-column"></a><h3>gtk_icon_view_set_tooltip_column ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_tooltip_column (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column</code></em>);</pre> -<p> -If you only plan to have simple (text-only) tooltips on full items, you -can use this function to have <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> handle these automatically -for you. <em class="parameter"><code>column</code></em> should be set to the column in <em class="parameter"><code>icon_view</code></em>'s model -containing the tooltip texts, or -1 to disable this feature. -</p> -<p> -When enabled, <a class="link" href="GtkWidget.html#GtkWidget--has-tooltip" title='The "has-tooltip" property'><span class="type">"has-tooltip"</span></a> will be set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> and -<em class="parameter"><code>icon_view</code></em> will connect a <a class="link" href="GtkWidget.html#GtkWidget-query-tooltip" title='The "query-tooltip" signal'><span class="type">"query-tooltip"</span></a> signal handler. -</p> -<p> -Note that the signal handler sets the text with <a class="link" href="GtkTooltip.html#gtk-tooltip-set-markup" title="gtk_tooltip_set_markup ()"><code class="function">gtk_tooltip_set_markup()</code></a>, -so &, <, etc have to be escaped in the text. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>column</code></em> :</span></p></td> -<td>an integer, which is a valid column number for <em class="parameter"><code>icon_view</code></em>'s model</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-tooltip-column"></a><h3>gtk_icon_view_get_tooltip_column ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_tooltip_column (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Returns the column of <em class="parameter"><code>icon_view</code></em>'s model which is being used for -displaying tooltips on <em class="parameter"><code>icon_view</code></em>'s rows. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the index of the tooltip column that is currently being -used, or -1 if this is disabled.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-item-row"></a><h3>gtk_icon_view_get_item_row ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_item_row (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre> -<p> -Gets the row in which the item <em class="parameter"><code>path</code></em> is currently -displayed. Row numbers start at 0. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>the <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> of the item</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The row in which the item is displayed</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-item-column"></a><h3>gtk_icon_view_get_item_column ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_icon_view_get_item_column (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre> -<p> -Gets the column in which the item <em class="parameter"><code>path</code></em> is currently -displayed. Column numbers start at 0. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>the <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> of the item</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>The column in which the item is displayed</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.22</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconViewDropPosition"></a><h3>enum GtkIconViewDropPosition</h3> -<pre class="programlisting">typedef enum { - GTK_ICON_VIEW_NO_DROP, - GTK_ICON_VIEW_DROP_INTO, - GTK_ICON_VIEW_DROP_LEFT, - GTK_ICON_VIEW_DROP_RIGHT, - GTK_ICON_VIEW_DROP_ABOVE, - GTK_ICON_VIEW_DROP_BELOW -} GtkIconViewDropPosition; -</pre> -<p> -An enum for determining where a dropped item goes. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><a name="GTK-ICON-VIEW-NO-DROP:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_NO_DROP</code></span></p></td> -<td>no drop possible -</td> -</tr> -<tr> -<td><p><a name="GTK-ICON-VIEW-DROP-INTO:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_INTO</code></span></p></td> -<td>dropped item replaces the item -</td> -</tr> -<tr> -<td><p><a name="GTK-ICON-VIEW-DROP-LEFT:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_LEFT</code></span></p></td> -<td>droppped item is inserted to the left -</td> -</tr> -<tr> -<td><p><a name="GTK-ICON-VIEW-DROP-RIGHT:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_RIGHT</code></span></p></td> -<td>dropped item is inserted to the right -</td> -</tr> -<tr> -<td><p><a name="GTK-ICON-VIEW-DROP-ABOVE:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_ABOVE</code></span></p></td> -<td>dropped item is inserted above -</td> -</tr> -<tr> -<td><p><a name="GTK-ICON-VIEW-DROP-BELOW:CAPS"></a><span class="term"><code class="literal">GTK_ICON_VIEW_DROP_BELOW</code></span></p></td> -<td>dropped item is inserted below -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-enable-model-drag-source"></a><h3>gtk_icon_view_enable_model_drag_source ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_enable_model_drag_source - (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://developer.gnome.org/gdk/gdk3-Windows.html#GdkModifierType"><span class="type">GdkModifierType</span></a> start_button_mask</code></em>, - <em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>, - <em class="parameter"><code><a href="http://developer.gnome.org/gdk/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre> -<p> -Turns <em class="parameter"><code>icon_view</code></em> into a drag source for automatic DND. Calling this -method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title='The "reorderable" property'><span class="type">"reorderable"</span></a> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <span class="type">GtkIconTreeView</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>start_button_mask</code></em> :</span></p></td> -<td>Mask of allowed buttons to start drag</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td> -<td>the table of targets that the drag will -support. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td> -<td>the number of items in <em class="parameter"><code>targets</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>actions</code></em> :</span></p></td> -<td>the bitmask of possible actions for a drag from this -widget</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-enable-model-drag-dest"></a><h3>gtk_icon_view_enable_model_drag_dest ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_enable_model_drag_dest - (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code>const <a class="link" href="gtk3-Selections.html#GtkTargetEntry" title="struct GtkTargetEntry"><span class="type">GtkTargetEntry</span></a> *targets</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_targets</code></em>, - <em class="parameter"><code><a href="http://developer.gnome.org/gdk/gdk3-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre> -<p> -Turns <em class="parameter"><code>icon_view</code></em> into a drop destination for automatic DND. Calling this -method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title='The "reorderable" property'><span class="type">"reorderable"</span></a> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>targets</code></em> :</span></p></td> -<td>the table of targets that the drag will -support. <span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_targets]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>n_targets</code></em> :</span></p></td> -<td>the number of items in <em class="parameter"><code>targets</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>actions</code></em> :</span></p></td> -<td>the bitmask of possible actions for a drag to this -widget</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-unset-model-drag-source"></a><h3>gtk_icon_view_unset_model_drag_source ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_unset_model_drag_source - (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Undoes the effect of <a class="link" href="GtkIconView.html#gtk-icon-view-enable-model-drag-source" title="gtk_icon_view_enable_model_drag_source ()"><code class="function">gtk_icon_view_enable_model_drag_source()</code></a>. Calling this -method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title='The "reorderable" property'><span class="type">"reorderable"</span></a> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-unset-model-drag-dest"></a><h3>gtk_icon_view_unset_model_drag_dest ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_unset_model_drag_dest (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Undoes the effect of <a class="link" href="GtkIconView.html#gtk-icon-view-enable-model-drag-dest" title="gtk_icon_view_enable_model_drag_dest ()"><code class="function">gtk_icon_view_enable_model_drag_dest()</code></a>. Calling this -method sets <a class="link" href="GtkIconView.html#GtkIconView--reorderable" title='The "reorderable" property'><span class="type">"reorderable"</span></a> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-reorderable"></a><h3>gtk_icon_view_set_reorderable ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_reorderable (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> reorderable</code></em>);</pre> -<p> -This function is a convenience function to allow you to reorder models that -support the <a class="link" href="gtk3-GtkTreeView-drag-and-drop.html#GtkTreeDragSourceIface" title="struct GtkTreeDragSourceIface"><span class="type">GtkTreeDragSourceIface</span></a> and the <a class="link" href="gtk3-GtkTreeView-drag-and-drop.html#GtkTreeDragDestIface" title="struct GtkTreeDragDestIface"><span class="type">GtkTreeDragDestIface</span></a>. Both -<a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a> and <a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> support these. If <em class="parameter"><code>reorderable</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then -the user can reorder the model by dragging and dropping rows. The -developer can listen to these changes by connecting to the model's -row_inserted and row_deleted signals. The reordering is implemented by setting up -the icon view as a drag source and destination. Therefore, drag and -drop can not be used in a reorderable view for any other purpose. -</p> -<p> -This function does not give you any degree of control over the order -- any -reordering is allowed. If more control is needed, you should probably -handle drag and drop manually. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>A <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>reorderable</code></em> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, if the list of items can be reordered.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-reorderable"></a><h3>gtk_icon_view_get_reorderable ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_view_get_reorderable (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>);</pre> -<p> -Retrieves whether the user can reorder the list via drag-and-drop. -See <a class="link" href="GtkIconView.html#gtk-icon-view-set-reorderable" title="gtk_icon_view_set_reorderable ()"><code class="function">gtk_icon_view_set_reorderable()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the list can be reordered.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-set-drag-dest-item"></a><h3>gtk_icon_view_set_drag_dest_item ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_set_drag_dest_item (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>, - <em class="parameter"><code><a class="link" href="GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> pos</code></em>);</pre> -<p> -Sets the item that is highlighted for feedback. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>The path of the item to highlight, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td> -<td>Specifies where to drop, relative to the item</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-drag-dest-item"></a><h3>gtk_icon_view_get_drag_dest_item ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_icon_view_get_drag_dest_item (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> *pos</code></em>);</pre> -<p> -Gets information about the item that is highlighted for feedback. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>Return location for the path of -the highlighted item, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td> -<td>Return location for the drop position, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-get-dest-item-at-pos"></a><h3>gtk_icon_view_get_dest_item_at_pos ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_icon_view_get_dest_item_at_pos (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> drag_x</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> drag_y</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> **path</code></em>, - <em class="parameter"><code><a class="link" href="GtkIconView.html#GtkIconViewDropPosition" title="enum GtkIconViewDropPosition"><span class="type">GtkIconViewDropPosition</span></a> *pos</code></em>);</pre> -<p> -Determines the destination item for a given position. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>drag_x</code></em> :</span></p></td> -<td>the position to determine the destination item for</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>drag_y</code></em> :</span></p></td> -<td>the position to determine the destination item for</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>Return location for the path of the item, -or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>pos</code></em> :</span></p></td> -<td>Return location for the drop position, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>whether there is an item at the given position.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-icon-view-create-drag-icon"></a><h3>gtk_icon_view_create_drag_icon ()</h3> -<pre class="programlisting"><a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="returnvalue">cairo_surface_t</span></a> * gtk_icon_view_create_drag_icon (<em class="parameter"><code><a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *icon_view</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre> -<p> -Creates a <a href="/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-t"><span class="type">cairo_surface_t</span></a> representation of the item at <em class="parameter"><code>path</code></em>. -This image is used for a drag icon. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon_view</code></em> :</span></p></td> -<td>a <a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>a <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> in <em class="parameter"><code>icon_view</code></em> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly-allocated surface of the drag icon. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.8</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkIconView.property-details"></a><h2>Property Details</h2> -<div class="refsect2"> -<a name="GtkIconView--cell-area"></a><h3>The <code class="literal">"cell-area"</code> property</h3> -<pre class="programlisting"> "cell-area" <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a>* : Read / Write / Construct Only</pre> -<p> -The <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> used to layout cell renderers for this view. -</p> -<p> -If no area is specified when creating the icon view with <a class="link" href="GtkIconView.html#gtk-icon-view-new-with-area" title="gtk_icon_view_new_with_area ()"><code class="function">gtk_icon_view_new_with_area()</code></a> -a <a class="link" href="GtkCellAreaBox.html" title="GtkCellAreaBox"><span class="type">GtkCellAreaBox</span></a> will be used. -</p> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--column-spacing"></a><h3>The <code class="literal">"column-spacing"</code> property</h3> -<pre class="programlisting"> "column-spacing" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The column-spacing property specifies the space which is inserted between -the columns of the icon view. -</p> -<p>Allowed values: >= 0</p> -<p>Default value: 6</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--columns"></a><h3>The <code class="literal">"columns"</code> property</h3> -<pre class="programlisting"> "columns" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The columns property contains the number of the columns in which the -items should be displayed. If it is -1, the number of columns will -be chosen automatically to fill the available area. -</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--item-orientation"></a><h3>The <code class="literal">"item-orientation"</code> property</h3> -<pre class="programlisting"> "item-orientation" <a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> : Read / Write</pre> -<p> -The item-orientation property specifies how the cells (i.e. the icon and -the text) of the item are positioned relative to each other. -</p> -<p>Default value: GTK_ORIENTATION_VERTICAL</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--item-padding"></a><h3>The <code class="literal">"item-padding"</code> property</h3> -<pre class="programlisting"> "item-padding" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The item-padding property specifies the padding around each -of the icon view's item. -</p> -<p>Allowed values: >= 0</p> -<p>Default value: 6</p> -<p class="since">Since 2.18</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--item-width"></a><h3>The <code class="literal">"item-width"</code> property</h3> -<pre class="programlisting"> "item-width" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The item-width property specifies the width to use for each item. -If it is set to -1, the icon view will automatically determine a -suitable item size. -</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--margin"></a><h3>The <code class="literal">"margin"</code> property</h3> -<pre class="programlisting"> "margin" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The margin property specifies the space which is inserted -at the edges of the icon view. -</p> -<p>Allowed values: >= 0</p> -<p>Default value: 6</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--markup-column"></a><h3>The <code class="literal">"markup-column"</code> property</h3> -<pre class="programlisting"> "markup-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The ::markup-column property contains the number of the model column -containing markup information to be displayed. The markup column must be -of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><span class="type">G_TYPE_STRING</span></a>. If this property and the :text-column property -are both set to column numbers, it overrides the text column. -If both are set to -1, no texts are displayed. -</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--model"></a><h3>The <code class="literal">"model"</code> property</h3> -<pre class="programlisting"> "model" <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>* : Read / Write</pre> -<p>The model for the icon view.</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--pixbuf-column"></a><h3>The <code class="literal">"pixbuf-column"</code> property</h3> -<pre class="programlisting"> "pixbuf-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The ::pixbuf-column property contains the number of the model column -containing the pixbufs which are displayed. The pixbuf column must be -of type <span class="type">GDK_TYPE_PIXBUF</span>. Setting this property to -1 turns off the -display of pixbufs. -</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--reorderable"></a><h3>The <code class="literal">"reorderable"</code> property</h3> -<pre class="programlisting"> "reorderable" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre> -<p> -The reorderable property specifies if the items can be reordered -by DND. -</p> -<p>Default value: FALSE</p> -<p class="since">Since 2.8</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--row-spacing"></a><h3>The <code class="literal">"row-spacing"</code> property</h3> -<pre class="programlisting"> "row-spacing" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The row-spacing property specifies the space which is inserted between -the rows of the icon view. -</p> -<p>Allowed values: >= 0</p> -<p>Default value: 6</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--selection-mode"></a><h3>The <code class="literal">"selection-mode"</code> property</h3> -<pre class="programlisting"> "selection-mode" <a class="link" href="gtk3-Standard-Enumerations.html#GtkSelectionMode" title="enum GtkSelectionMode"><span class="type">GtkSelectionMode</span></a> : Read / Write</pre> -<p> -The ::selection-mode property specifies the selection mode of -icon view. If the mode is <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SELECTION-MULTIPLE:CAPS"><span class="type">GTK_SELECTION_MULTIPLE</span></a>, rubberband selection -is enabled, for the other modes, only keyboard selection is possible. -</p> -<p>Default value: GTK_SELECTION_SINGLE</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--spacing"></a><h3>The <code class="literal">"spacing"</code> property</h3> -<pre class="programlisting"> "spacing" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The spacing property specifies the space which is inserted between -the cells (i.e. the icon and the text) of an item. -</p> -<p>Allowed values: >= 0</p> -<p>Default value: 0</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--text-column"></a><h3>The <code class="literal">"text-column"</code> property</h3> -<pre class="programlisting"> "text-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The ::text-column property contains the number of the model column -containing the texts which are displayed. The text column must be -of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><span class="type">G_TYPE_STRING</span></a>. If this property and the :markup-column -property are both set to -1, no texts are displayed. -</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--tooltip-column"></a><h3>The <code class="literal">"tooltip-column"</code> property</h3> -<pre class="programlisting"> "tooltip-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p>The column in the model containing the tooltip texts for the items.</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkIconView.style-property-details"></a><h2>Style Property Details</h2> -<div class="refsect2"> -<a name="GtkIconView--s-selection-box-alpha"></a><h3>The <code class="literal">"selection-box-alpha"</code> style property</h3> -<pre class="programlisting"> "selection-box-alpha" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> : Read</pre> -<p>Opacity of the selection box.</p> -<p>Default value: 64</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView--s-selection-box-color"></a><h3>The <code class="literal">"selection-box-color"</code> style property</h3> -<pre class="programlisting"> "selection-box-color" <a href="http://developer.gnome.org/gdk/gdk3-Colors.html#GdkColor"><span class="type">GdkColor</span></a>* : Read</pre> -<p>Color of the selection box.</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkIconView.signal-details"></a><h2>Signal Details</h2> -<div class="refsect2"> -<a name="GtkIconView-activate-cursor-item"></a><h3>The <code class="literal">"activate-cursor-item"</code> signal</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *iconview, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre> -<p> -A <a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a> -which gets emitted when the user activates the currently -focused item. -</p> -<p> -Applications should not connect to it, but may emit it with -<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control activation -programmatically. -</p> -<p> -The default bindings for this signal are Space, Return and Enter. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>iconview</code></em> :</span></p></td> -<td>the object on which the signal is emitted</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView-item-activated"></a><h3>The <code class="literal">"item-activated"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *iconview, - <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> -<p> -The ::item-activated signal is emitted when the method -<a class="link" href="GtkIconView.html#gtk-icon-view-item-activated" title="gtk_icon_view_item_activated ()"><code class="function">gtk_icon_view_item_activated()</code></a> is called or the user double -clicks an item. It is also emitted when a non-editable item -is selected and one of the keys: Space, Return or Enter is -pressed. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>iconview</code></em> :</span></p></td> -<td>the object on which the signal is emitted</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>the <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> for the activated item</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView-move-cursor"></a><h3>The <code class="literal">"move-cursor"</code> signal</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *iconview, - <a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a> step, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre> -<p> -The ::move-cursor signal is a -<a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a> -which gets emitted when the user initiates a cursor movement. -</p> -<p> -Applications should not connect to it, but may emit it with -<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control the cursor -programmatically. -</p> -<p> -The default bindings for this signal include -</p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> -<li class="listitem">Arrow keys which move by individual steps</li> -<li class="listitem">Home/End keys which move to the first/last item</li> -<li class="listitem">PageUp/PageDown which move by "pages"</li> -</ul></div> -<p> -</p> -<p> -All of these will extend the selection when combined with -the Shift modifier. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>iconview</code></em> :</span></p></td> -<td>the object which received the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>step</code></em> :</span></p></td> -<td>the granularity of the move, as a <a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td> -<td>the number of <em class="parameter"><code>step</code></em> units to move</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView-select-all"></a><h3>The <code class="literal">"select-all"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *iconview, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre> -<p> -A <a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a> -which gets emitted when the user selects all items. -</p> -<p> -Applications should not connect to it, but may emit it with -<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control selection -programmatically. -</p> -<p> -The default binding for this signal is Ctrl-a. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>iconview</code></em> :</span></p></td> -<td>the object on which the signal is emitted</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView-select-cursor-item"></a><h3>The <code class="literal">"select-cursor-item"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *iconview, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre> -<p> -A <a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a> -which gets emitted when the user selects the item that is currently -focused. -</p> -<p> -Applications should not connect to it, but may emit it with -<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control selection -programmatically. -</p> -<p> -There is no default binding for this signal. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>iconview</code></em> :</span></p></td> -<td>the object on which the signal is emitted</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView-selection-changed"></a><h3>The <code class="literal">"selection-changed"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *iconview, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS"><code class="literal">Run First</code></a></pre> -<p> -The ::selection-changed signal is emitted when the selection -(i.e. the set of selected items) changes. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>iconview</code></em> :</span></p></td> -<td>the object on which the signal is emitted</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView-toggle-cursor-item"></a><h3>The <code class="literal">"toggle-cursor-item"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *iconview, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre> -<p> -A <a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a> -which gets emitted when the user toggles whether the currently -focused item is selected or not. The exact effect of this -depend on the selection mode. -</p> -<p> -Applications should not connect to it, but may emit it with -<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control selection -programmatically. -</p> -<p> -There is no default binding for this signal is Ctrl-Space. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>iconview</code></em> :</span></p></td> -<td>the object on which the signal is emitted</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="GtkIconView-unselect-all"></a><h3>The <code class="literal">"unselect-all"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkIconView.html" title="GtkIconView"><span class="type">GtkIconView</span></a> *iconview, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre> -<p> -A <a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a> -which gets emitted when the user unselects all items. -</p> -<p> -Applications should not connect to it, but may emit it with -<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control selection -programmatically. -</p> -<p> -The default binding for this signal is Ctrl-Shift-a. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>iconview</code></em> :</span></p></td> -<td>the object on which the signal is emitted</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18.1</div> -</body> -</html>
\ No newline at end of file |