Method

GtkWidgetmodify_cursor

deprecated: 3.0 since: 2.12

Declaration [src]

void
gtk_widget_modify_cursor (
  GtkWidget* widget,
  const GdkColor* primary,
  const GdkColor* secondary
)

Description [src]

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_modify_style().

Available since: 2.12

Deprecated since: 3.0

Use gtk_widget_override_cursor() instead.

Parameters

primary

Type: GdkColor

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_modify_cursor().

The argument can be NULL.
The data is owned by the caller of the method.
secondary

Type: GdkColor

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_modify_cursor().

The argument can be NULL.
The data is owned by the caller of the method.