Method
GtkWidgetset_cursor_from_name
Declaration [src]
void
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.