Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

drag.h File Reference


Detailed Description

Drag support - no dropping, just dragging.

Author:
Christian Biere
Date:
2007

#include "common.h"
#include "gtk/gui.h"

Go to the source code of this file.

Typedefs

typedef gchar *(* drag_get_text_cb )(GtkWidget *)
 This callback must return either NULL or a newly-allocated string.

Functions

void drag_attach (GtkWidget *, drag_get_text_cb)
 Attaches a drag context to a widget, so that user can drag data from the widget as text.


Typedef Documentation

typedef gchar*(* drag_get_text_cb)(GtkWidget *)
 

This callback must return either NULL or a newly-allocated string.


Function Documentation

void drag_attach GtkWidget *  widget,
drag_get_text_cb  callback
 

Attaches a drag context to a widget, so that user can drag data from the widget as text.

The context can be attached to multiple widgets.


Generated on Sat Jun 30 17:53:26 2007 for gtk-gnutella by  doxygen 1.3.9.1