Tk_MainLoop(3TK) Tk Library Procedures Tk_MainLoop(3TK)__________________________________________________________________________________________________________________________________________________NAME
Tk_MainLoop - loop for events until all windows are deleted
SYNOPSIS
#include <tk.h>
Tk_MainLoop()
_________________________________________________________________DESCRIPTION
Tk_MainLoop is a procedure that loops repeatedly calling Tcl_DoOneEvent. It returns only when there are no applications left in this
process (i.e. no main windows exist anymore). Most windowing applications will call Tk_MainLoop after initialization; the main execution
of the application will consist entirely of callbacks invoked via Tcl_DoOneEvent.
KEYWORDS
application, event, main loop
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.
TkTk_MainLoop(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)
Hello frnds..
i m using while loops in my code.. bec of that my application uses almost 90% of CPU resources.. its not lettin others applications to run..
actually i have to read some signal from serial port... n till i dont get it high or low..
i have to read that signal continuously... its... (1 Reply)
below is the output where i'm getting the same times tamp throughout the loop., where i'm expecting that to log the current time stamp..
C:\Users\ilango>for /l %i in (1,1,5) do echo for %i
C:\Users\ilango>echo for 1
for 1
C:\Users\ilango>echo for 2
for 2
C:\Users\ilango>echo... (1 Reply)
I have following problem with this code..
First time trough the main loop.....
perror gives ....blocked signal:success(all other times gives illlegal seek)
Should every time trought the main loop be success??
And the perror otside of main loop...didn't change mask:success
That line of code... (2 Replies)
HI ! all
I have some model which works fine in windows 7 OS with matlab program I want to run all those from Ubuntu 12.04 32-bit OS.
is there any provision to run windows applications? wine I tried, its not working, if any other available kindly explain the usage also
Note : Dual boot ... (5 Replies)
Hi Guys
I have a network where exist differences windows applications like
Active Directory (to management the profile of each person)
DNS
Well, as you know for these applications the company must be, every year, buy licenses.
I want know what option exist I could test / evaluate with the... (4 Replies)
I have 2 RHEL 5.9 system where customized applications are running.
These 2 servers are with in a network (LAN) with each other.One application in say Server 1 can talk to another application in server 2 and vice versa.
The applications are exchanging data among each other.
Recently I am... (0 Replies)