Snapshot.renderInsertionCursor

void renderInsertionCursor(gtk.style_context.StyleContext context, double x, double y, pango.layout.Layout layout, int index, pango.types.Direction direction)

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

Parameters

contexta [gtk.style_context.StyleContext]
xX origin
yY origin
layoutthe [pango.layout.Layout] of the text
indexthe index in the [pango.layout.Layout]
directionthe [pango.types.Direction] of the text