Denis Oliver Kropp wrote:
> Christian Schaubschlaeger wrote:

<snip/>

>>      pixbuf_cursor = 
>> gdk_pixbuf_new_from_file("/some/path/to/image.png",&error);
>>      cursor = gdk_cursor_new_from_pixbuf(display, pixbuf_cursor,     0,0);
>>      gdk_window_set_cursor(GTK_WIDGET(window)->window,cursor);
> 
> 
> Don't know if the GDK backend handles these cursors properly...
> 

gdk_pixbuf_new_from_file() is implemented but, as mike suggested [1], 
alpha has to be managed (currently the bg is opaque)

Attilio

[1] http://bugzilla.gnome.org/show_bug.cgi?id=330420

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to