Hi,
How can I pass a pointer in my dnd function ?
You have to use gtk_selection_data_set function, but how can I put
a pointer in the data field ?
I use this function to pass string,
void source_in_connector_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
guint info,
guint time,
gpointer data)
{
.../...
gtk_selection_data_set (selection_data, selection_data->target, 8,
data, (gint) (strlen (data)));
.../...
}
But in this function my data is a pointer to an object, so how can I
pass
something different ?
--
Florent DEVIN
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list