tk_getnummainwindows(3tk) debian man page | unix.com

Man Page: tk_getnummainwindows

Operating Environment: debian

Section: 3tk

Tk_MainWindow(3tk)					       Tk Library Procedures						Tk_MainWindow(3tk)

__________________________________________________________________________________________________________________________________________________

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 window. If there is no Tk application asso- ciated 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(3tk)
Related Man Pages
tk_grab(3tk) - debian
tk_nametowindow(3tk) - debian
tk_pathname(3tk) - debian
tk_ungrab(3tk) - debian
tk_mainwindow(3tk) - opensolaris
Similar Topics in the Unix Linux Community
One instance of comparing grep and awk
Weird 'find' results
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections
My first PERL incarnation... Audio Oscillograph