Method
GtkSnapshotrender_insertion_cursor
deprecated: 4.10
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.
Deprecated since: 4.10
Please do not use it in newly written code.
Parameters
context-
Type:
GtkStyleContextA
GtkStyleContextThe data is owned by the caller of the function. x-
Type:
doubleX origin.
y-
Type:
doubleY origin.
layout-
Type:
PangoLayoutThe
PangoLayoutof the text.The data is owned by the caller of the function. index-
Type:
intThe index in the
PangoLayout direction-
Type:
PangoDirectionThe
PangoDirectionof the text.