1 <!-- ##### SECTION Title ##### -->
2 GtkTreeView drag-and-drop
4 <!-- ##### SECTION Short_Description ##### -->
5 Interfaces for drag-and-drop support in GtkTreeView
7 <!-- ##### SECTION Long_Description ##### -->
9 GTK+ supports Drag-and-Drop in tree views with a high-level and a low-level
13 The low-level API consists of the GTK+ DND API, augmented by some treeview
14 utility functions: gtk_tree_view_set_drag_dest_row(),
15 gtk_tree_view_get_drag_dest_row(), gtk_tree_view_get_dest_row_at_pos(),
16 gtk_tree_view_create_row_drag_icon(), gtk_tree_set_row_drag_data() and
17 gtk_tree_get_row_drag_data(). This API leaves a lot of flexibility, but
18 nothing is done automatically, and implementing advanced features like
19 hover-to-open-rows or autoscrolling on top of this API is a lot of work.
22 On the other hand, if you write to the high-level API, then all the
23 bookkeeping of rows is done for you, as well as things like hover-to-open
24 and auto-scroll, but your models have to implement the
25 #GtkTreeDragSource and #GtkTreeDragDest interfaces.
28 <!-- ##### SECTION See_Also ##### -->
33 <!-- ##### SECTION Stability_Level ##### -->
36 <!-- ##### STRUCT GtkTreeDragSource ##### -->
42 <!-- ##### STRUCT GtkTreeDragSourceIface ##### -->
52 <!-- ##### FUNCTION gtk_tree_drag_source_drag_data_delete ##### -->
62 <!-- ##### FUNCTION gtk_tree_drag_source_drag_data_get ##### -->
73 <!-- ##### FUNCTION gtk_tree_drag_source_row_draggable ##### -->
83 <!-- ##### STRUCT GtkTreeDragDest ##### -->
89 <!-- ##### STRUCT GtkTreeDragDestIface ##### -->
98 <!-- ##### FUNCTION gtk_tree_drag_dest_drag_data_received ##### -->
109 <!-- ##### FUNCTION gtk_tree_drag_dest_row_drop_possible ##### -->
120 <!-- ##### FUNCTION gtk_tree_set_row_drag_data ##### -->
131 <!-- ##### FUNCTION gtk_tree_get_row_drag_data ##### -->