|
Re: Setting the Window Icon: msg#00128gnome.gtk+.python
A Sex, 2003-08-15 às 13:57, Shaffer, Chris escreveu: > 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). Try loading the pixbuf first, with gtk.gdk.pixbuf_new_from_file("name.png"). > > 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/ -- Gustavo J. A. M. Carneiro <gjc@xxxxxxxxxxxxx> <gustavo@xxxxxxxxxxxxxxxxxxxxx> _______________________________________________ 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> |
|---|---|---|
| Previous by Date: | Re: Re: [pygtk] Conflicting omniORBpy and PyORBit: 00128, Duncan Grisby |
|---|---|
| Next by Date: | Re: Using Accessibility interface from PyORBit?: 00128, Tessa Lau |
| Previous by Thread: | Setting the Window Iconi: 00128, Shaffer, Chris |
| Next by Thread: | Re: Setting the Window Icon: 00128, Christian Reis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |