Snapshot.renderInsertionCursor

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

class Snapshot
void
renderInsertionCursor

Parameters

context gtk.style_context.StyleContext
x double

X origin

y double

Y origin

layout pango.layout.Layout

the pango.layout.Layout of the text

index int

the index in the pango.layout.Layout

direction pango.types.Direction

the pango.types.Direction of the text