Package ch.bailu.gtk.gtk
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.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 typelocation
- the location where to extend the selectionstart
- where the selection should startend
- 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.
-