head	1.2;
access;
symbols;
locks; strict;
comment	@.\" @;


1.2
date	2000.04.19.23.11.23;	author ericm;	state dead;
branches;
next	1.1;

1.1
date	2000.04.18.02.18.32;	author ericm;	state Exp;
branches;
next	;


desc
@@


1.2
log
@* doc/WinViewable.3:
* unix/mkLinks: Removed docs for Tk_IsViewable.

* win/tkWinDialog.c: Removed calls to Tk_IsViewable.

* generic/tkUtil.c:
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tkCmds.c:
* generic/tk.decls: Removed Tk_IsViewable function (it was not
actually needed).
@
text
@'\"
'\" Copyright (c) 1998-2000 by Scriptics Corporation.
'\" All rights reserved.
'\" 
'\" RCS: @@(#) $Id: WinViewable.3,v 1.1 2000/04/18 02:18:32 ericm Exp $
'\" 
'\"
.so man.macros
.TH Tk_IsViewable 3 "" Tk "Tk Library Procedures"
.BS
.SH NAME
Tk_IsViewable \- determine whether a Tk window is viewable
.SH SYNOPSIS
.nf
\fB#include <tk.h>\fR
.sp
int
\fBTk_IsViewable\fR(\fItkwin\fR)
.SH ARGUMENTS
.AP Tk_Window tkwin
Window to examine.
.BE

.SH DESCRIPTION
.PP
\fBTk_IsViewable\fR is a utility function used to
determine whether or not a Tk window is viewable.  It returns
1 if the window given by \fItkwin\fR is viewable, and 0 if it is not.

.SH KEYWORDS
window, viewable
@


1.1
log
@* win/tkWinDialog.c: Added checks for visibility of parent window
before creating MessageBox and ChooseColor dialogs; this prevents
the application from locking when the parent is withdrawn and the
message box is created.  In these cases, the window will be
created without a parent.

* unix/mkLinks: Added WinViewable.3.

* tests/msgbox.test: Added tests for patch from [Bug: 4997].

* library/msgbox.tcl:
* library/dialog.tcl: Applied patch from [Bug: 4997]; detaches
dialog window from parent if parent is not viewable.

* library/bgerror.tcl: Removed workaround from [Bug: 4370]; this
is superceeded by patches to dialog.tcl.

* generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable
function to determine visibility of windows instead of inlining
the code.

* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tk.decls: Added Tk_IsViewable declaration.
@
text
@d5 1
a5 1
'\" RCS: @@(#) $Id$
@

