## Tcl9.0.3/Tk9.0.3 Documentation > Tk C API > IdToWindow

### Tcl/Tk Applications | Tcl Commands | Tk Commands | [incr Tcl] Package Commands | SQLite3 Package Commands | TDBC Package Commands | tdbc::mysql Package Commands | tdbc::odbc Package Commands | tdbc::postgres Package Commands | tdbc::sqlite3 Package Commands | Thread Package Commands | Tcl C API | Tk C API | [incr Tcl] Package C API | TDBC Package C API

### NAME

Tk_IdToWindow — X windowの為のTk　の窓情報を見つける　 Find Tk's window information for an X window

### SYNOPSIS

#include <tk.h>
Tk_Window
Tk_IdToWindow(display, window)

### 引数 ARGUMENTS

Display *display (入力in)
  窓を含んでいる X 表示器　 X display containing the window.

Window window (入力in)
  X 窓の識別子 X id for window.

### 説明 DESCRIPTION

X 窓の識別子とそれに対応する X 表示器が与えられ､この手続函数は対応する Tk_Window 処理機能を返す｡もし window に対応する Tk_Window がない場合は NULL が返される｡ 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 © 1995-1996 Sun Microsystems, Inc.