Function

Gtkrender_insertion_cursor

Declaration [src]

void
gtk_render_insertion_cursor (
  GtkStyleContext* context,
  cairo_t* cr,
  gdouble x,
  gdouble y,
  PangoLayout* layout,
  int index,
  PangoDirection direction
)

Description [src]

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

Available since:3.4

Parameters

context GtkStyleContext
 

A GtkStyleContext.

 The data is owned by the caller of the function.
cr cairo_t
 

A #cairo_t.

 The data is owned by the caller of the function.
x gdouble
 

X origin.

y gdouble
 

Y origin.

layout GtkLayout
 

The PangoLayout of the text.

 The data is owned by the caller of the function.
index int
 

The index in the PangoLayout.

direction PangoDirection
 

The PangoDirection of the text.