arm@sps.com (Annette Myjak) (08/24/90)
I have several pushbuttons in a rowcolumn widget which seem to have lost their activate callbacks. (collecting the buttons into a rowcolumn widget is a recent change --- the callbacks were working previously.) in reading the documentation for rowcolumn widgets i found this resource called XmNentryCallback. apparently this is used to override the activate callbacks for all the items in a rowcolumn widget if the application supplies this resouce. if the application doesn't supply this resource, then the "activation callbacks for each item in the rowcolumn widget work as normal." the default value is NULL. i don't set this resouce (not intentionally anyway!), so one would think that my button activate callbacks should work properly. but it looks like they are being overridden somewhere. (i don't want to override them -- i like them just the way they are -- or used to be.) suggestions to get rid of this problem (other than doing away with the rowcolumn widget)? thanks annette myjak arm@sps.com
argv@turnpike.Eng.Sun.COM (Dan Heller) (08/24/90)
In article <266@sps.com> arm@sps.com (Annette Myjak) writes: > suggestions to get rid of this problem (other than doing away with the > rowcolumn widget)? I don't have this problem at all and I've been playing with entryCallbacks alot recently. This leads me to believe that somehow, something is getting stomped on. what happens if you explicitly SET entryCallback to NULL? XtSetArg(args[0], XmNentryCallback, NULL); rowcol = XmCreateRowColumn(...); Do you still get the problem? -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.