Tk_MainWindow - dow information
#include <tk.h> Tk_Window Tk_MainWindow(interp) int Tk_GetNumMainWindows()
Tk_MainWindow(3tk) Tk Library Procedures Tk_MainWindow(3tk) ______________________________________________________________________________ NAME Tk_MainWindow, Tk_GetNumMainWindows - functions for querying main win- dow information SYNOPSIS #include <tk.h> Tk_Window Tk_MainWindow(interp) int Tk_GetNumMainWindows() ARGUMENTS Tcl_Interp *interp (in/out) Interpreter associated with the application. ______________________________________________________________________________ DESCRIPTION A main window is a special kind of toplevel window used as the outer- most window in an application. If interp is associated with a Tk application then Tk_MainWindow returns the application's main window. If there is no Tk application associated with interp then Tk_MainWindow returns NULL and leaves an error message in interpreter interp's result. Tk_GetNumMainWindows returns a count of the number of main windows cur- rently open in the current thread. KEYWORDS application, main window ATTRIBUTES See attributes(7) for descriptions of the following attributes: +---------------+------------------+ |ATTRIBUTE TYPE | ATTRIBUTE VALUE | +---------------+------------------+ |Availability | runtime/tk-8 | +---------------+------------------+ |Stability | Uncommitted | +---------------+------------------+ NOTES Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source- code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from https://source- forge.net/projects/tcl/files/Tcl/8.6.7/tk8.6.7-src.tar.gz/download. Further information about this software can be found on the open source community website at https://www.tcl.tk/. Tk 7.0 Tk_MainWindow(3tk)