renderInsertionCursor

open fun renderInsertionCursor(    context: StyleContext,     x: <Error class: unknown class>,     y: <Error class: unknown class>,     layout: <Error class: unknown class>,     index: <Error class: unknown class>,     direction: <Error class: unknown class>)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

---

Draws a text caret using @snapshot at the specified index of @layout.

Parameters

context

a GtkStyleContext

x

X origin

y

Y origin

layout

the PangoLayout of the text

index

the index in the PangoLayout

direction

the PangoDirection of the text