gtk 1.1.[12,13]: motiv and xdnd DND callback order



hi,

i've some problems to understand the order in which the DND
callbacks are called.

inside a gtk ctree widget i get the following debug output
from my program:

on_drag_begin()
on_drag_motion()
on_drag_data_get()
on_drag_data()
on_drag_data_delete()
on_drag_data_leave()

sounds quite good, isn't it?
in on_drag_data_leave() i reset a value which i need to make
same visual effects during drag_motion(). but that doesn't work
during a motiv DND (motiv -> ctree) operation, cause there the
order is in this way:

on_drag_motion()
on_drag_leave()
on_drag_data()

the "drag_data_received" callback is called *after* the leave-callback :(
is that a bug or a feature or do i have to do special things in
my code to ensure that the drag_leave comes at the right time??

btw. i've wrote to the gtk-app list some time before that i was
not able to initialize a DND op. from one toplevel with ctree
widget to an other toplevel also with a ctree widget. this problem
is gone away since 1.1.13, great work.

cu
 rasca
-- 
 /#- Internet eMail: thron@gmx.de, FidoNet: 2:2410/304.5@fido -#\
<-#- Internet WWWeb: http://home.pages.de/~rasca/ -------------#->
 \#- please do NOT quote these lines or other useless stuff! --#/



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