Function gtk::render_insertion_cursor
source · [−]pub fn render_insertion_cursor(
context: &impl IsA<StyleContext>,
cr: &Context,
x: f64,
y: f64,
layout: &Layout,
index: i32,
direction: Direction
)
Expand description
Draws a text caret on cr
at the specified index of layout
.
context
cr
x
X origin
y
Y origin
layout
the pango::Layout
of the text
index
the index in the pango::Layout
direction
the pango::Direction
of the text