PtMainLoop ()
This function starts an infinite event loop. If this function is read from a file it closes the file before starting the event loop. This is useful to ensure that no files are left open before starting the main event loop.
See examples for PtAttachCallback, PtContainerGiveFocus, and PtExtentWidget.
See the Photon: the Controller window of the Controller Functions chapter (Tutorial Two) in the Cogent Tools Demo and Tutorials book for an example of this function used in context.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.