StyleContext.renderInsertionCursor

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

class StyleContext
void
renderInsertionCursor

Parameters

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 Since 3.4

Meta