argv@turnpike.Eng.Sun.COM (Dan Heller) (08/19/90)
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.