gtk+ r22220 - in branches/gtk-2-14: . gtk
- From: csaavedra svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22220 - in branches/gtk-2-14: . gtk
- Date: Mon, 26 Jan 2009 09:10:19 +0000 (UTC)
Author: csaavedra
Date: Mon Jan 26 09:10:19 2009
New Revision: 22220
URL: http://svn.gnome.org/viewvc/gtk+?rev=22220&view=rev
Log:
2009-01-26 Claudio Saavedra <csaavedra igalia com>
Merged from trunk:
Bug 559420 â gtk_icon_view_enable_model_drag_[source|dest] docs
wrt. reorderable property
* gtk/gtkiconview.c: Improve docstrings regarding reorderable
property. Based on a patch by BjÃrn Lindqvist.
Modified:
branches/gtk-2-14/ChangeLog
branches/gtk-2-14/gtk/gtkiconview.c
Modified: branches/gtk-2-14/gtk/gtkiconview.c
==============================================================================
--- branches/gtk-2-14/gtk/gtkiconview.c (original)
+++ branches/gtk-2-14/gtk/gtkiconview.c Mon Jan 26 09:10:19 2009
@@ -6898,8 +6898,9 @@
* @n_targets: the number of items in @targets
* @actions: the bitmask of possible actions for a drag from this
* widget
- *
- * Turns @icon_view into a drag source for automatic DND.
+ *
+ * Turns @icon_view into a drag source for automatic DND. Calling this
+ * method sets #GtkIconView:reorderable to %FALSE.
*
* Since: 2.8
**/
@@ -6931,8 +6932,9 @@
* @n_targets: the number of items in @targets
* @actions: the bitmask of possible actions for a drag to this
* widget
- *
- * Turns @icon_view into a drop destination for automatic DND.
+ *
+ * Turns @icon_view into a drop destination for automatic DND. Calling this
+ * method sets #GtkIconView:reorderable to %FALSE.
*
* Since: 2.8
**/
@@ -6960,7 +6962,8 @@
* gtk_icon_view_unset_model_drag_source:
* @icon_view: a #GtkIconView
*
- * Undoes the effect of gtk_icon_view_enable_model_drag_source().
+ * Undoes the effect of gtk_icon_view_enable_model_drag_source(). Calling this
+ * method sets #GtkIconView:reorderable to %FALSE.
*
* Since: 2.8
**/
@@ -6982,7 +6985,8 @@
* gtk_icon_view_unset_model_drag_dest:
* @icon_view: a #GtkIconView
*
- * Undoes the effect of gtk_icon_view_enable_model_drag_dest().
+ * Undoes the effect of gtk_icon_view_enable_model_drag_dest(). Calling this
+ * method sets #GtkIconView:reorderable to %FALSE.
*
* Since: 2.8
**/
@@ -7260,7 +7264,9 @@
* #GtkTreeStore and #GtkListStore support these. If @reorderable is %TRUE, 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.
+ * 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.
*
* 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]