Package: gtk

Function gtk:render-insertion-cursor

Lambda List

gtk:render-insertion-cursor (context cr x y layout index direction)

Arguments

context -- a gtk:style-context object
cr -- a cairo:context-t context
x -- a number coerced to a double float for the x origin
y -- a number coerced to a double float for the y origin
layout -- a pango:layout object for the text
index -- an integer for the index in the Pango layout
direction -- a value of the pango:direction enumeration

Details

Draws a text caret on the Cairo context at the specified index of the Pango layout.
 

See also

#2025-07-05