gtkIconViewSetReorderable {RGtk2}R Documentation

gtkIconViewSetReorderable

Description

This function is a convenience function to allow you to reorder models that support the GtkTreeDragSourceIface and the GtkTreeDragDestIface. Both 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.

Usage

gtkIconViewSetReorderable(object, reorderable)

Arguments

object [GtkIconView] A GtkIconView.
reorderable [logical] TRUE, if the list of items can be reordered.

Details

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.

Since 2.8

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]