commike@cs.Buffalo.EDU (Alan Commike ) (02/21/90)
hi, I'm having a bit of trouble with callbacks. I'm working on some image processing software, where there are many command widgets (with their pixmap resources set) as children to a composite widget. I am using the closure field in the callback resource for each of the widgets to point to extra information about to the images. This works fine for normal callbacks. I can get to the image information through the client_data paramater. Sometimes i have to do some global processing over all the images. I can do a walkthrough of the children of the composite widget. This gets me all the images that are displayed, but i can't get the correct closure information out of their callback structures. Is there a supported way to do this? Should the information be there? Thanks for all help, ...alan ----------------------------------------------------------------------------- internet: commike@cs.buffalo.edu | bitnet: commike%cs.buffalo.edu@ubvm.bitnet | Real-Life: Alan Commike - SUNY @ Buffalo, Buffalo NY Q: How many computer scientists does it take to change a light bulb? A: It's undecidable! -----------------------------------------------------------------------------