Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #104107

Re: Adding Icon To Tkinter Window - Followup

Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date Sat, 05 Mar 2016 12:10:00 -0600
From Wildman <best_lay@yahoo.com>
Subject Re: Adding Icon To Tkinter Window - Followup
Newsgroups comp.lang.python
References <tIadnY8e89YQkEbLnZ2dnUU7-LHNnZ2d@giganews.com>
Face iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAACooKFZVVbCwsIBAQE hICDT5/Lzy8vIvr56dniM6ueMAAACdUlEQVQ4jXXTT2/aMBgGcKsKHyBkBXLE4I0cjQVSbimyD9wgS9TmiLJZ4whT9dJjK01Zb03In+bb7gXWFSjzBSk/ntdW8piI/yxy/iA1rYvg0uhiosn87SUYhlKq7UfghcmkSj+A3QVYBTI6B7eNz1ehd9jlCIa+mVy/Mi+cnwGnzZv1XeEp1juDqhhV7WvPd7IT4DUodw7P0nDME8gq2MDGbgZEnY7KbjcwKJSPUB8DL2TmGWrWOE/wXAXS77w08vNEf2Ka8OvFYIREZ/DYefrxIkNCpifAJj/r0uxPAkKUdQQuu6kXrhn6HiHG9jhBHUiTJw+PSxrdPXCKv6IZ0Ch5ZJ5CMA6Qapt1eR340mcBMRjOmu+At7TWdg39UKrAI4rO3kCY42VYQa48KQm5e57tz7tPiNxoQy4lDmkka0LIxEJw+VjnxmqwVtgEeQt9BCwEEaWO9SeStWHwG1gX1hgjco6Ae4uRbFaQVA8AD7gDJrqCuHgmZ9EvOtC8GwDYbA+ORYalXk4X/XTdebSdDmyyXcSILOIu9CiKndfiKsFaATzt9+jtR1G6KGt7+lyBCdD3cEXWDmLbWY5b4+9SsS/wi0gpQ6wv4Qj1UrfGupCyDTMjDH1n96HsbczTpS5tWoYhPHgNn1JrB71vJne4o1Md1xTuQ+Xs+yZI7coAb0vLdth8Dmvq1+bhGpR85FtZq5bSp224t//eTYQY30mcX6nusAJY994+NTH1Qi8DOU05vpBV9PUfuJ/1Eqt0g2XHwO07iOYBhglO2pjbdxDlIvcm1nCSwIZ1xRHwOMCy8qz9QC1xDMI9/I8GPXEKb11MxWU4XX8AGMcdHyUO/GkAAAAASUVORK5CYII=
Organization Wildman Productions
X-No-Trolls Yes
X-OS-Version SolydX 8 x86_64 GNU/Linux
User-Agent Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2; x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Message-ID <qMKdnSPI4_llvUbLnZ2dnUU7-eOdnZ2d@giganews.com> (permalink)
Date Sat, 05 Mar 2016 12:10:00 -0600
Lines 22
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-bFnlXMsEbcA32BSzyX/cBULwhKfa1ObVhXaCwEV/UJ0DVF19zn+Nv/d0Fc5tu+GUC3uMvOeTLvaqAcd!0yBQsTPKIeveN8+XHdOTCJA60lXjVKCF5m2tx91IqxVOkovBcevDR1n5wt99XWRNiYAg0j/vHkA=
X-Complaints-To abuse@giganews.com
X-DMCA-Notifications http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 3003
X-Received-Bytes 3115
X-Received-Body-CRC 703563702
Xref csiph.com comp.lang.python:104107

Show key headers only | View raw


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 prefer color):

    root.wm_iconbitmap('@myicon.xbm')

I found some info in a forum that talked about putting
a color icon in a Label on a separate window and passing
that to the main window as the icon.  But there were no
code examples or explanations.  So far I have not been
able to figure it out.  I would appreciate any help.

-- 
<Wildman> GNU/Linux user #557453
"Be at war with your vices, at peace with your neighbors,
and let every new year find you a better man."
  -Benjamin Franklin

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Adding Icon To Tkinter Window Wildman <best_lay@yahoo.com> - 2016-03-05 10:47 -0600
  Re: Adding Icon To Tkinter Window Grant Edwards <invalid@invalid.invalid> - 2016-03-05 18:08 +0000
    Re: Adding Icon To Tkinter Window Wildman <best_lay@yahoo.com> - 2016-03-05 12:47 -0600
    Re: Adding Icon To Tkinter Window Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-09 08:39 -0800
  Re: Adding Icon To Tkinter Window - Followup Wildman <best_lay@yahoo.com> - 2016-03-05 12:10 -0600
    Re: Adding Icon To Tkinter Window - Followup Christian Gollwitzer <auriocus@gmx.de> - 2016-03-05 19:36 +0100
      Re: Adding Icon To Tkinter Window - Followup Wildman <best_lay@yahoo.com> - 2016-03-05 23:53 -0600
        Re: Adding Icon To Tkinter Window - Followup Christian Gollwitzer <auriocus@gmx.de> - 2016-03-06 10:16 +0100
          Re: Adding Icon To Tkinter Window - Followup Wildman <best_lay@yahoo.com> - 2016-03-06 10:30 -0600
            Re: Adding Icon To Tkinter Window - Followup Serhiy Storchaka <storchaka@gmail.com> - 2016-03-09 19:09 +0200
            RE: Adding Icon To Tkinter Window - Followup Joaquin Alzola <Joaquin.Alzola@lebara.com> - 2016-03-09 17:14 +0000
  Re: Adding Icon To Tkinter Window Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-03-05 18:38 +0000
    Re: Adding Icon To Tkinter Window Wildman <best_lay@yahoo.com> - 2016-03-05 12:50 -0600
  Re: Adding Icon To Tkinter Window Serhiy Storchaka <storchaka@gmail.com> - 2016-03-05 21:55 +0200
    Re: Adding Icon To Tkinter Window Wildman <best_lay@yahoo.com> - 2016-03-05 23:56 -0600
  Re: Adding Icon To Tkinter Window Terry Reedy <tjreedy@udel.edu> - 2016-03-05 16:38 -0500
    Re: Adding Icon To Tkinter Window Wildman <best_lay@yahoo.com> - 2016-03-06 00:04 -0600
    Re: Adding Icon To Tkinter Window Rick Johnson <rantingrickjohnson@gmail.com> - 2016-03-09 08:41 -0800
  Re: Adding Icon To Tkinter Window Wildman <best_lay@yahoo.com> - 2016-03-06 00:09 -0600

csiph-web