GTK Functions (in gtksimple.g)

Cogent Tools Demo and Tutorials: Version 4.0
Prev |  | Next

# Chapter 7. GTK Functions (in `gtksimple.g`)

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.

# 7.1. Global Variables

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;

Prev | Home | Next
Starting Programs - `program_startup` | Up | The Monitor Window - `create_monitor`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.