Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!ogicse!milton!gibdo!slh From: slh@gibdo.engr.washington.edu Newsgroups: comp.windows.x.motif Subject: Re: labelInsensitivePixmap problem Summary: use XmPushButton Keywords: XmLabel XmPushButton Message-ID: <1991Apr14.104433.18060@gibdo.engr.washington.edu> Date: 15 Apr 91 08:41:25 GMT Article-I.D.: gibdo.1991Apr14.104433.18060 References: <1991Apr10.111948.26461@cged.co.uk> Sender: news@milton.u.washington.edu (News) Reply-To: slh@gibdo.engr.washington.edu (PUT YOUR NAME HERE) Organization: zippity Lines: 15 In article <1991Apr10.111948.26461@cged.co.uk> cathy@cged.co.uk (Cathy Evans) writes: |I am using Motif 1.1. I am trying to use the labelPixmap and |labelInsensitivePixmap resources of an XmLabel to toggle an icon |between two states. Setting labelPixmap works okay, but the bitmap I |specify using labelInsensitivePixmap never appears. Am I doing |something wrong? I don't have the Motif source, so I can't do any |more investigations. | I'm not using 1.1, but since no one else answered, I'll guess. labelInsensitivePixmap may only be there for support for subclasses of label and so label never does anything with it (does it make sense for a label to be insensitive? I don't know) Try using XmPushButton; you'll probably also have to set fillOnArm to False or disable the press translation so the the button doesn't do anything when pressed