summaryrefslogtreecommitdiffstats
path: root/doc/WindowId.3
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-01-21 03:54:20 (GMT)
committerhobbs <hobbs>2000-01-21 03:54:20 (GMT)
commit45572469ec5bc7b41c213ee56f0a7db17bfc8cb8 (patch)
treeaff1f187fd92c0aad4eaeb0efb5785b290c3d701 /doc/WindowId.3
parent626a47c02bd9e449005723dddc9d4f732b591711 (diff)
downloadtk-45572469ec5bc7b41c213ee56f0a7db17bfc8cb8.zip
tk-45572469ec5bc7b41c213ee56f0a7db17bfc8cb8.tar.gz
tk-45572469ec5bc7b41c213ee56f0a7db17bfc8cb8.tar.bz2
* doc/WindowId.3: added docs for Tk_IsContainer and Tk_IsEmbedded
* doc/text.n: clarified mark gravity definition and usage of ``word'' in binding definitions. [Bug: 2004 2277 1388]
Diffstat (limited to 'doc/WindowId.3')
-rw-r--r--doc/WindowId.318
1 files changed, 16 insertions, 2 deletions
diff --git a/doc/WindowId.3 b/doc/WindowId.3
index 020d02a..533a638 100644
--- a/doc/WindowId.3
+++ b/doc/WindowId.3
@@ -5,13 +5,13 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: WindowId.3,v 1.4 1999/04/21 21:53:22 rjohnson Exp $
+'\" RCS: @(#) $Id: WindowId.3,v 1.5 2000/01/21 03:54:20 hobbs Exp $
'\"
.so man.macros
.TH Tk_WindowId 3 "" Tk "Tk Library Procedures"
.BS
.SH NAME
-Tk_WindowId, Tk_Parent, Tk_Display, Tk_DisplayName, Tk_ScreenNumber, Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height, Tk_Changes, Tk_Attributes, Tk_IsMapped, Tk_IsTopLevel, Tk_ReqWidth, Tk_ReqHeight, Tk_InternalBorderWidth, Tk_Visual, Tk_Depth, Tk_Colormap \- retrieve information from Tk's local data structure
+Tk_WindowId, Tk_Parent, Tk_Display, Tk_DisplayName, Tk_ScreenNumber, Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height, Tk_Changes, Tk_Attributes, Tk_IsContainer, Tk_IsEmbedded, Tk_IsMapped, Tk_IsTopLevel, Tk_ReqWidth, Tk_ReqHeight, Tk_InternalBorderWidth, Tk_Visual, Tk_Depth, Tk_Colormap \- retrieve information from Tk's local data structure
.SH SYNOPSIS
.nf
\fB#include <tk.h>\fR
@@ -53,6 +53,12 @@ XSetWindowAttributes *
\fBTk_Attributes\fR(\fItkwin\fR)
.sp
int
+\fBTk_IsContainer\fR(\fItkwin\fR)
+.sp
+int
+\fBTk_IsEmbedded\fR(\fItkwin\fR)
+.sp
+int
\fBTk_IsMapped\fR(\fItkwin\fR)
.sp
int
@@ -120,6 +126,14 @@ applications use Tk procedures like \fBTk_ResizeWindow\fR instead
of X procedures like \fBXResizeWindow\fR, so that Tk can keep its
data structures up-to-date.
.PP
+\fBTk_IsContainer\fR returns a non-zero value if \fItkwin\fR
+is a container, and that some other application may be embedding
+itself inside \fItkwin\fR.
+.PP
+\fBTk_IsEmbedded\fR returns a non-zero value if \fItkwin\fR
+is is not a free-standing window, but rather is embedded in some
+other application.
+.PP
\fBTk_IsMapped\fR returns a non-zero value if \fItkwin\fR
is mapped and zero if \fItkwin\fR isn't mapped.
.PP