StyleContext.renderInsertionCursor

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

class StyleContext
static
void
renderInsertionCursor

Parameters

context StyleContext

a #GtkStyleContext

cr Context

a #cairo_t

x double

X origin

y double

Y origin

layout PgLayout

the #PangoLayout of the text

index int

the index in the #PangoLayout

direction PangoDirection

the #PangoDirection of the text

Meta