Method

Gtk.Snapshot.render_insertion_cursor

Declaration [src]

void
gtk_snapshot_render_insertion_cursor (
  GtkSnapshot* snapshot,
  GtkStyleContext* context,
  double x,
  double y,
  PangoLayout* layout,
  int index,
  PangoDirection direction
)

Description [src]

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

Parameters

context GtkStyleContext
 

a GtkStyleContext

 Ownership is not transferred to the callee
x double
 

X origin

y double
 

Y origin

layout PangoLayout*
 

the PangoLayout of the text

 Ownership is not transferred to the callee
index int
 

the index in the PangoLayout

direction PangoDirection
 

the PangoDirection of the text