Method
GtkWidgetmodify_cursor
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 |
Parameters
primary |
GdkColor |
The color to use for primary cursor (does not
need to be allocated), or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
secondary |
GdkColor |
The color to use for secondary cursor (does
not need to be allocated), or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |