rbogen%dreams@Sun.COM (Richard Bogen) (09/21/89)
The education department of Sun Microsystems offers a number of courses of interest to SunOS programmers which are taught periodically at several locations in the U.S. and abroad. The following information describes one of the offerings of relevance to the readers of this newsgroup. Your inquiry for further information or U.S. registration is welcome by calling the toll-free number (800) 422-8020 between 8 a.m. and 5 p.m. PST. Dedicated classes at a Sun training center and classes at your facility are also available. Those wishing to take classes outside the U.S. should contact their local Sun field office. Sun employees should not use the above number either but should use internal email instead. ===================================================================== XView Programming SG-250 Overview: This new course is for programmers, unfamiliar with Sun's OpenWindows(TM) application environment, who are preparing to design and develop application software which will run under the X Window System. The course introduces the basic concepts of X programming using the OPEN LOOK(TM) graphical user interface, the XView toolkit, and the X11/NeWS(TM) window system that implements standard X protocol. No prior knowledge of X is assumed. The course also addresses Xlib, the C language interface to the X protocol. Students should meet the prerequisites to fully benefit from the course. Prerequisites: Before attending this course, students should be able to: * Write correct C programs and evaluate a=(struct foo *)b; * Create and edit textfiles using one of the editors, vi or TextEditor * Use basic SunOS commands * Use the SunOS development tools and utilities, especially cc * Demonstrate a general knowledge of bit-mapped graphics. Duration: Five days Objectives: Upon completing this course, students should be able to: * Discuss the underlying design and structure of the X Window System * Use the XView toolkit to program graphical interfaces for new or existing applications, and understand how to port current SunView applications to XView * Use lower-level XLibrary calls when necessary to perform some less generic functions that may not be available in the toolkit * Create display objects, for example, windows, menus, buttons, sliders, and text items with default attributes; modify their properties and manipulate the hierarchy of objects * Handle events to get the cursor location; detect a mouse click on an item; repair damage; and update the display * Handle issues of input focus; keystroke mapping; make selections and pass them between windows; and interact with the window manager * Invoke client utilities such as a terminal emulator and a performance monitor * Understand design constraints and tradeoffs affecting performance, portability, and extensibility. Tuition: $1250 Dates: Andover, Mass. September 25 - 29 October 23 - 27 December 4 - 8 Baltimore, Md. October 2 - 6 November 13 - 17 Milpitas, Calif. October 30 - November 3 December 11 - 15