bzr-config (alpha) ready

Marius Kruger amanic at gmail.com
Wed Jan 17 05:02:07 GMT 2007


On 1/16/07, Alexander Belchenko <bialix at ukr.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jan Hudec пишет:
>
> > Well, iconbitmap expects a loaded bitmap (or pixmap). You can try
> iconname,
> > but I expect you'll have to load the image file first. Note, that you
> need
> > iconmask too, because pixmap does not contain transparency information.
> >
> > Besides, X build of Tk may not understand .ico format, so you may need
> to use
> > png or xpm.


thanks for the tips, after a bit of googling I got it working with a .gif
icon and PhotoImage

>
> Michael Lange in Tkinter-discuss mailing list wrote:
> > Hi Alexander,
> >
> > on linux you will need the fully qualified path to an .xbm bitmap
> preceded by an "@",
> > like self.root.iconbitmap('@/usr/share/icons/olive-branches.xbm').
> >
> > I hope this helps


Trying this again this also worked!

>
> > Michael
>
> I need some time to implement this. Right now I just disable icon on
> non-windows
> for compatibility.


I attached some bundles which both work on my pc.
Try the xbm icon one first, if that works on windows, I think its platform
independent enough.
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.
(They are independant, as I reverted my first attempt before trying again)

regards
marius


-- 



I code therefore I am.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20070117/cb00d0f6/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-config-xbmicon.patch
Type: application/octet-stream
Size: 2452 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070117/cb00d0f6/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-config-gificon.patch
Type: application/octet-stream
Size: 3451 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070117/cb00d0f6/attachment-0003.obj 


More information about the bazaar mailing list