summaryrefslogtreecommitdiffstats
path: root/doc/GetHWND.3
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-10-13 00:54:30 (GMT)
committerhobbs <hobbs>2003-10-13 00:54:30 (GMT)
commitcf110d475c65545da373dd3d2b136da0d21caa61 (patch)
treef613b8bf44988a52f0d798c44a7b28b98185d802 /doc/GetHWND.3
parent24f5a963b7c66e770fe49fca508335ac9536d805 (diff)
downloadtk-cf110d475c65545da373dd3d2b136da0d21caa61.zip
tk-cf110d475c65545da373dd3d2b136da0d21caa61.tar.gz
tk-cf110d475c65545da373dd3d2b136da0d21caa61.tar.bz2
* unix/mkLinks:
* doc/GetHWND.3: add Tk_AttachHWND docs [Bug #220803]
Diffstat (limited to 'doc/GetHWND.3')
-rw-r--r--doc/GetHWND.317
1 files changed, 14 insertions, 3 deletions
diff --git a/doc/GetHWND.3 b/doc/GetHWND.3
index b512578..7654315 100644
--- a/doc/GetHWND.3
+++ b/doc/GetHWND.3
@@ -2,28 +2,39 @@
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
'\" All rights reserved.
'\"
-'\" RCS: @(#) $Id: GetHWND.3,v 1.2 2000/09/07 00:28:38 ericm Exp $
+'\" RCS: @(#) $Id: GetHWND.3,v 1.3 2003/10/13 00:54:30 hobbs Exp $
'\"
'\"
.so man.macros
-.TH Tk_GetHWND 3 "" Tk "Tk Library Procedures"
+.TH HWND 3 8.0 Tk "Tk Library Procedures"
.BS
.SH NAME
-Tk_GetHWND \- retrieve the Windows handle for an X window
+Tk_GetHWND, Tk_AttachHWND \- manage interactione between the Windows handle and an X window
.SH SYNOPSIS
.nf
\fB#include <tkPlatDecls.h>\fR
.sp
HWND
\fBTk_GetHWND\fR(\fIwindow\fR)
+.sp
+Window
+\fBTk_AttachHWND\fR(\fItkwin, hwnd\fR)
.SH ARGUMENTS
.AP Window window in
X token for window.
+.AP Tk_Window tkwin in
+Tk window for window.
+.AP HWND hwnd in
+Windows HWND for window.
.BE
.SH DESCRIPTION
.PP
\fBTk_GetHWND\fR returns the Windows HWND identifier for X Windows
window given by \fIwindow\fR.
+.PP
+\fBTk_AttachHWND\fR binds the Windows HWND identifier to the
+specified Tk_Window given by \fItkwin\fR. It returns an X Windows
+window that encapsulates the HWND.
.SH KEYWORDS
identifier, window