Copyright (c) 1995-1996 Sun Microsystems, Inc.

See the file "license.terms" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.

SCCS: @(#) IdToWindow.3 1.4 96/03/26 18:14:08

.so man.macros
Tk_IdToWindow 3 4.0 Tk "Tk Library Procedures"
S
NAME
Tk_IdToWindow - Find Tk's window information for an X window
SYNOPSIS
#include <tk.h>
Tk_Window
Tk_IdToWindow(display, window)
ARGUMENTS
.AS Tk_Window display .AP Display *display in X display containing the window. .AP Window window in X id for window. E
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