summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/GetHWND.317
-rw-r--r--unix/mkLinks2
2 files changed, 16 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
diff --git a/unix/mkLinks b/unix/mkLinks
index 0b91246..2caca62 100644
--- a/unix/mkLinks
+++ b/unix/mkLinks
@@ -476,7 +476,9 @@ if test -r GetHWND.3; then
rm -f GetHWND.3.*
$ZIP GetHWND.3
rm -f Tk_GetHWND.3 Tk_GetHWND.3.*
+ rm -f Tk_AttachHWND.3 Tk_AttachHWND.3.*
ln $S GetHWND.3$Z Tk_GetHWND.3$Z
+ ln $S GetHWND.3$Z Tk_AttachHWND.3$Z
fi
if test -r GetImage.3; then
rm -f GetImage.3.*