Contents |
Overall |
You may feel X Auxiliary Primitive APIs are difficult, not easy to understand.
When you use X Auxiliary Convenient APIs, you can build your ouwn X-Aux in
short time. We provide sample source codes for those APIs. Please look into
src/server/programs/language_engines/sampleja3/xaux_common xaux_so_common.c is for library of .so module. xaux_ext_common.c is for library of .so module. We provide Motif and GTK+ examples. You can build your X Auxiliary modules with common libraries. src/server/programs/language_engines/sampleja3/xaux_gtk/PaletteAux.c src/server/programs/language_engines/sampleja3/xaux_gtk/LookupAux.c src/server/programs/language_engines/sampleja3/xaux_momtif/PaletteAux.c src/server/programs/language_engines/sampleja3/xaux_motif/LookupAux.c |
Define your Modules for aux.so |
You need to define your modules in sampleja3_xaux_so.c.
|
Define methods in your external program |
You need to define three methods in your external program.
|
![]() Copyright © 1995-2000 Sun Microsystems, Inc. All Rights Reserved. Terms of Use. Privacy Policy. |