Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!udel!rochester!pt.cs.cmu.edu!edrc.cmu.edu!snl From: snl@edrc.cmu.edu (Sean Levy) Newsgroups: comp.windows.x Subject: Calling callbacks from a widget's set_values procedure Message-ID: <5107@pt.cs.cmu.edu> Date: 2 Jun 89 16:36:53 GMT Reply-To: snl@edrc.cmu.edu (Sean Levy) Organization: Carnegie-Mellon University, CS/RI Lines: 14 Keywords: Is there anything wrong with having a widget's SetValues() procedure call some callbacks as a result of a state change? I have a widget that's displaying an image of some sort at a (settable) location inside its window, with a callback that gets called whenever the image moves. Generally, it moves in response to mouse events, but it could also be moved by an explicit call to XtSetValues() (to reset it to 0,0 perhaps). -- --sean levy research programmer, engineering design research center, carnegie mellon internet: snl@edrc.cmu.edu bitnet: snl@edrc.cmu.edu%CMCCVMA uucp: ...!harvard!cs.cmu.edu!snl 2wire: 412 268 2257 dirt: EDRC / CMU / DH A219 / Pittsburgh PA 15213 --