modify_cursor


Description:

public void modify_cursor (Color? primary, Color? secondary)

Sets the cursor color to use in a widget, overriding the Widget cursor-color and secondary-cursor-color style properties.

Note:

Use gtk_widget_override_cursor instead.

All other style values are left untouched. See also modify_style.

Parameters:

this

a Widget

primary

the color to use for primary cursor (does not need to be allocated), or null to undo the effect of previous calls to of modify_cursor.

secondary

the color to use for secondary cursor (does not need to be allocated), or null to undo the effect of previous calls to of modify_cursor.