How to send/emulate a key to a shell? [message #462590] |
Fri, 14 October 2005 06:40 |
Eclipse User |
|
|
|
Originally posted by: webapp.gmx.de
How can I send a key to a shell. In my special case I want to emulate that
the user pressed the esc-key, so that a Dialog will be closed.
Thanks, Rudolf
|
|
|
|
Re: How to send/emulate a key to a shell? [message #462638 is a reply to message #462599] |
Sat, 15 October 2005 21:27 |
Eclipse User |
|
|
|
Originally posted by: webapp.gmx.de
Thanks for reply. Please give some more details, how do I get an event
instance?
"Douglas Pollock" <douglas.pollock@magma.ca> schrieb im Newsbeitrag
news:diog9k$egn$1@news.eclipse.org...
> Rudolf Schmidt wrote:
>> How can I send a key to a shell. In my special case I want to emulate
>> that
>> the user pressed the esc-key, so that a Dialog will be closed.
>
> Display.post(Event)
>
> Remember to match every KeyDown with a KeyUp or things can become very
> weird
> very quickly.
>
>
>
> cheers,
> d.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03657 seconds