Gtk.Snapshot.render_insertion_cursor

### Method

# Gtk Snapshotrender_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`

  Type: `GtkStyleContext`

  A `GtkStyleContext`

  The data is owned by the caller of the function.

`x`

  Type: `double`

  X origin.

`y`

  Type: `double`

  Y origin.

`layout`

  Type: `PangoLayout`

  The `PangoLayout` of the text.

  The data is owned by the caller of the function.

`index`

  Type: `int`

  The index in the `PangoLayout`

`direction`

  Type: `PangoDirection`

  The `PangoDirection` of the text.