It is used on both source and destination sides. 
|  | 
| 
 Public Member Functions | 
| void | drag_finish (bool success, bool del, guint32 time) | 
| void | drag_refuse (guint32 time) | 
| void | drag_status (DragAction action, guint32 time) | 
|  | Selects one of the actions offered by the drag source. 
 | 
| void | drop_finish (bool success, guint32 time) | 
|  | Ends the drag operation after a drop. 
 | 
| void | drop_reply (bool ok, guint32 time) | 
|  | Accepts or rejects a drop. 
 | 
| void | find_window_for_screen (const Glib::RefPtr<Window>& drag_window, const Glib::RefPtr<Screen>& screen, int x_root, int y_root, Glib::RefPtr<Window>& dest_window, DragProtocol* protocol) const | 
|  | Finds the destination window and DND protocol to use at the given pointer position. 
 | 
| DragAction | get_action () const | 
|  | Get the action chosen by the destination. 
 | 
| DragAction | get_actions () const | 
|  | Get a bitmask of actions proposed by the source when the suggested_action is Gdk::ACTION_ASK Returns:a bitmask of actions proposed by the source when the suggested_action is Gdk::ACTION_ASK. 
 
 | 
| Glib::RefPtr<const Window> | get_destination_window () const | 
| Glib::RefPtr<Window> | get_destination_window () | 
|  | Get the the source window of this drag. 
 | 
| bool | get_is_source () const | 
|  | Discover whether the context is used on the source side. 
 | 
| DragProtocol | get_protocol () const | 
|  | Get the DND protocol which governs this drag. 
 | 
| Glib::ustring | get_selection () const | 
|  | Returns the selection atom for the current source window. 
 | 
| Glib::RefPtr<const Window> | get_source_window () const | 
| Glib::RefPtr<Window> | get_source_window () | 
|  | Get the the source window of this drag. 
 | 
| guint32 | get_start_time () const | 
|  | Get a timestamp recording the start time of this drag. 
 | 
| DragAction | get_suggested_action () const | 
|  | Get the action suggested by the source. 
 | 
| Glib::StringArrayHandle | get_targets () const | 
|  | Get a list of targets offered by the source. 
 | 
| const GdkDragContext* | gobj () const | 
|  | Provides access to the underlying C GObject. 
 | 
| GdkDragContext* | gobj () | 
|  | Provides access to the underlying C GObject. 
 | 
| GdkDragContext* | gobj_copy () | 
|  | Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 
 | 
| void | set_icon () | 
| void | set_icon (const Glib::ustring& stock_id, int hot_x, int hot_y) | 
| void | set_icon (const Glib::RefPtr<Gdk::Pixbuf>& pixbuf, int hot_x, int hot_y) | 
| void | set_icon (const Glib::RefPtr<Gdk::Colormap>& colormap, const Glib::RefPtr<Gdk::Pixmap>& pixmap, const Glib::RefPtr<Gdk::Bitmap>& mask, int hot_x, int hot_y) | 
| virtual | ~DragContext () | 
| 
 Static Public Member Functions | 
| static Glib::RefPtr<DragContext> | create () | 
| 
 Protected Member Functions | 
|  | DragContext () | 
| 
 Related Functions | 
| (Note that these are not member functions.) 
 
 | 
| Glib::RefPtr<Gdk::DragContext> | wrap (GdkDragContext* object, bool take_copy=false) |