def main(): from tests.testapp import testapp app = testapp() from gui import skin icon = skin.get('AppDefaults.UnreadMessageIcon') #f = wx.Frame(None) #f.Show() #f.SetFrameIcon(skin.get('appdefaults.taskbaricon')) #w = wx.Panel(f) #n = cgui.TabNotebook(f) #n.CreateTab(w, MyTabController()) #print '\n\n' icon = icon.PIL.ResizeCanvas(16, 16).WXB #print n.SetOverlayIcon(icon) import gui.native.win.taskbar as tb print '*'*80 print tb.set_overlay_icon(icon) app.MainLoop()
def later(): if wx.IsDestroyed(imwin): return set_overlay_icon(im_badge(), tlw=imwin.Top)