Table of Contents
This chapter presents the code for gtksimple.g in several annotated sections. The program functions are arranged in this chapter more or less in the order they were written, not as they appear in the actual program. The complete program in proper sequence is shown in the final section of this chapter.
In order to emulate the appearance of GTK function calls in C, we assign the global variables TRUE and FALSE to the values 1 and 0, which are the values recognized by Gamma.
/******************************************************** * THE MONITOR * ********************************************************/ TRUE = 1; FALSE = 0;
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.