> 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 Saturday, March 5, 2016 at 3:39:00 PM UTC-6, Terry Reedy wrote:
> No single simple statement work for all situations. You should have
> specified OS, Python version, and tcl/tk version. (IDLE's Help -> About
> IDLE displays full tk version).
Yes, because Tkinter is not as cross-platform as
On Saturday, March 5, 2016 at 12:08:27 PM UTC-6, Grant Edwards wrote:
> You'll have to be a lot more specific about what you mean by "add an
> icon to a window". Do you just want to display an .ico file within a
> window?
I think he wants to use his *OWN* icon on a window's title bar, instead of
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
I apologize to the group for my lack of information in
my original post. I will do better in the future. I
very much want to remain in good standing in this group
because of all the knowledgeable people here.
Thanks again to everyone that replied and helped me
solve my problem.
--
GNU/Linux u
On Sat, 05 Mar 2016 16:38:08 -0500, Terry Reedy wrote:
> On 3/5/2016 11:47 AM, Wildman via Python-list 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.
>
> No single simple state
On Sat, 05 Mar 2016 21:55:40 +0200, Serhiy Storchaka wrote:
> On 05.03.16 18:47, Wildman via Python-list 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.
>
> On Windows:
>
>
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
On 3/5/2016 11:47 AM, Wildman via Python-list 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.
No single simple statement work for all situations. You should have
specified OS, Python
On 05.03.16 18:47, Wildman via Python-list 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.
On Windows:
root.wm_iconbitmap(default='myapp.ico')
.ico-file can contain several icons
On Sat, 05 Mar 2016 18:38:57 +, Mark Lawrence wrote:
> On 05/03/2016 16:47, Wildman via Python-list 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.
>>
>
> Would you please b
On Sat, 05 Mar 2016 18:08:15 +, Grant Edwards wrote:
> On 2016-03-05, 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.
>
> You'll have to be a lot more specific a
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 05/03/2016 16:47, Wildman via Python-list 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.
Would you please be kind enough to read this
http://www.catb.org/esr/faqs/smart-questions
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
On 2016-03-05, 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.
You'll have to be a lot more specific about what you mean by "add an
icon to a window". Do you just want to
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.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
19 matches
Mail list logo