draw_insertion_cursor


Description:

[ Version ( deprecated = true , since = "3.0" , deprecated_since = "3.4" , replacement = "render_insertion_cursor" ) ]
public void draw_insertion_cursor (Widget widget, Context cr, Rectangle location, bool is_primary, TextDirection direction, bool draw_arrow)

Warning: draw_insertion_cursor is deprecated since "3.4". Use Gtk.render_insertion_cursor.

Draws a text caret on cr at location.

Note:

This is not a style function but merely a convenience function for drawing the standard cursor shape.

Parameters:

widget

a Widget

cr

cairo context to draw to

location

location where to draw the cursor (location->width is ignored)

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.


Namespace: Gtk
Package: gtk+-3.0