Drag and drop across plasmoids
Marco Martin
notmart at gmail.com
Mon Aug 6 19:18:30 UTC 2012
On Monday 06 August 2012, Michał 'rysiek' Woźniak wrote:
> Hi there,
>
> Is there a way to do drag-and-drop across several QML/JS plasmoids? Or
> even better - into other programs/apps?
>
> This would be a very neat feature for anybody that uses several
> plasmoids of a given kind (like my Tasker) - being able to move
> similar items from one plasmoid instance to the other just makes
> sense, doesn't it.
>
> Alternatively, copy-and-paste/clipboard support would be immensely
> helpful, even with "export item to plain text" requirement.
import org.kde.draganddrop 1.0
then you have DragArea and DropArea, that manage actual X11 drag and drop
event (so usable across plasmoids and across apps)
at the moment it's documented, but only in the c++ header files (should be
extracted)
http://ur1.ca/9wlkq
Cheers,
Marco Martin
More information about the Plasma-devel
mailing list