<br><br><div><span class="gmail_quote">On 1/16/07, <b class="gmail_sendername">Alexander Belchenko</b> &lt;<a href="mailto:bialix@ukr.net">bialix@ukr.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Jan Hudec пишет:<br><br>&gt; Well, iconbitmap expects a loaded bitmap (or pixmap). You can try iconname,<br>&gt; but I expect you&#39;ll have to load the image file first. Note, that you need
<br>&gt; iconmask too, because pixmap does not contain transparency information.<br>&gt;<br>&gt; Besides, X build of Tk may not understand .ico format, so you may need to use<br>&gt; png or xpm.</blockquote><div><br>thanks for the tips, after a bit of googling I got it working with a .gif icon and PhotoImage
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;<br>Michael Lange in Tkinter-discuss mailing list wrote:<br>&gt; Hi Alexander,
<br>&gt;<br>&gt; on linux you will need the fully qualified path to an .xbm bitmap preceded by an &quot;@&quot;,<br>&gt; like self.root.iconbitmap(&#39;@/usr/share/icons/olive-branches.xbm&#39;).<br>&gt;<br>&gt; I hope this helps
</blockquote><div><br>Trying this again this also worked!<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;<br>&gt; Michael<br>
<br>I need some time to implement this. Right now I just disable icon on non-windows<br>for compatibility.</blockquote><div><br></div></div>I attached some bundles which both work on my pc.<br>Try the xbm icon one first, if that works on windows, I think its platform independent enough.
<br>I also attached my first approach with a .gif icon for in case the xbm one does not work on windows for what ever reason.<br>(They are independant, as I reverted my first attempt before trying again)<br><br>regards<br>
marius<br><br clear="all"><br>-- <br><br><br><br>I code therefore I am.