Clipboard API

8 views
Skip to first unread message

stu....@gmail.com

unread,
Oct 12, 2020, 1:17:03 PM10/12/20
to cocos2d discuss

Should Cocos2D provide a clipboard API ?

(Or maybe adopt some python cross-platform clipboard library).


Without one, there is nonthing for the pyimgui Cocos2D backend to hook into

claudio canepa

unread,
Oct 12, 2020, 1:30:05 PM10/12/20
to cocos2d discuss
what scope would have the clipboard support?

if text only, would https://pypi.org/project/pyperclip/ plus a user defined listener for 'copy' & 'paste' be enough?



--
You received this message because you are subscribed to the Google Groups "cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cocos-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cocos-discuss/22cf1d1b-dcbb-4434-98a6-44f6aa9eafe4n%40googlegroups.com.

stu....@gmail.com

unread,
Oct 14, 2020, 8:03:11 AM10/14/20
to cocos2d discuss
Good question, pyimgui integrations only seem interested in text [1]

When it comes to other formats, like images/html, it' may be best to wait for pyperclip to support them or for some other library to emerge that does, even though that's a little limiting.

[1] - a couple of pyimgui clipboard integrations
Reply all
Reply to author
Forward
0 new messages