GTK+ Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# GtkTreeView drag-and-drop

## Name

GtkTreeView drag-and-drop --

## Synopsis

    #include <gtk/gtk.h>

    struct      GtkTreeDragDest;
    struct      GtkTreeDragSource;
    struct      GtkTreeDragDestIface;
    struct      GtkTreeDragSourceIface;

## Description

## Details

### struct GtkTreeDragDest

    struct GtkTreeDragDest;

### struct GtkTreeDragSource

    struct GtkTreeDragSource;

### struct GtkTreeDragDestIface

    struct GtkTreeDragDestIface
    {
      GTypeInterface g_iface;

      /* VTable - not signals */

      gboolean     (* drag_data_received) (GtkTreeDragDest   *drag_dest,
                                           GtkTreePath       *dest,
                                           GtkSelectionData  *selection_data);

      gboolean     (* row_drop_possible)  (GtkTreeDragDest   *drag_dest,
                                           GtkTreePath       *dest_path,
    				       GtkSelectionData  *selection_data);
    };

### struct GtkTreeDragSourceIface

    struct GtkTreeDragSourceIface
    {
      GTypeInterface g_iface;

      /* VTable - not signals */

      gboolean     (* row_draggable)        (GtkTreeDragSource   *drag_source,
                                             GtkTreePath         *path);

      gboolean     (* drag_data_get)        (GtkTreeDragSource   *drag_source,
                                             GtkTreePath         *path,
                                             GtkSelectionData    *selection_data);

      gboolean     (* drag_data_delete)     (GtkTreeDragSource *drag_source,
                                             GtkTreePath       *path);
    };

<<< Previous Page | Home | Up | Next Page >>>
GtkTreeView | GtkTreeSortable