Tk_MainWindow man page on Peanut

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
Peanut logo
[printable version]

Tk_MainWindow(3)	     Tk Library Procedures	      Tk_MainWindow(3)

______________________________________________________________________________

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 interp->result.

       Tk_GetNumMainWindows returns a count of the number of main windows cur‐
       rently open in the process.

KEYWORDS
       application, main window

Tk				      7.0		      Tk_MainWindow(3)
[top]

List of man pages available for Peanut

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net