modify_cursor


Description:

[ Version ( deprecated = true , deprecated_since = "3.0" , replacement = "override_cursor" , since = "2.12" ) ]
public void modify_cursor (Color? primary, Color? secondary)

Warning: modify_cursor is deprecated since 3.0. Use override_cursor.

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

Note:

Use 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.