[Tkinter-discuss] methods of control PanedWindow

craf prog at vtr.net
Thu Dec 9 19:52:43 CET 2010


I Do learn to work with methods of control PanedWindow.The only that I
failed to understand how they are used are:

PanedWindow.proxy_coord()
PanedWindow.proxy_forget()
PanedWindow.proxy_place(x, y)


Does anyone know what they are good?

Annex code test:

--------------------------------------------------------------
from tkinter import *


master = Tk()
master.geometry('220x160')

def proxycoord(event):
    x = event.x
    y= event.y
    print(paned.proxy_coord())


paned = PanedWindow(master, orient = HORIZONTAL, background =
'grey',showhandle = TRUE)
paned.pack(fill = BOTH, expand = YES)

Entry1 = Entry(paned)
Entry2 = Entry(paned)
Entry3 = Entry(paned)

paned.add(Entry1)
paned.add(Entry2)
paned.add(Entry3)

paned.bind('<B1-Motion>',proxycoord)

master.mainloop()

---------------------------------------------------------------
Thanks in advance.

Regards.


Cristian Abarzua F



More information about the Tkinter-discuss mailing list