On Mon, 02 Jan 2006 20:20:12 +0100
dannym <[EMAIL PROTECTED]> wrote:

> 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 ?

Drag&Drop needs to be completed in the interface and controls.pp.
For Drag&Drop between applications we need to gather the different ways of
winapi, gtk, qt and carbon and find a platform independent interface for the
LCL.
How does it work under gtk2, carbon, winapi? Examples would be nice.

 
> > 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 ? :)

Of course.

Mattias

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

Reply via email to