bzr-config (alpha) ready

Alexander Belchenko bialix at ukr.net
Wed Jan 17 05:19:09 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marius Kruger пишет:
> 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)
> 
Many thanks for your help!
I'll try both and incorporate to the code.

- --
Alexander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrbHMzYr338mxwCURAhtaAJ4+yYMS8vspq+B68dU8EFFdEn7IOQCfYDeg
/ltA+HWaTGCAteBwJESpQRU=
=02/O
-----END PGP SIGNATURE-----




More information about the bazaar mailing list