summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-10-13 00:55:08 (GMT)
committerhobbs <hobbs>2003-10-13 00:55:08 (GMT)
commitf7654c43f895fd31af766c4c55b0ce763d2f7aba (patch)
treeb8c03ec181408dd265380773b60376d79b520a22 /doc
parentf21b0b281862c1937001b4fa19161b59eab679a0 (diff)
downloadtk-f7654c43f895fd31af766c4c55b0ce763d2f7aba.zip
tk-f7654c43f895fd31af766c4c55b0ce763d2f7aba.tar.gz
tk-f7654c43f895fd31af766c4c55b0ce763d2f7aba.tar.bz2
* unix/mkLinks:
* doc/GetHWND.3: add Tk_AttachHWND docs [Bug #220803]
Diffstat (limited to 'doc')
-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..eb33db6 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.2.8.1 2003/10/13 00:55:08 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