URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [tags/] [start/] [insight/] [tk/] [doc/] [MainLoop.3] - Blame information for rev 1765
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
578 |
markom |
'\"
|
2 |
|
|
'\" Copyright (c) 1990-1992 The Regents of the University of California.
|
3 |
|
|
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
|
4 |
|
|
'\"
|
5 |
|
|
'\" See the file "license.terms" for information on usage and redistribution
|
6 |
|
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
7 |
|
|
'\"
|
8 |
|
|
'\" RCS: @(#) $Id: MainLoop.3,v 1.1.1.1 2002-01-16 10:25:48 markom Exp $
|
9 |
|
|
'\"
|
10 |
|
|
.so man.macros
|
11 |
|
|
.TH Tk_MainLoop 3 "" Tk "Tk Library Procedures"
|
12 |
|
|
.BS
|
13 |
|
|
.SH NAME
|
14 |
|
|
Tk_MainLoop \- loop for events until all windows are deleted
|
15 |
|
|
.SH SYNOPSIS
|
16 |
|
|
.nf
|
17 |
|
|
\fB#include \fR
|
18 |
|
|
.sp
|
19 |
|
|
\fBTk_MainLoop\fR()
|
20 |
|
|
.BE
|
21 |
|
|
|
22 |
|
|
.SH DESCRIPTION
|
23 |
|
|
.PP
|
24 |
|
|
\fBTk_MainLoop\fR is a procedure that loops repeatedly calling
|
25 |
|
|
\fBTcl_DoOneEvent\fR. It returns only when there are no applications
|
26 |
|
|
left in this process (i.e. no main windows exist anymore). Most
|
27 |
|
|
windowing applications will call \fBTk_MainLoop\fR after
|
28 |
|
|
initialization; the main execution of the application will consist
|
29 |
|
|
entirely of callbacks invoked via \fBTcl_DoOneEvent\fR.
|
30 |
|
|
|
31 |
|
|
.SH KEYWORDS
|
32 |
|
|
application, event, main loop
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.