tcldoc Tcl/Tk 9.0.4
/

HomeTk Library Procedures Tk

HWND C API

Manage interactions between the Windows handle and an X window

Also documents Tk_GetHWND, Tk_AttachHWND

literal type exactly as shown argument replace with your value ?optional? may be omitted

Synopsis#

#include <tkPlatDecls.h>

HWND Tk_GetHWND(window)#

Window Tk_AttachHWND(tkwin, hwnd)#

Arguments#

Window window (in)

X token for window.

Tk_Window tkwin (in)

Tk window for window.

HWND hwnd (in)

Windows HWND for window.

Description#

Tk_GetHWND returns the Windows HWND identifier for X Windows window given by window.

Tk_AttachHWND binds the Windows HWND identifier to the specified Tk_Window given by tkwin. It returns an X Windows window that encapsulates the HWND.

Keywords#

identifier · window

Copyright#