Hi,

I would like to set an integer as a selection data with
"gtk_selection_data_set"
in a callback function with the prototype :
void source_drag_data_get  (GtkWidget          *widget,
                                            GdkDragContext
*context,
                                            GtkSelectionData
*selection_data,
                                            guint               info,
                                            guint               time,
                                            gpointer            data);

The integer is in fact the data which is a gpointer. I can get the
integer with GPOINTER_TO_INT.
But I didn't manage to give it to the selection. So, can anyone help
me ?
Can you explain me the different arguments (and their different forms)
of
the "gtk_selection_data_set" function.

Thanks.

Laurent SENEE.

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to