[Tkinter-discuss] Re: Clipboard

Matthias Huening mhuening at zedat.fu-berlin.de
Wed May 12 14:21:02 EDT 2004


"Batista, Facundo" <FBatista at uniFON.com.ar> wrote in
news:A128D751272CD411BC9200508BC2194D03383981 at escpl.tcp.com.ar: 

> I want to paste some text in the clipboard, so I do:
> 
>   root.clipboard_clear()
>   root.clipboard_append(mytext)
> 
> But I can not find a way to retrieve the text from the clipboard! Is
> there a way?


root.selection_get(selection="CLIPBOARD")

Matthias




More information about the Tkinter-discuss mailing list