Sets the cursor color to use in a widget, overriding the Widget cursor-color and secondary-cursor-color style properties.
Use gtk_widget_override_cursor instead.
All other style values are left untouched. See also modify_style.
| 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. |