[sugar] Clipping API

Tomeu Vizoso tomeu at tomeuvizoso.net
Mon Apr 7 13:30:41 EDT 2008


Hi,

in a very recent posting, Eben has mentioned the need for more rich
descriptions of clippings in the Sugar shell.

More concretely, he has asked (or so I understood) for activities to
be able to better characterize the clippings they put into the
clipboard. This would be accomplished by providing a title, creator,
icon and preview along with the clipping data.

I see two ways of doing this:

- Activities that wish to provide this extra data use a D-Bus API
instead of the traditional X selection protocol.

- Activities provide this data in new X selection targets like
_SUGAR_CLIPPING_TITLE,  _SUGAR_CLIPPING_CREATOR, etc.

Any better possibility?

Thanks,

Tomeu


More information about the Sugar mailing list