Getting the XP clipboard in tkinter

Edward K. Ream edream at tds.net
Mon Jul 1 09:33:03 EDT 2002


Matthias Huening wrote:

> > The
> > following two statements also take exceptions:
> >
> > s = app().root.selection_get("clipboard")
> > s = app().root.selection_get(".")

> Did you try this:
> root.selection_get(selection="CLIPBOARD")
> 
> Worked for me...

Yes!  selection="CLIPBOARD" works.  selection="clipboard" does not. 
Somehow I was blind to case.  Thanks very much for your help.

Edward
--------------------------------------------------------------------
Edward K. Ream   email:  edream at tds.net
Leo: Literate Editor with Outlines
Leo: http://personalpages.tds.net/~edream/front.html
--------------------------------------------------------------------



More information about the Python-list mailing list