Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


gtk/dnd.hh File Reference

Gtk Drag and Drop C++ wrapper interface. More...

#include <xfc/gdk/dnd.hh>
#include <gtk/gtkdnd.h>
#include <xfc/gtk/inline/dnd.inl>

Namespaces

Classes

Typedefs

Enumerations


Detailed Description

Gtk Drag and Drop C++ wrapper interface.

GTK+ has a rich set of functions for doing inter-process communication via the drag-and-drop metaphor. GTK+ can do drag-and-drop (DND) via multiple protocols. The currently supported protocols are the Xdnd and Motif protocols. As well as the methods in this class, applications may need to use some facilities provided for Selections. Also, the Drag and Drop API makes use of signals in the Widget class.


Enumeration Type Documentation

enum DestDefaults
 

Specifies the various types of action that will be taken on behalf of the user for a drag destination site.

Enumeration values:
DEST_DEFAULT_MOTION  If set for a widget, GTK+, during a drag over this widget will check if the drag matches this widget's list of possible targets and actions (GTK+ will then call gtk_drag_status() as appropriate).
DEST_DEFAULT_HIGHLIGHT  If set for a widget, GTK+ will draw a highlight on this widget as long as a drag is over this widget and the widget drag format and action are acceptable.
DEST_DEFAULT_DROP  If set for a widget, when a drop occurs, GTK+ will will check if the drag matches this widget's list of possible targets and actions and if so, GTK+ will call gtk_drag_data_get() on behalf of the widget.
DEST_DEFAULT_ALL  If set, specifies that all default actions should be taken.

enum TargetFlags
 

Specifies the constraints on an entry in a TargetTable.

Enumeration values:
TARGET_SAME_APP  If this is set, the target will only be selected for drags within a single application.
TARGET_SAME_WIDGET  If this is set, the target will only be selected for drags within a single widget.
Xfce Foundation Classes


Copyright © 2004-2005 The XFC Development Team XFC 4.3