Hi,

I set the mainwindow of my app as a drag dest:
MainWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);

gtk_drag_dest_set (MainWindow,GTK_DEST_DEFAULT_ALL,target_table,1,GDK_ACTION_COPY);

g_signal_connect (G_OBJECT (MainWindow), "drag_data_received", G_CALLBACK (on_drag_data_received), NULL);

I'm in doubt if in the on_drag_data_received function I must use gtk_drag_finish since the code works with and without it.

Thanks,
--
Colossus
Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.sourceforge.net
Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net
Mizio, a QT proxy hunter scanner tool - http://mizio.sourceforge.net
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to