ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages
|
This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles. For more information about the manual page format, see the manual page for manpages(5). |
Tk_MainWindow(3) Tk Library Procedures Tk_MainWindow(3) ____________________________________________________________________________________________________________ NAME Tk_MainWindow, Tk_GetNumMainWindows - functions for querying main window 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 outermost window in an application. If interp is associated with a Tk application then Tk_MainWindow returns the application's main win-dow. window. dow. If there is no Tk application associated with interp then Tk_MainWindow returns NULL and leaves an error message in interp->result. Tk_GetNumMainWindows returns a count of the number of main windows currently open in the process. KEYWORDS application, main window Tk 7.0 Tk_MainWindow(3) |
|