renderInsertionCursor
fn
void 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
context | a #GtkStyleContext |
cr | a #cairo_t |
x | X origin |
y | Y origin |
layout | the #PangoLayout of the text |
index | the index in the #PangoLayout |
direction | the #PangoDirection of the text |