A Practical Guide To X Window Programming: Developing by Mr. Brian J. Keller

By Mr. Brian J. Keller

A pragmatic consultant to X Window Programming is a easy consultant that takes readers step-by-step via constructing functions utilizing X-Windows™. The ebook covers the Xt Intrinsics section of the X-Window method intimately and discusses the MIT Athena and OSF/Motif Widget units which are utilized in the various examples. themes lined contain C programming basics, textual content dealing with utilizing X, fonts, occasion dealing with in Xt, extending the Widget units (building on box Editor Widget), designing and developing an software, development menus, printing support, OSF/Motif (including the window arranger) and interclient verbal exchange. 3 vast appendices are incorporated: Widgets, Classing, and Exported services; quickly Xt Reference advisor (X11R4); and quickly consultant to OSF/Motif Widgets. Any functions dressmaker attracted to constructing functions with Xt will locate this booklet a worthwhile and enlightening source.

Show description

Read Online or Download A Practical Guide To X Window Programming: Developing Applications with the XT Intrinsics and OSF/Motif PDF

Best windows desktop books

Special Edition Using Linux

This most modern model of designated variation utilizing Linux exhibits the best way to set up, configure, use, and community the most recent new release of freeware Linux working structures. The authors concentration totally on the freeware model of purple Hat Linux five. 1, notwithstanding Caldera OpenLinux 1. 2 and different renowned distributions additionally obtain recognition.

Windows 7 Pocket Guide

Grasp Microsoft's most up-to-date working process with home windows 7 - The Pocket advisor. research the fundamentals and follow them to customise your laptop to fit your wishes.

Faster Smarter Microsoft Windows 98

For the thousands of clients such as you who run home windows ninety eight at domestic or within the workplace, "Faster Smarter Microsoft home windows ninety eight" indicates effortless how you can get the activity performed together with your computer. This pleasant, updated consultant is helping you accomplish daily projects with out lacking a beat. The language is pleasant and down-to-earth, with out jargon or foolish chatter.

Additional resources for A Practical Guide To X Window Programming: Developing Applications with the XT Intrinsics and OSF/Motif

Sample text

That means that if I had an editor object, it would contain all of the data needed to pull all of the editing, as well as all of the processing needed to deal with the data. sics and OSF/Motif:Fundamentals: A Helpful Review for Understanding Xt Figure 2-5 Sample Xt client. Objects are arranged in classes (types of objects). Classing allows objects to inherit things from superclasses. If you looked at it in a hierarchy, the superclass is the parent of the object. As the parent, it allows the child access to everything it owns (house, car).

Font Naming Conventions If there is one thing that X has, it’s a slew of fonts. It seems as if everyone and his brother has “donated” fonts to MIT for incorporation with the release tapes. These names can be rather long. rinsics and OSF/Motif:Basic X Graphics: Text, Fonts, Bitmaps, and Colors -adobe-courier-medium-i-normal--18-180-75-75-p-104-iso8859-1 Fortunately, a naming convention has arisen and is supported by the Xlib font functions. It goes as follows: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1-2-3-4-5-6-7-8-9-10-11-12-13-14-15 registry foundry family weight slant setwidth style pixelsize pointsize (in 10ths) xres yres spacing avgwidth charsetregistry charsetencoding X register name adobe, dec, ibm, etc.

2. Window System Basics In order to write applications for X, you should get a feel for some of the basic relationships that exist. X is built using a hierarchical window system termed a window tree. There will always be one root window. The root window always covers the entire display area, and all other windows are its descendants. Additionally, windows on the same level in the tree are called siblings while the parent of a child is called an ancestor to the child. This is shown in Figure 2-2.

Download PDF sample

Rated 4.16 of 5 – based on 12 votes