Re: GDK_ACTION_*




"J.A.M. Molenaar" <Klem.Prod@net.HCC.nl> writes:

> Hello,
> 
> I've read the dnd-api.txt from Owen yesterday and I still have this
> question. The GDK_ACTION_* parameters used by the DND functions don't
> make sense to me... Is GDK_ACTION_COPY copying the string, is -MOVE only
> causing an extra event to be emited? I dunno...

Basically, the actions just give the application information
about what it is supposed to do. GTK+ doesn't actually try
to implement the action itself.

The one partial exception to this is that if you specify
GTK_DEFAULT_DROP on the destination, then on succesful
completion of a drop, GTK+ will tell the source to
delete the data. If the source is a GTK+ application,
what happens then is that the source widget receives
a "drag_data_delete" signal.

Regards,
                                        Owen



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