Hello Nery,

You can get custom cursors using GDK.
Take a look at this link:
http://library.gnome.org/devel/gdk/stable/gdk-Cursors.html#id615496
In the same way they create a cursor from bitmap data in that example,
you can create a cursor from a pixbuf (using
gdk_cursor_new_from_pixbuf ()), and the pixbuf will be create from a
file (using gdk_pixbuf_new_from_file () on an image file)

All the information you need is located in the GDK documentation:
GDK Pixbuf documentation -
http://library.gnome.org/devel/gdk-pixbuf/stable/index.html
GDK documentation - http://library.gnome.org/devel/gdk/stable/index.html

Hope this helps =)
LightningIsMyName

On Thu, Apr 1, 2010 at 6:23 AM, Nery Chucuy <idesisn...@gmail.com> wrote:
> Hello guys, I've seen that Gimp has very colorful and nice mouse icons. I
> wonder what do you use to make that possible? also, would you point me into
> the right direction where that code is placed at your tree?
> Thanks in advance,
> -idesisnery
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to