Our program, push.c, will create a window with a single push button in it. The button contains a string ``Push Me''. When the button is pressed (with a left mouse button) a string is printed to standard output and NOT to any window that we have created.
To quit the program you will either have to ctrl-c it to quit it from the command line or use the window to quit - depress right mouse down around the top perimeter of the window and choose quit option from menu.
We will soon learn how to create our own quit buttons, menus etc.
The display on the screen will look like this:
Fig. 4 Push.c output