logo       

Setting the Window Icon: msg#00126

gnome.gtk+.python

Subject: Setting the Window Icon

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

Thanks,

Chris Shaffer



*****
"The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary, and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers."
_______________________________________________
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