惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
B
Blog
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
IT之家
IT之家
D
Docker
Google DeepMind News
Google DeepMind News
罗磊的独立博客
T
The Blog of Author Tim Ferriss
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
D
DataBreaches.Net
博客园 - 司徒正美
Engineering at Meta
Engineering at Meta

博客园 - Applemars

MacBook os win时间错误 时间机器 问题 时间机器权限 - Applemars - 博客园 时间机器 Incremental Backups 时间机器 Volume Requirements 事件 Mac OS X v10.5 Leopard Server Documentation Mac OS X Server Essentials v10.5 (Leopard 201) Mac OS X Support Essentials v10.5 (Leopard 101) Apple usb Ethernet adapter for windows 驱动下载 常用操作符重载方法 macbook air 无光驱安装windows教程 常见文件操作 上海2月25日 2月23日mac聚会 今年第一站--》上海 svchost 100%怎么办==》win - Applemars - 博客园 c 分享
PySimpleApp
Applemars · 2008-03-27 · via 博客园 - Applemars
class PySimpleApp(wx.App):

    def __init__(self, redirect=False, filename=None,
                 useBestVisual=False, clearSigInt=True):
        wx.App.__init__(self, redirect, filename, useBestVisual,
                clearSigInt)

    def OnInit(self):
        return True
 

下面是wx.PySimpleApp一个简单用法:

if __name__ == '__main__':
    app = wx.PySimpleApp()
    frame = MyNewFrame(None)
    frame.Show(True)
    app.MainLoop()