From: hwg <hw...@ya...> - 2007-03-28 18:26:55
|
I have got this to work for changing the icon that appears in the title bar and in the taskbar in Windows: import wx class MyBackground(model.Background): def on_initialize(self, event): ib=wx.IconBundle() ib.AddIconFromFile("my.ico",wx.BITMAP_TYPE_ANY) self.SetIcons(ib) I believe the icon has to be an icon file, not just a bitmap. There are several freeware icon editors around. hwg Andy Ross <dar...@gm...> wrote: Hello All, I'm working on a simple program and i was wondering if there was a way to incorporate a different picture as an icon instead of the standard icons given by wx.python. it's a bit trivial i know but i would appreciate any and all help. Sincerely, Andy -- Dignity? HA! What does dignity have to do with America?....? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ Pythoncard-users mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/pythoncard-users --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. |