Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!spool.mu.edu!uunet!tut.cis.ohio-state.edu!sei!fs7.ece.cmu.edu!o.gp.cs.cmu.edu!spot From: spot@CS.CMU.EDU (Scott Draves) Newsgroups: comp.windows.x Subject: stacking widgets Message-ID: Date: 28 Feb 91 14:04:57 GMT Sender: netnews@cs.cmu.edu (USENET News Group Software) Distribution: comp Organization: School of Computer Science, Carnegie Mellon University Lines: 27 hi all. I am trying to stack up widgets. That is, have several widgets that occupy the same rectangle on the screen. One of them is an output widget, the rest only do input. I tried to do this by using accelerators, all of the input widgets but one started out with a null translation table, instead the translations are in the XtNaccelerators resource. Then, after creating each widget I call XtInstallAccelerators() so that events in the designated wiget get sent to the appropriate place. but this doesn't work; for some reason nothing happens when I physcally send an event (ie click the mouse). No callback is called. Is there any way of doing this? the problem seems to lie somewhere in the attributes of the widgets' windows. they are selected to receive events, even though their translations are (or should be) NULL. why? -- christianity is stupid Scott Draves communism is good spot@cs.cmu.edu give up