Tkinter: scrolling the canvas items AND widgets

Greg Ewing see_reply_address at something.invalid
Fri Sep 20 04:00:38 CEST 2002

jmdeschamps wrote:

> This code lets me scroll the graphical items but the widgets stay put
> using PythonWin 2.2.1 on Windows 2000


> for i in range(1):
>     f=Entry(canvas)

I think you need to create a window item on the
canvas, with the window attached to it, something
like this :

       f = Entry(canvas)
       canvas.create_window(10, 10, window = f)

Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand

More information about the Python-list mailing list