Guilherme Polo <ggp...@gmail.com> added the comment:

That is because only the root window changed the position, a Configure
event is fired whenever the window changes its size, position, or border
width, and sometimes when it has changed position in the stacking order.

Try changing your example to verify this.

import Tkinter

def root_conf(event):
    print "root", event.x, event.y

def frame_conf(event):
    print "frame", event.x, event.y

root = Tkinter.Tk()
root.bind('<Configure>', root_conf)

frame = Tkinter.Frame(root)
lbl = Tkinter.Label(frame, text="Test")
lbl.pack()
frame.bind('<Configure>', frame_conf)
frame.pack()

root.mainloop()

----------
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1100366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to