[comp.windows.x] translation manager bug?

swick@ATHENA.MIT.EDU (Ralph R. Swick) (12/03/88)

     Date: 10 Nov 88 03:28:26 GMT
     From: fxgrp!grady@AMES.ARC.NASA.GOV  (Steven Grady)

     I wanted to switch the meanings of the left and right buttons
     in xman, so I supplied the following resource:

         xman*ScrollByLine*translations:	#override\
	    <Btn1Down>: Page(Back) \n\
	    <Btn3Down>: Page(Forward)
     ...


     Date: 13 Nov 88 23:55:48 GMT
     From: kit@ATHENA.MIT.EDU  (Chris D. Peterson)

     This is not a bug, this is an incorrect resource specification.

     The ScrollByLine widget creates subwidgets, most notabaly the
     scrollbar.  This is what is causing your problem, since you are
     overriding the translations of both the scrollbar
     ...
         xman*ScrollByLine.translations:     #override\
     [works]

Actually, there is a bug in Xt; Steven's try should have resulted
in an error message (when the Scrollbar was Realized) to the effect
that the Page() action was not defined.