CSN 332 - 002 : Graphical User Interface Design

Programming Assignment 3 - Due Thursday, March 14

Create a directory in GUI called code. Your directory should contain, at a minimum, the makefile and C source file code_entry.c

Write a C program which displays a main window consisting of twelve buttons resembling a telephone keypad. Each of the buttons should be labeled with the appropriate numbers (as shown below) and should be the same size as the other buttons. If the window is enlarged the buttons should resize themselves to fill the available area with no space between. The default size for the buttons is too small to make them useful upon startup of the program. Experiment with different options to see how you might increase their default size. The default size should have, at a minimum, three times the height of the label and three times the width. The entire group of buttons should be framed with an "etched in shadow" and the frame should contained the label Code Entry, centered above the buttons. You may use any widgets you wish to perform this task.

Make sure that your directory on eckserver (~ yourname /GUI/code) contains

makefile

code_entry.c