摘要: 简单例子来自教程: #!/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 麦子稗子 阅读(568) 评论(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 麦子稗子 阅读(193) 评论(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 麦子稗子 阅读(327) 评论(0) 推荐(0) 编辑