#include <phigs.h>
main()
{
processing applications ....
pxgui_xxxx( ... );
continuation of processing applications
}
This is a selective use of GPHIGS_GUI that does not call Motif in the program. (widget instantiation)
When used in this way, GPHIGS-GUI utilities may be accessed very easily. The utility is accessed simply by calling the corresponding function
Example :
In a PHIGS program, simply call the pxgui_view_expert function in the program to access the Expert function for view adjustment,.
The application can therefore access a GPHIGS_GUI function via a pxgui_xxx function selectively from its application program written with PHIGS. The programer can find out directly from the application (e.g. for debugging) which structures are posted on a workstation (this is a selective use of the GPHIGS_GUI toolkit).
The program can be visualized as below :

In order to compile these 3 types of program, use the Makefile corresponding to the GPHIGS_GUI demonstration directory
- make SimpleP PHIGS program
- make AllW MOTIF program
- make DebugG pxgui_xxx function example