Interface EventControllerLegacy.OnEvent

Enclosing class:
EventControllerLegacy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface EventControllerLegacy.OnEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onEvent(Event event)
    Emitted for each GDK event delivered to @controller.
  • Method Details

    • onEvent

      boolean onEvent(@Nonnull Event event)
      Emitted for each GDK event delivered to @controller.
      Parameters:
      event - the `GdkEvent` which triggered this signal
      Returns:
      %TRUE to stop other handlers from being invoked for the event and the emission of this signal. %FALSE to propagate the event further.