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

Bernd prof7bit at gmail.com
Thu Aug 23 16:46:43 CEST 2012


Fixed some bugs and made it a Lazarus Package, the component can now
be added to a form from the components palette in the form designer.

It works with Gtk2 and Win32

add component to the form, connect it to one of the controls and use
the OnGetData event to supply the list of file names (add the
filenames to the TStringList that will be supplied as argument).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileDragSource_package.tar.bz2
Type: application/x-bzip2
Size: 8219 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120823/b02d7cd7/attachment-0003.bin>


More information about the Lazarus mailing list