Sets a specific GdkCursor for a given device when it gets inside @surface.
Passing %NULL for the @cursor argument means that @surface will use the cursor of its parent surface. Most surfaces should use this default.
Use [ctor@Gdk.Cursor.new_from_name] or [ctor@Gdk.Cursor.new_from_texture] to create the cursor. To make the cursor invisible, use %GDK_BLANK_CURSOR.
a pointer GdkDevice
a GdkCursor
See Implementation
Sets a specific GdkCursor for a given device when it gets inside @surface.
Passing %NULL for the @cursor argument means that @surface will use the cursor of its parent surface. Most surfaces should use this default.
Use [ctor@Gdk.Cursor.new_from_name] or [ctor@Gdk.Cursor.new_from_texture] to create the cursor. To make the cursor invisible, use %GDK_BLANK_CURSOR.