示例#1
0
def onCreated():
    ez.DumpControlTable()
    #SetFileDropHandler(GetControl('textfile').ctrl,onFileDrop)
    listview = ez.GetControl('table')
    listview.AddRow(["Anny", "18"])
    listview.AddRow(["Bobby", "16"])
    listview.AddRow(["Candy", "14"])
    tree = ez.GetControl('tree')
    item = tree.AddRootItem("Item1")
    tree.AddItem("Item1-1", item)
    tree.AddItem("Item1-2", item)
    item = tree.AddRootItem("Item2")
    tree.AddItem("Item2-1", item)
    tree.AddItem("Item2-2", item)
    #ez.StartTimer(timerHandler,1000)
    ez.StartThread(threadHandler)
示例#2
0
def onCreated():
    ez.DumpControlTable()
示例#3
0
def onCreated():
    ez.DumpControlTable()
    refreshTree()