Oh, by the way... in your frame's constructor (the Frame1.__init__), you'll have to make "parent" a member variable of the class so that OnCloseMe has access to it. I.e., in the __init__ add self.FrameParent = parent Then in OnCloseMe do: self.FrameParent.Close()