Hi

I'm working on a new set of icons for TortoiseHg, and would like to provide
16x16 images as well as 32x32 images.
Simply scaling the images looses some control over where to put contrast.

I have discovered
set_icon_list<http://www.pygtk.org/docs/pygtk/class-gtkwindow.html#method-gtkwindow--set-icon-list>which
allows me to set multiple images for windows, but I'm unable to find a
way to load two images from the same .ico file.

pixbuf_new_from_file_at_size<http://www.pygtk.org/docs/pygtk/class-gdkpixbuf.html#function-gdk--pixbuf-new-from-file>looked
like it could do the job. Unfortunately it doesn't load the image
with the specified resolution - but simply scales the largest image.

Is it possible to load two images from one .ico file, or do I have to
separate images into two files?

Regards,
Peer
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to