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
context | a [gtk.style_context.StyleContext] |
x | X origin |
y | Y origin |
layout | the [pango.layout.Layout] of the text |
index | the index in the [pango.layout.Layout] |
direction | the [pango.types.Direction] of the text |