Re: [Gimp-developer] Mouse icons

2010-04-07 Thread Nery Chucuy
thank you!

would that work for a Windows environment?

2010/4/1 LightningIsMyName 

> 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  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


Re: [Gimp-developer] Mouse icons

2010-04-01 Thread LightningIsMyName
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  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