set_cursor_theme


Description:

public void set_cursor_theme (string? theme, int size)

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

If the windowing system supports it, existing cursors created with Cursor.from_name are updated to reflect the theme change. Custom cursors constructed with Cursor.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).

Parameters:

this

a Display

theme

the name of the cursor theme to use, or null to unset a previously set value

size

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