Re: Gtk 2.2.2 : DND!! No API??? juhuuu



On Sunday August 17 2003 22:04 CEST, Michael Torrie wrote:
    
On Sun, 2003-08-17 at 13:00, Matthias Mann wrote:
    
But i can't get the "drag-drop" signal. Is this
realy necessary?
    
I don't know.
    
It is!
    
Sounds like you're doing it with the gtk treeview, which
is something I've never done before.
    
Yes! GtkTreeView: there are some differences to other widgets.
But it's the same handling. Only the initialisation of this
tree view widget is another then that of other widgets.
    
I've find out that at minimum three callbacks are needed. The
"drag-data-get" signal is the first one (for my code). This 
triggers the "drag-drop" signal and then the rest ("drag-data-
received").
    
With only two of this callback functions it seems to be that no
drag/drop process is possible. This makes it hard to understand
the Gtk DND support. A documentation of this DND system should
be done for Gtk+ API (tutorial like).
    
mathew
    
-- 
             ______________________________________________
                    get free software:  www.matman24.org
             ______________________________________________



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