Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!decwrl!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Creating a "Dynamic" Athena Viewport Widget Message-ID: <4620@bacchus.dec.com> Date: 1 Jun 90 17:18:08 GMT References: Sender: news@decwrl.dec.com Reply-To: klee@wsl.dec.com Distribution: usa Organization: DEC Western Software Laboratory Lines: 18 In article , nortonc@turing.cs.rpi.edu (Charles Norton) writes: > Hello, I have an application where it would be useful to have a > viewport widget with the following characteristic. > > * As the activity within the viewport evolves, the viewport > would automatically follow the action, as in a tracking > system, by adjusting its child. Only the child widget knows where the activity is. You could have the child widget do a SetValues on the viewport to change the view area. If your viewport widget doesn't already support programatic control, you can easily add through by subclassing. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee