Tk_IdToWindow(3)

Tk_IdToWindow3

Find tk's window information for an x window

Usage

#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.


    


            

Overview

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

From tk 8.6.16-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.