[comp.windows.x] Moving widget managed by Viewport widget

jgarb@CSD360B.ERIM.ORG (Joe Garbarino) (03/01/89)

I have a very large widget which is managed by the Athena Viewport
widget.  On occasion I would like to set explicitly in my application
code the location of my widget within the viewport to allow diagonal
movement but don't see any documentation concerning an action routine to
do this.  I found a MoveChild function in the Viewport.c file which does
exactly what I want, but it is declared static.  Is there any way to get
the job done (i.e. move my widget and have the scrollbars updated) within
the framework of the current Xaw Viewport widget?


					Joe Garbarino
					ERIM
					P.O. Box 8618
					Ann Arbor, Mi.  48107
					(313)994-1200 x2508
					jgarb@csd360b.erim.org

kit@ATHENA.MIT.EDU (Chris D. Peterson) (03/02/89)

>  Is there any way to get
> the job done (i.e. move my widget and have the scrollbars updated) within
> the framework of the current Xaw Viewport widget?

Nope, but it would not be hard to code.  If you do it, please send
us context diffs.

						Chris D. Peterson     
						MIT X Consortium /
						Project Athena 

Net:	kit@athena.mit.edu		
Phone: (617) 253 - 1326			
USMail: MIT - Room E40-321
	77 Massachusetts Ave.		
	Cambridge, MA 02139