Widget.modifyCursor

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

All other style values are left untouched. See also gtk.widget.Widget.modifyStyle.

More...
class Widget
void
modifyCursor

Parameters

primary gdk.color.Color

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

secondary gdk.color.Color

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

Detailed Description

Deprecated: Use gtk.widget.Widget.overrideCursor instead.