Hi! > you should be able to use wm_frame() (aka frame()) to > get hold of the outer window: > > inner = w.winfo_id() > outer = string.atoi(w.wm_frame(), 0) Thank you, it works. BR, Attila