(self, text)
Put unicode text on clipboard.
Put unicode text on clipboard.
Put unicode text on clipboard .
def copy(self, text):
        """Put unicode text on clipboard."""
        sdl2.SDL_SetClipboardText(text.encode('utf-8', errors='replace'))
def copy ( self , text ) : sdl2 . SDL_SetClipboardText ( text . encode ( 'utf-8' , errors = 'replace' ) )