Function

Gtkrender_insertion_cursor

since: 3.4

Declaration [src]

void
gtk_render_insertion_cursor(
GtkStyleContext*context,
cairo_t*cr,
gdoublex,
gdoubley,
PangoLayout*layout,
intindex,
PangoDirectiondirection
)

Description [src]

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

Available since: 3.4

Parameters

context

Type: GtkStyleContext

A GtkStyleContext.

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

Type:

A #cairo_t.

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

Type: gdouble

X origin.

y

Type: gdouble

Y origin.

layout

Type:

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:

The PangoDirection of the text.

AltStyle によって変換されたページ (->オリジナル) /