deprecated: 4.16 

Declaration [src]

gdk_x11_display_set_cursor_theme (
  GdkDisplay* display,
  const char* theme,
  const int size

Description [src]

Sets the cursor theme from which the images for cursor should be taken.

If the windowing system supports it, existing cursors created with gdk_cursor_new_from_name() are updated to reflect the theme change. Custom cursors constructed with gdk_cursor_new_from_texture() will have to be handled by the application (GTK applications can learn about cursor theme changes by listening for change notification for the corresponding GtkSetting).

Deprecated since: 4.16

Use the cursor-related properties of GtkSettings to set the cursor theme.



Type: const char*

The name of the cursor theme to use, or NULL to unset a previously set value.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Type: const int

The cursor size to use, or 0 to keep the previous size.