org.gnu.gtk
Interface KeySnoopMethod
public interface KeySnoopMethod
Interface that can be used to intercept all key events before they are
delivered normally. It can be used to implement custom key event handling.
boolean | keyEvent(Widget widget, EventKey event) - Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
keyEvent
public boolean keyEvent(Widget widget,
EventKey event)
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
Method invoked when a key event occurs. This method is called before
normal event delivery and can be used to implement custom key event
handling.
widget
- The widget to which the event will be delivered.event
- The key event.
- TRUE to stop further processing of event, FALSE to continue.