Tk_Window Tk_IdToWindow(display, window)
Display *display
(in) Window window
(in) Given an X window identifier and the X display it corresponds to, this procedure returns the corresponding Tk_Window handle. If there is no Tk_Window corresponding to window then NULL is returned.