GtkTargetEntry sources and destinations



As I understand it, an array of GtkTargetEntrys is given to
gtk_drag_source_set() and another array of GtkTargetEntrys is given to
gtk_drag_dest_set(). The drop only happens if the arrays share an
element in common, making the source and destination compatible.

The identifying GtkTargetEntry::info is the sent with the
GtkWidget::"drag_data_get" signal, and maybe others.

But how does the destination choose if there is more than one possible
GtkTargetEntry to choose from? Does it just use the first suitable
element in one of the arrays?

-- 
Murray Cumming
murrayc usa net
www.murrayc.com




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