NEW JERSEY INSTITUTE OF TECHNOLOGY

Advanced Programming Environment and Tools

CIS603(NJIT)

COURSE SYLLABUS / Spring 1998

Instructor: Vahid Moghaddasi
E-Mail: vahid@homer.njit.edu
Telephone:(201) 596-3366

MAILING ADDRESS
New Jersey Institute of Technology
Computer and Info. Science Department
323 M. L. King Blvd.
Newark, New Jersey 07102
 

Course Objectives: This course is an introduction to the Graphical User Interface (GUI) Programming in the X Windows System Environment. The design and implementation of the GUI is studied at various levels of abstraction using industry standard software tools. The approach used allows the student work with and obtain an understanding of the trade-offs between flexibility and ease of use inherent GUI building tools. This course is best suited for the advanced programmer who is interested in learning to program in the X Window System environment.

Texbook:

  1. Xlib programming Manual, Adrian Nye, O'Reilly and Associates, Inc.
  2. Lectures on Videotapes are available from H.A.V.E Inc., (1-800-999-4283).
  3. References:

  4. The X Window System, Programming and Applications with Xt, Douglas Young, Prentice-Hall pub.
  5. X Toolkit Intrinsics Programming Manual, Volume 4 (Motif Edition), A. Nye and T. O'Reilly and Assoc. Pub.
  6. Practical Programming in Tcl and Tk, Brent Welch, Prentice Hall Pub., 1995.
  7. Class notes
Evaluation:
Midterm 35%
Final 35%
Programming Assignments 30%
Exam Dates
Midterm: The week of March 23, 1998.
Final: The week of May 4, 1998. 
TOPICS
Topic Chapter
1. X Window System Concepts 
  • The X Network Model 
  • The Xlib Interface 
  • Display, Resources and Events 
  • Window Managers 
Xlib-1,2
2. X Windows 
  • Intro to X Graphics 
  • Window Characteristics 
  • Notification Events 
  • Window manager interaction 
Xlib-3, 4
3. Graphics and Text 
  • Creating Graphics Context 
  • Drawing Graphics 
  • Fonts and Texts 
Xlib-5, 6
4. Colors 
  • Color Naming and Specification 
  • Shared Colors 
  • Private Colors 
  • Standard Color Maps 
Xlib-7
5. Event Handling 
  • Event Processing 
  • Selecting Events 
  • Sending Events 
Xlib-8
Midterm
6. The Xt Toolkit: 
  • Programming with Widgets 
  • Xt and Object-Oriented Programming 
  • The Xt Programming Model 
  • Application Resources 
XTool-1
7. The Xt Callbacks: 
  • Translation Manager 
  • Callback Functions 
XTool-2
8. Xt and Motif: 
  • Customizing Widgets 
  • Specifying Resources 
  • Retrieving Resources from theCommand Line 
XTool-3
9. Primitive Motif Widgets 
  • The Core and the XmPrimitive Widget Classes 
  • The XmLabel Widget Class 
  • The Button Widgets 
  • The Text Widget Classes 
  • The Scrollbar Widget Class 
XTool-4
10. Manager Widgets 
  • Xt Support for Manager Widgets 
  • The XmManager Widget Class 
  • The XmRowColumn Widget Class 
  • The XmForm Widget Class 
  • The XmFrame Widget Class 
  • The XmMain Widget Class 
XTool-5
11.
  • Menus and Dialogs 
  • Popup menu 
  • Menu Bars 
  • Option Menus 
  • XmMessageBox Dialog 
  • File Selection Dialog 
XTool-6, 7
12. Tcl Fnd Tk Toolkit 
  • Control Structures 
  • Strings and Pattern Matching 
  • Simple Tk Widgets 
  • The Pack Geometry Manager 
  • The Tcl C Library 
  • Creating and deleting Interpreters and Commands 
Tcl/TK
FINAL