Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!think.com!mintaka!bloom-picayune.mit.edu!athena.mit.edu!bjaspan From: bjaspan@athena.mit.edu (Barr3y Jaspan) Newsgroups: comp.windows.x Subject: Re: Using a Callback to Get the character entered in a Text Widget Message-ID: <1991Jan30.200235.4788@athena.mit.edu> Date: 30 Jan 91 20:02:35 GMT References: <11525@ucrmath.ucr.edu> Sender: news@athena.mit.edu (News system) Reply-To: bjaspan@athena.mit.edu (Barr3y Jaspan) Distribution: usa Organization: Massachusetts Institute of Technology Lines: 13 In article <11525@ucrmath.ucr.edu>, bball@maris.ucr.edu (alvaro monge) writes: |> I am trying to get the character that the user enters while in an Athena |> Text Widget. I am not familiar with the callbacks used by the Text widget because I never use callbacks. I suggest you add a translation table entry that calls an action procedure that you provide whenever a character you care about is pressed. One of the arguments to an action procedure is the XEvent that triggered the procedure, so you can extract the typed character from there. -- Barr3y Jaspan, bjaspan@mit.edu Watchmaker Computing