RSS/Atom feed Twitter
Site is read-only, email is disabled

Mouse icons

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Mouse icons Nery Chucuy 01 Apr 05:23
  Mouse icons LightningIsMyName 01 Apr 13:13
   Mouse icons Nery Chucuy 08 Apr 05:37
Nery Chucuy
2010-04-01 05:23:55 UTC (about 14 years ago)

Mouse icons

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

LightningIsMyName
2010-04-01 13:13:24 UTC (about 14 years ago)

Mouse icons

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

Nery Chucuy
2010-04-08 05:37:41 UTC (about 14 years ago)

Mouse icons

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