Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!mit-eddie!genrad!decvax!decwrl!jumbo!jg From: jg@jumbo.dec.com (Jim Gettys) Newsgroups: comp.windows.x Subject: Re: Keykaps?? Message-ID: <792@jumbo.dec.com> Date: Fri, 1-May-87 13:15:25 EDT Article-I.D.: jumbo.792 Posted: Fri May 1 13:15:25 1987 Date-Received: Sun, 3-May-87 01:12:03 EDT References: <8705011421.a012964@ivax.doc.ic.ac.uk> Reply-To: jg@jumbo.UUCP (Jim Gettys) Distribution: world Organization: DEC Systems Research Center Lines: 15 In article <8705011421.a012964@ivax.doc.ic.ac.uk> lmjm@doc.ic.ac.UK writes: >I was just asked if it is possible to write an application in X which >is sort of similar to the keykaps of the Macintosh. It has a window >which represents the keyboard and when the image of a key is clicked >in it it simulates that key event so that the focused window thinks >that key has actually been presed. Under V10 it is not possible. Under V11 you could do this under some window management styles (any in which the keyboard input focus is under control of/set by a window manager) by using SendEvent. You would have problems under a window manager which does not handle input focus control, as you would not know where to send the event. - Jim