Widgets also have method named .clipboard_get()
that returns the contents of the clipboard (unless some kind of error happens based on the type of data in the clipboard).
The clipboard_get()
method is mentioned in this bug report:
http://bugs.python.org/issue14777
Strangely, this method was not mentioned in the common (but unofficial) online TkInter documentation sources that I usually refer to.