摘要: 简单例子来自教程: #!/bin/env python import wx class MyFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, -1, "My Frame", size=(300, 300)) pane 阅读全文
posted @ 2020-02-28 16:39 磨山街青年 阅读(586) 评论(0) 推荐(0)
摘要: import wx #1 class App(wx.App): #2 def OnInit(self): #3 frame = wx.Frame(parent=None, title=’Bare’) frame.Show() return True app = App() #4 app.MainLo 阅读全文
posted @ 2020-02-28 16:25 磨山街青年 阅读(199) 评论(0) 推荐(0)
摘要: 恢复内容开始 学习wxPython 资料 1.wxpython wiki Getting started with wxPython https://wiki.wxpython.org/Getting%20Started 入门例子程序: A First Application: "Hello, Wo 阅读全文
posted @ 2020-02-28 16:07 磨山街青年 阅读(351) 评论(0) 推荐(0)