OSDN Git Service

Please enter the commit message for your changes. Lines starting
[eos/base.git] / util / src / TclTk / tk8.6.12 / doc / GetHWND.3
1 '\"
2 '\" Copyright (c) 1998-2000 by Scriptics Corporation.
3 '\" All rights reserved.
4 '\"
5 .TH HWND 3 8.0 Tk "Tk Library Procedures"
6 .so man.macros
7 .BS
8 .SH NAME
9 Tk_GetHWND, Tk_AttachHWND \- manage interactions between the Windows handle and an X window
10 .SH SYNOPSIS
11 .nf
12 \fB#include <tkPlatDecls.h>\fR
13 .sp
14 HWND
15 \fBTk_GetHWND\fR(\fIwindow\fR)
16 .sp
17 Window
18 \fBTk_AttachHWND\fR(\fItkwin, hwnd\fR)
19 .SH ARGUMENTS
20 .AP Window window in
21 X token for window.
22 .AP Tk_Window tkwin in
23 Tk window for window.
24 .AP HWND hwnd in
25 Windows HWND for window.
26 .BE
27 .SH DESCRIPTION
28 .PP
29 \fBTk_GetHWND\fR returns the Windows HWND identifier for X Windows
30 window given by \fIwindow\fR.
31 .PP
32 \fBTk_AttachHWND\fR binds the Windows HWND identifier to the
33 specified Tk_Window given by \fItkwin\fR. It returns an X Windows
34 window that encapsulates the HWND.
35 .SH KEYWORDS
36 identifier, window