Method
GdkX11X11Displayset_cursor_theme
since: 2.8
Declaration [src]
void
gdk_x11_display_set_cursor_theme (
GdkDisplay* display,
const gchar* theme,
const gint 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(), gdk_cursor_new_for_display()
and
gdk_cursor_new_from_name()
are updated to reflect the theme
change. Custom cursors constructed with
gdk_cursor_new_from_pixbuf()
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
).
Available since: 2.8
Parameters
theme
-
Type:
const gchar*
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. size
-
Type:
const gint
The cursor size to use, or 0 to keep the previous size.