DOKK / manpages / debian 10 / tk8.6-doc / Tk_IdToWindow.3tk.en
Tk_IdToWindow(3tk) Tk Library Procedures Tk_IdToWindow(3tk)


Tk_IdToWindow - Find Tk's window information for an X window

#include <tk.h>

Tk_Window
Tk_IdToWindow(display, window)

Display *display (in)
X display containing the window.
Window window (in)
X id for window.
    

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.

X window id

4.0 Tk