//------------------------------------------------------------------------- // Filename: dnd.hh // Version: $Id: dnd.hh,v 1.1 1999/05/02 20:26:25 erik Exp $ // Copyright: Copyright (C) 1999, Erik Mouw (J.A.K.Mouw@its.tudelft.nl) // Author: Erik Mouw // Description: GUI drag-n-drop functions // Created at: Sun May 2 16:35:23 1999 // Modified by: Erik Mouw // Modified at: Sun May 2 17:17:17 1999 //------------------------------------------------------------------------- // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // #ident "$Id: dnd.hh,v 1.1 1999/05/02 20:26:25 erik Exp $" #ifndef musica_dnd_hh #define musica_dnd_hh #include extern GtkWidget *dropEventbox; extern GtkWidget *dropFrame; extern gboolean dndMotionCallback(GtkWidget *widget, GdkDragContext *context, int x, int y, guint time); extern void dndLeaveCallback(GtkWidget *widget, GdkDragContext *context, guint time); extern gboolean dndDropCallback(GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint time); extern void dndDataReceivedCallback(GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *data, guint info, guint time); #endif