onExtendSelection

fun onExtendSelection(    connectFlags: <Error class: unknown class> = ConnectFlags(0u),     handler: (granularity: TextExtendSelection, location: TextIter, start: TextIter, end: TextIter) -> Boolean): <Error class: unknown class>(source)

Emitted when the selection needs to be extended at @location.

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: 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.