logo       

Re: Setting the Window Icon: msg#00133

gnome.gtk+.python

Subject: Re: Setting the Window Icon

On Fri, Aug 15, 2003 at 08:57:11AM -0400, Shaffer, Chris wrote:
> How can I set the window icon from a PNG file? I know it will use
> set_icon(icon), but I get an error message saying that it needs to be of
> type gtk.gdk.Pixbuf, not string (I tried to pass the file name).

See the FAQ about pixbufs and file formats.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
pygtk mailing list pygtk@xxxxxxxxxx
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise