Submitted by colonel on Tue, 10/09/2001 - 04:18. Developers
Hi, All!
I have a program which uses some xpm files displaying in buttons.
1) How can I join these files with main program and then use it?
2) How can I resolve path to these files if I installed this program and copied *.xpm to `prefix/share/progname`
Tue, 07/03/2012 - 12:19
#1
include xpm
1) You can mention the name of the pixmap as a resource value e.g.
*foo_label.labelPixmap blah.xpm
2) See the information on XmGetPixmap(), which Motif 2 uses internally to track down the pixmaps; it should have information on the path-name variable you set to point to files that the application should use.