Declaration [src]

gtk_widget_set_cursor_from_name (
  GtkWidget* widget,
  const char* name

Description [src]

Sets a named cursor to be shown when pointer devices point towards widget.

This is a utility function that creates a cursor via gdk_cursor_new_from_name() and then sets it on widget with gtk_widget_set_cursor(). See those functions for details.

On top of that, this function allows name to be NULL, which will do the same as calling gtk_widget_set_cursor() with a NULL cursor.


name const char*

The name of the cursor or NULL to use the default cursor

 Can be NULL
 The data is owned by the caller of the function
 The string is a NUL terminated UTF-8 string