Re: Drag'n Drop




Olivier Rolland <olivier.rolland@esil.univ-mrs.fr> writes:

> Hi all,
> 
> I'm trying to use dnd in an application I'm developping, but I run into
> few problems:
> 
> I can't figure out what do the four first fields of struct
> GdkSelectionData mean;
> 
>                 struct GtkSelectionData {
>                         GdkAtom selection;
>                         GdkAtom target;
>                         GdkAtom type;
>                         gint format;
>                         guchar *data;
>                         gint length;
>                 };
> 
> I've read the source of testdnd.c in the distribution, but if doesn't
> help very much.

See: 

  http://www.gtk.org/tutorial/gtk_tut-21.html

for information about the SelectionData field. Also see:

 http://www.gtk.org/rdp/gtk/gtk-drag-and-drop.html  

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]