Tk_IdToWindow(3) Tk Library Procedures Tk_IdToWindow(3)______________________________________________________________________________NAME
Tk_IdToWindow - Find Tk's window information for an X window
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
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌────────────────────┬─────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├────────────────────┼─────────────────┤
│Availability │ SUNWTk │
├────────────────────┼─────────────────┤
│Interface Stability │ External │
└────────────────────┴─────────────────┘
NOTES
Source for Tk is available in the SUNWTkS package.
Tk 4.0 Tk_IdToWindow(3)