draw_insertion_cursor


Description:


public void draw_insertion_cursor (Widget widget, Drawable drawable, Rectangle area, Rectangle location, bool is_primary, TextDirection direction, bool draw_arrow)

Draws a text caret on cr at location.

Note:

Use gtk_render_insertion_cursor instead.

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

Parameters:

widget

a Widget

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.

cr

cairo context to draw to


Namespace: Gtk
Package: gtk+-2.0