Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!samsung!gem.mps.ohio-state.edu!lavaca.uh.edu!uhnix1!csun10.cs.uh.edu!atmaram From: atmaram@csun10.cs.uh.edu (S. Atmaram) Newsgroups: comp.windows.x Subject: Using a Pixmap as a Label for a labelWidget Keywords: Label Widget, pixmap, label Message-ID: <16259@uhnix1.uh.edu> Date: 3 Nov 89 21:12:13 GMT Sender: nntppost@uhnix1.uh.edu Reply-To: atmaram@csun10.cs.uh.edu (S. Atmaram) Distribution: na Organization: University of Houston Lines: 24 Hi netters! I have been having a hard time with the following problem - My program creates a form Widget and 4 label widgets as its children. Instead of having a string as the label, I wish to have a pixmap(icon) displayed. I have tried setting the XtNbitmap resource but have not been successful. I have created a bitmap using the 'bitmap' utility. Could someone please shed some light on how to go about making pixmaps as labels? Any help will be appreciated. Thanks. Atmaram atmaram@csuna.cs.uh.edu You are nearer to heaven through football than prayer - Swami Vivekananda