GdkWindow::set_cursor

void set_cursor([ GdkCursor cursor ]);

Sets the mouse cursor used in that window. The parameter is omitted, the cursor is reset to the default pointer.

Ejemplo 61. Setting the cursor

$cursor = gdk::cursor_new(150); //GDK_WATCH
$window = $mainWindow->window; //GdkWindow
$window->set_cursor($cursor);