[Lazarus] GTK2: Drag files to other applications (to the file manager, Thunar, Nautilus, etc)

Bernd prof7bit at gmail.com
Wed Aug 22 11:12:36 CEST 2012


2012/8/22 Hans-Peter Diettrich <DrDiettrich1 at aol.com>:

> What's complex in providing a list of filenames, in a TStrings object, and
> let the RTL/FCL do the rest?

How would you find he appropriate window handle of a TButton to
initiate XDND on xorg without asking GTk2 or Qt? And what if the
TButton does not have its own window at all? How are you going to do
this without asking the widgetset for an appropriate handle to use and
how are you going to intercept the mouse events in a widgetset
independent way from inside the RTL during the drag?




More information about the Lazarus mailing list