Interface TextView.OnExtendSelection

Enclosing class:
TextView
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 TextView.OnExtendSelection
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onExtendSelection(int granularity, TextIter location, TextIter start, TextIter end)
    Emitted when the selection needs to be extended at @location.
  • Method Details

    • onExtendSelection

      boolean onExtendSelection(int granularity, @Nonnull TextIter location, @Nonnull TextIter start, @Nonnull TextIter end)
      Emitted when the selection needs to be extended at @location.
      Parameters:
      granularity - the granularity type
      location - the location where to extend the selection
      start - where the selection should start
      end - where the selection should end
      Returns:
      %GDK_EVENT_STOP to stop other handlers from being invoked for the event. %GDK_EVENT_PROPAGATE to propagate the event further.