> root.wm_iconphoto(True, img)
What are the images format allowed?
This email is confidential and may be subject to privilege. If you are not the
intended recipient, please do not copy or disclose its content but contact the
sender immediately upon receipt.
--
https://mail.python.org/mailm
On 06.03.16 18:30, Wildman via Python-list wrote:
That does not work...
$ ./makexface.py
Traceback (most recent call last):
File "./makexface.py", line 236, in
root.wm_iconphoto(True, img)
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1897, in __getattr__
return getattr(self
On Sun, 06 Mar 2016 10:16:55 +0100, Christian Gollwitzer wrote:
> Am 06.03.16 um 06:53 schrieb Wildman:
>> On Sat, 05 Mar 2016 19:36:19 +0100, Christian Gollwitzer wrote:
>>> import Tkinter
>>> from Tkinter import Tk
>>> root = Tk()
>>> img = Tkinter.Image("photo", file="appicon.gif")
>>> root.cal
Am 06.03.16 um 06:53 schrieb Wildman:
On Sat, 05 Mar 2016 19:36:19 +0100, Christian Gollwitzer wrote:
import Tkinter
from Tkinter import Tk
root = Tk()
img = Tkinter.Image("photo", file="appicon.gif")
root.call('wm','iconphoto',root._w,img)
The above worked perfectly. Thank you very much.
T
On Sat, 05 Mar 2016 19:36:19 +0100, Christian Gollwitzer wrote:
> Am 05.03.16 um 19:10 schrieb Wildman:
>> On Sat, 05 Mar 2016 10:47:09 -0600, Wildman wrote:
>>
>>> Anybody have the correct method of adding an icon to a
>>> window? I have found several code examples on the web
>>> but they all re
Am 05.03.16 um 19:10 schrieb Wildman:
On Sat, 05 Mar 2016 10:47:09 -0600, Wildman wrote:
Anybody have the correct method of adding an icon to a
window? I have found several code examples on the web
but they all result in an error. Thanks.
I found this and it works in Linux but only with bla
On Sat, 05 Mar 2016 10:47:09 -0600, Wildman wrote:
> Anybody have the correct method of adding an icon to a
> window? I have found several code examples on the web
> but they all result in an error. Thanks.
I found this and it works in Linux but only with black
and white xbm images (I would pre