资源简介

What you will learn from this book Set up the wx main frame by adding your own Frame class to the application Create two stage widgets by using a three step process Set up an event handler, customize, receive and handle events by using custom controls and event propagation Create tooltips with r

资源截图

代码片段和文件信息

# Chapter 1: Getting Started
# Recipe 1: The Application object
#
import wx

class MyApp(wx.App):
    def OnInit(self):
        wx.MessageBox(“Hello wxPython“ “wxApp“)
        return True

if __name__ == “__main__“:
    app = MyApp(False)
    app.MainLoop()

评论

共有 条评论