[comp.windows.x] Translation Tables

coltoff@PRC.Unisys.COM (Joel Coltoff) (08/31/88)

It appears as though you can't use XtOverrideTranslations() once
a widget is realized. Is this true? Clearly there are times when
doing this is dangerous but there are safe times as well. Is there
a way to work around this or am I forced to write all my own action
routines and forego the handy ones provided by the widget? Thanks
in advance.
-- 
	- Joel
		{psuvax1,sdcrdcf}!burdvax!coltoff	(UUCP)
		coltoff@burdvax.prc.unisys.com		(ARPA)

swick@ATHENA.MIT.EDU (Ralph R. Swick) (09/01/88)

> It appears as though you can't use XtOverrideTranslations() once
> a widget is realized.

This is a bug.  It will be fixed.

fred@hpcvlx.HP.COM (Fred Taft) (09/08/88)

As a matter of fact, we have already fixed this problem in our version of the
Xtk Intrinsics.  MIT will be including our intrinsics on the R3 tape, so this
fix will be available in the near future.  Additionally, we have posted 
(several times) a patch which will fix this bug; if you need a copy, drop me
a note, and I'll mail you the patches.

tek@penzance.cs.ucla.edu (04/05/91)

The syntax of the Xt translation tables seems to allow for matching
some very general event sequences. I have looked at the Asente & Swick
Xt book but I still have some questions about how the intrinsics match
on certain event sequences. My apologies, if I missed the relavant
manual section or if this has already been discussed.

For matching translations, the Intrinsics ignore pointer motion events
that occur between other events. But what about other types of events,
especially non-input events? If another event, say a PropertyNotify,
works it's way in between two button presses are the Intrinsics not
going to match against my double-click sequence? 

In the syntax, one can specify a count in parenthesis such as
"<Btn1Down>(2)". Can this be used with other input (eg key) events?
How about non-input events? 

Button presses have a multi-click time defined for them. Does
multi-click time only apply to consecutive *identical* events?
Does it only apply to event sequences writen with repeat counts in 
parentheses (rather than writing the whole sequence out event by
event)? Does multi-click time also apply to other input (eg key)
events? or to any other event types?  

-ted

Ted Kim                           Internet: tek@penzance.cs.ucla.edu
UCLA Computer Science Department  UUCP:     ...!{uunet|ucbvax}!cs.ucla.edu!tek
3804C Boelter Hall                Phone:    (213)206-8696
Los Angeles, CA 90024             FAX:      (213)825-2273