[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3196: Allow Clipboard to Cut and Paste items of type x-special/gnome-copied-files


http://gambaswiki.org/bugtracker/edit?object=BUG.3196&from=L21haW4-

Comment #3 by Tony MOREHEN:

I agree.  Non-standard implementations should be avoided.

I can achieve what I need with an extended clipboard copy function, one that allows different text formats to be placed on the clipboard at the same time.

Something like:

Public Sub Clipboard.CopyEX(argData as Collection)

where argData is a collection of items whose key is the mime-type of the data, and whose data is a variant limited to text or an image, as is now the case. 

This would allow me at a minimum to put on the clipboard text/uri-list for filemanagers and a text/plain for text editors.  I could also put a cut flag to identify cut versus copy operations.

There are other benefits.  For example a programmer could put an image on the clipboard and at the same time a name or description of that image.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----