[comp.windows.x.motif] Pixmaps as push button labels

dlw@mbir.bcm.tmc.edu (David Louis Williams) (06/18/91)

Help, I'm new to X and Motif. I have a small graphic that I want to use as the
label for a push button.  I can get standard 1-plane bitmap files to display
as the push button's label but I want to use a color pixmap which is currently
stored as a portable pixmap (.ppm) file.  How can I convert this to something
that I can use without loosing the colors.  I've search through all my books
but can't find anything to help.  Can someone point me in the right direction
or pass along some sample code?  Can I even do this?  Thanks for any help.
-- 

----
David Williams                 This posting only contains virtual opinions.
dlw@mbir.bcm.tmc.edu           Like most they don't really exsist.