This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gpolo
Recipients akameswaran, gpolo, loewis
Date 2009-04-22.20:03:03
SpamBayes Score 0.0001582767
Marked as misclassified No
Message-id <1240430585.06.0.903160957364.issue1100366@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2009-04-22 20:03:05gpolosetrecipients: + gpolo, loewis, akameswaran
2009-04-22 20:03:05gpolosetmessageid: <1240430585.06.0.903160957364.issue1100366@psf.upfronthosting.co.za>
2009-04-22 20:03:03gpololinkissue1100366 messages
2009-04-22 20:03:03gpolocreate