render_insertion_cursor


Description:

public void render_insertion_cursor (StyleContext context, double x, double y, Layout layout, int index, Direction direction)

Draws a text caret using this at the specified index of layout.

Parameters:

this

snapshot to render to

context

a `GtkStyleContext`

x

X origin

y

Y origin

layout

the `PangoLayout` of the text

index

the index in the `PangoLayout`

direction

the `PangoDirection` of the text




2022 vala-language.org