Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: Re: XmNmapCallback??? Message-ID: <144050@sun.Eng.Sun.COM> Date: 23 Oct 90 06:59:07 GMT References: <1990Oct22.183455.27968@wrl.dec.com> Sender: news@sun.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 15 In article <1990Oct22.183455.27968@wrl.dec.com> pjs@basalt.pa.dec.com (Philip Schneider) writes: > I've got a Motif application that uses a drawing area widget. I'd like > to have a callback routine called when the window associated with that > widget is mapped. Unfortunately, I seem unable to accomplish this -- the > attempt to specify a map callback routine is met with an error message : Not all widgets support this. I am guessing you are trying it on a primitive widget rather than a manager widget of some sort. It works fine for me with dialogs, rowcolumns, etc... -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.