Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!rutgers!rochester!rit!manama!ckr9498 From: ckr9498@manamacs.rit.edu (Charles K Ringo;902;icsg3;001011) Newsgroups: comp.windows.x Subject: how do I create a button? with a color pixmap using Athena Widgets? Message-ID: <2110@cs.rit.edu> Date: 26 Jan 91 18:53:07 GMT Sender: news@cs.rit.edu Reply-To: ckr9498@manamacs.rit.edu (Charles K Ringo;902;icsg3;001011) Organization: Rochester Institute of Technology Lines: 15 I am tring to assign a pixmap to a Command Button Widget for part of my project. At first the tried to use: XtSetArg(args[0],XtNpixmap,pixmap); And sometime it gave me errors. Others just does nothing. And I would like to have a color pixmap provided by my program and use it as a Command Button. Do you know a easy way to set it by my program? At this site I have Xlib's Xaw and Xt libraries. X version: X11R4 Charles Ringo