2009年7月26日 星期日

wxpython basis

1.every wxpython program needs one application and one frame object at least.

2.define __init__ method to construct object and don't forget initinial parent
object __init__ method
example:

class App(wx.Frame):
def __init__(self, parent, id, title):
wx.Frame.__init__(self, None, -1, "My Frame")

3.

沒有留言:

張貼留言