tcldoc Tcl/Tk 9.0.4
/

HomeTk Library Procedures Tk

Tk_IdToWindow C API

Find Tk's window information for an X window

literal type exactly as shown argument replace with your value ?optional? may be omitted

Synopsis#

#include <tk.h>

Tk_Window Tk_IdToWindow(display, window)#

Arguments#

Display *display (in)

X display containing the window.

Window window (in)

X id for window.

Description#

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.

Keywords#

X window id

Copyright#