Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Xaw Viewport help needed. Message-ID: <9006291440.AA26890@expo.lcs.mit.edu> Date: 29 Jun 90 14:40:34 GMT References: <7816@ncar.ucar.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 28 > I have an application that needs to display a large (@200) number of > children aligned horizontally. They are encapsulated in a box widget and > I want to put them into a viewport, so that the entire set need not be > visible. Unfortunately, when it is time to realize the widgets, things > just spin. The process runs, but it never manages to put up the widgets. > So my questions are: > 1> Can the viewport widget support a child with children? > > 2> If yes, how do you set things up? This should work just fine. Perhaps your configuration is strange, or your boxes are big enough to run off the end of a signed short (2^15 - 1). The only client I know of that does this sort of thing is xmh, so perhaps you can look there for an example (although I hesitate to mention this, since the xmh code is to twisty, but if you are brave you can take a look). If you can provide a short example that causes the Viewport to fail, please submit a bug report using the form provided in "lib/doc/bugs/bug-report" in your X tape. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213