Hi,

Am Montag, den 02.01.2006, 19:48 +0100 schrieb Christian U.:
> Seems taht nobody have used something bevore...
> We don’t need LM_DROPFILES for Linux i do need it in windows, iam
> underway to implement it in windows.
> Also I have found documentations for qt (kde) so thers also no big
> problem.
> Does the gtk+ drag/drop support work also for not gtk applications ?
> At example with kfm ? 

yes, XDND is a freedesktop standard, so it works with everything that
honors it. Gnome honors it, KDE honors it and firefox honors it (the
latter a little bit only).
http://www.newplanetsoftware.com/xdnd/dragging_files.html

Are you only talking about dragging+dropping files or do you want
dragging+dropping work for anything else too? (text, images, .....)

> Or is it needed to use the lib of the wm ?

No, as far as I know the window manager does not take part in drag&drop.
What would it do?

> 
> What schould we do to implement drag & drop correct @ Matthias ?
> Implement it in the Interface (I think that’s the best choice)
> Or implement it in an special unit that musnt come with lazarus ?


> I think the best way could be to implement it in the interface and make
> it useable in OnDragOver/OnDragDrop of the Form or OnDragFiles or
> something similar ...

In my opinion having a OnDropFiles or so would be nice to have. Note
that XDND (X Drag and Drop) and XDS (X Drag Save) payloads are somewhat
sophisticated, so I'm not sure if OnDropFiles can do much stuff on
behalf of the programmer. That is, even with OnDropFiles provided, it
still will be a bit of work for the actual application programmer to get
some useful data out of the drop :)

Do we want to handle the "drag" part of "drag&drop" too ? :)

cheers,
   Danny


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to