Re: HICON to GdkPixbuf

2007-11-10 Thread Andrew Smith
Tor Lillqvist a écrit : Does anyone have ideas about how to convert such an HICON to a GdkPixbuf? There is code in gdk/win32 to do that, check the function gdk_win32_icon_to_pixbuf_libgtk_only() in gdk/win32/gdkcursor-win32.c in GTK+. This is an internal function so you aren't supposed

HICON to GdkPixbuf

2007-11-09 Thread Andrew Smith
Hi I want to load some icons from .dll files on windows and what the win32 API gives me is an HICON. Does anyone have ideas about how to convert such an HICON to a GdkPixbuf? Thanks in advance, Andrew ___ gtk-app-devel-list mailing list gtk-app

Re: HICON to GdkPixbuf

2007-11-09 Thread Tor Lillqvist
Does anyone have ideas about how to convert such an HICON to a GdkPixbuf? There is code in gdk/win32 to do that, check the function gdk_win32_icon_to_pixbuf_libgtk_only() in gdk/win32/gdkcursor-win32.c in GTK+. This is an internal function so you aren't supposed to call