Automated Presentation of directory src/exampleCode/GLX/cutNpaste/Motif+Xt/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


Please be aware: what appears below are the v4.2 DT bits in auto-generated html form.
As we have the time, we will update these to reflect the current "state of the world".


README file from "Motif+Xt" directory


           Motif Clipboard and Xt Selection Example for Cut & Paste
           

           This is a simple demo of cut & paste. This demo displays 
           a molecule from a ".mol" file.  It can only display 
           one molecule at a time.  Because of this, there is 
           no selection box needed to cut and copy the data - 
           the entire molecule is cut or copied.  The left mouse 
           button rotates the molecule.  Data can be found in the
           molecules directory.
           
           The cut and paste is found in docut*.c.  The format
           passed is "STRING" otherwise known as XA_STRING... 
           it's just the ascii text describing the molecule.  
           
           docut_motif.c is the Motif clipboard version.
           docut_xt.c is the Xt version using the X clipboard.
           
           The executables created here interact with each other.
           The Motif clipboard knows how to interact with the
           X clipboard.  This demo has no visible text worth 
           selecting, so it doesn't use the Primary Transfer 
           or Primary Selection.
           
           If you have another program that uses the Motif clipboard 
           or the X clipboard and accepts data
           as a string, you can paste the molecule into
           that program to see the ascii text.  Try this
           with the X clipboard provided in ../Xclipboard.
           
           Run a couple of copies of the program.  Try reading
           in different molecules, rotate them, copy, cut,
           and paste into different windows.

Files of interest from "src/exampleCode/GLX/cutNpaste/Motif+Xt" directory

Source

Documentation

Data

Reference

Subdirectories


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire Motif+Xt directory.

Copyright © 1995, Silicon Graphics, Inc.