# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # =head1 NAME Tk_MainWindow - find the main window for an application =for category C Programming =head1 SYNOPSIS B<#include Etk.hE> Tk_Window B(I) =head1 ARGUMENTS =over 4 =item Tcl_Interp *interp (in/out) Interpreter associated with the application. =back =head1 DESCRIPTION If I is associated with a Tk application then B returns the application's main window. If there is no Tk application associated with I then B returns NULL and leaves an error message in Iresult>. =head1 KEYWORDS application, main window