Interfacers Logo

Motif/X Window Programming

The Interfacers have a broad range of Motif development experience. We are ready to step in and help you whether you are creating X applications using straight C, C++, or even a mixture with the inclusion of a GUI builder.

xcolorswish

This small demonstration of Motif and X Window application programming illustrates several skills. Of particular interest, are Drag and Drop, Mouse Handling and Color Manipulation.
The demonstration below shows two separate applications that interact by allowing the user to "drag and drop" color information between the windows. The window titled 'draw' is a slightly modified version of an application from the book "The X Window System, Programming and Applications with Xt/OSF Motif Edition" by Douglas Young.

Demonstration

A sample application called xcolorswish is available for examination. It illustrates Mouse Handling, Color Manipulation and Drag&Drop.

Source Code

Now you can download the source code for xcolorswish. Included in the download is a modified version of an example program from Douglas Young's book "The X Window System, Programming and Applications with Xt, OSF/Motif Edition" (ISBN 0-13-497074-8).

Save the download from above. Then, on Unix, extract the files with:
cpio -idmv < xexamples.cpio

If you cannot use the cpio version, then try the compressed tar version.

Save the download above. Then, on Unix, extract the files with:
gunzip xexamples.tar.gz ; tar xvf xexamples.tar


Another Interfacers creation
Your comments about this Web Site are greatly appreciated.
Please direct them to interfacer-site@interfacers.com