Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!uwm.edu!lll-winken!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: oops (Re: Motif List boxes) Message-ID: <140926@sun.Eng.Sun.COM> Date: 18 Aug 90 18:47:33 GMT References: <2304@kiwi.mpr.ca> <140923@sun.Eng.Sun.COM> Sender: news@sun.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 16 In article <140923@sun.Eng.Sun.COM> I said: > > Does the XmList object make an internal copy ? > Yes -- apparently Motif makes good attempts to make internal copies > of most things except for pixmaps. That is, if you set an icon label > to be a pixmap, don't free it as it is used during the life of the widget > that's using it. I didn't mean to say "icon label" (altho that might be true too). I meant to say that if you set the XmNlabelPixmap for a Label or PushButton widget, then you can't fre the pixmap you supply -- Motif will not copy that item. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.