Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Key Listener in SWT

Display.addFilter would not do it for you ?





"Emmanuel Brun" <ebr@xxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
08/27/2003 06:24 AM
Please respond to platform-swt-dev
 
        To:     <platform-swt-dev@xxxxxxxxxxx>
        cc: 
        Subject:        [platform-swt-dev] Key Listener in SWT



I am actually developping a application using SWT without 
using workbench.jar (only swt.jar).

We would like to get the key events in this application.
When the user press a key, we would like to call a specific 
code. It is independant from the location of the focus.

The first (and ugly) solution should be to add a keylistener 
to each control of the application, but it is unmaintable.

Is anyone know another solution (without using menu) ?

Thank you for your help

emmanuel brun
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev




Back to the top