From cd6ccea2d6eed57e550c31565bc2e17d509c2e2b Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Fri, 31 Jul 2009 14:25:37 +0200 Subject: drag-drop WIP --- callbacks.h | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'callbacks.h') diff --git a/callbacks.h b/callbacks.h index ab6bc977..bc5a913a 100644 --- a/callbacks.h +++ b/callbacks.h @@ -113,3 +113,59 @@ gboolean on_mainwin_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer user_data); + +void +on_playlist_drag_begin (GtkWidget *widget, + GdkDragContext *drag_context, + gpointer user_data); + +gboolean +on_playlist_drag_motion (GtkWidget *widget, + GdkDragContext *drag_context, + gint x, + gint y, + guint time, + gpointer user_data); + +gboolean +on_playlist_drag_drop (GtkWidget *widget, + GdkDragContext *drag_context, + gint x, + gint y, + guint time, + gpointer user_data); + +void +on_playlist_drag_data_get (GtkWidget *widget, + GdkDragContext *drag_context, + GtkSelectionData *data, + guint info, + guint time, + gpointer user_data); + +void +on_playlist_drag_end (GtkWidget *widget, + GdkDragContext *drag_context, + gpointer user_data); + +gboolean +on_playlist_drag_failed (GtkWidget *widget, + GdkDragContext *arg1, + GtkDragResult arg2, + gpointer user_data); + +void +on_playlist_drag_leave (GtkWidget *widget, + GdkDragContext *drag_context, + guint time, + gpointer user_data); + +gboolean +on_playlist_button_release_event (GtkWidget *widget, + GdkEventButton *event, + gpointer user_data); + +gboolean +on_playlist_motion_notify_event (GtkWidget *widget, + GdkEventMotion *event, + gpointer user_data); -- cgit v1.2.3