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 https://github.com/swistakm/pyimgui/blob/f9e08fd1471bbbbdd99d3d53513f094f372ab675/imgui/integrations/glfw.py#L24 https://github.com/swistakm/pyimgui/blob/f9e08fd1471bbbbdd99d3d53513f094f372ab675/imgui/integrations/sdl2.py#L29 On Monday, October 12, 2020 at 6:30:05 PM UTC+1 Claudio Canepa wrote: > 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? > > > > On Mon, Oct 12, 2020 at 2:17 PM [email protected] <[email protected]> > wrote: > >> >> 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 >> https://github.com/swistakm/pyimgui/issues/161 >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/cocos-discuss/22cf1d1b-dcbb-4434-98a6-44f6aa9eafe4n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/cocos-discuss/22cf1d1b-dcbb-4434-98a6-44f6aa9eafe4n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/cocos-discuss/0dd12bd0-7bea-4ded-8263-6ccb78aa8c4bn%40googlegroups.com.
