Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk_getnummainwindows(3tk) [opensolaris man page]

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 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tk is available on http://opensolaris.org. Tk 7.0 Tk_MainWindow(3TK)

Check Out this Related Man Page

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 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tk is available on http://opensolaris.org. Tk 7.0 Tk_MainWindow(3TK)
Man Page

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

about libXm.so.2 library

I have installed RedHat7.3 on my pc.But when i open a application window it says libXm.so.2 does not exist.Yes it does not exist. there is a libXm.so.3 there. So how can i get libXm.so.2 or what's wrong with it?thanks. by the way,with windowXP vfat format disk,can it solve large size file,llike... (0 Replies)
Discussion started by: jingwp
0 Replies

2. Programming

how to print?

Let the c program is #include<stdio.h> void main() { printf("\n In side the main"); } The out put is In side the main The printf satatement is only statement in main. Let say I want to print the string "Hello World" before the printf satatement is executed. Say the output should... (2 Replies)
Discussion started by: surjyap
2 Replies

3. Solaris

This application is eating up the CPU

Hi, I am not very much fmiliar with Solaris OS. My main concern for posting is One application is eating 50% of CPU and I cannot run that application, If I perform any action in that application it takes real long time. I have solaris installed on my development machine.I have my application... (11 Replies)
Discussion started by: pandu345
11 Replies

4. Programming

main function

Is it possible to execute any function before main() function in C or C++. (6 Replies)
Discussion started by: arun.viswanath
6 Replies

5. UNIX and Linux Applications

Sendmail: help with main.mc

We compile the sendmail.cf file using main.mc. I have managed to place all of our configuration options in main.mc without a problem, with the exception of one. I want to have the HelpFile commented out by default in sendmail.cf. How can I instruct main.mc to place an entry for HelpFile in... (1 Reply)
Discussion started by: dangral
1 Replies

6. Shell Programming and Scripting

Removing same line from a file

Hello , I got a text file like that with many same line main/a/antlr/ main/a/apache2/ main/a/app-install-data-ubuntu/ main/a/apparmor/ main/a/apport/ main/a/apport/ main/a/apport/ main/a/apport/ main/a/apr-util/ main/a/apr-util/ main/a/apt/ main/a/apt/ main/a/apturl/the output... (1 Reply)
Discussion started by: davidkhan
1 Replies

7. UNIX and Linux Applications

The ps command - process showing up even after application is shut down

Hi all, I'm very new to unix, I'm developing an application in Java, part of which requires me to check if a certain application is still running. In windows, I just use tasklist - if the application has been shut down it won't appear in the task list. I've been trying to use the ps command to... (0 Replies)
Discussion started by: ekatmcg
0 Replies

8. Shell Programming and Scripting

Unix on machine

Hi All I have window 7 ultimate installed on my machine. i want to install unix just like an application when i click on the application i should work on unix and when i close that application normal window 7 appears Example-: like in case of windows suppose we have installed the sql... (6 Replies)
Discussion started by: parthmittal2007
6 Replies

9. UNIX for Dummies Questions & Answers

Unix on Windows

Hi All I have window 7 ultimate installed on my machine. i want to install unix just like an application when i click on the application i should work on unix and when i close that application normal window 7 appears Example-: like in case of windows suppose we have installed the sql... (8 Replies)
Discussion started by: parthmittal2007
8 Replies