renderInsertionCursor

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

Draws a text caret on cr at the specified index of layout.

Parameters

contexta #GtkStyleContext
cra #cairo_t
xX origin
yY origin
layoutthe #PangoLayout of the text
indexthe index in the #PangoLayout
directionthe #PangoDirection of the text