Tk_IdToWindow - Find Tk's window information for an X window
#include <tk.h>
Tk_Window Tk_IdToWindow(display, window)
X display containing the window.
X id for window.
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 $widget then NULL is returned.
X window id
To install Tk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk
CPAN shell
perl -MCPAN -e shell install Tk
For more information on module installation, please visit the detailed CPAN module installation guide.