Warning: draw_insertion_cursor is deprecated since 3.4. Use render_insertion_cursor.
Draws a text caret on cr
at location
.
Use render_insertion_cursor instead.
This is not a style function but merely a convenience function for drawing the standard cursor shape.
widget |
a Widget |
cr |
cairo context to draw to |
location |
location where to draw the cursor ( |
is_primary |
if the cursor should be the primary cursor color. |
direction |
whether the cursor is left-to-right or right-to-left. Should never be NONE |
draw_arrow |
true to draw a directional arrow on the cursor. Should be false unless the cursor is split. |