Exemplo n.º 1
0
def MakeWindow():
    win = ez.Window()
    win.SetTitle("WebToon Viewer")
    win.SetSize(640, 400)
    win.SetContent(app_content)
    win.SetCreatedHandler(onCreated)
    win.SetCloseHandler(onClosing)
    return win
Exemplo n.º 2
0
def MakeWindow():
    win = ez.Window()
    win.SetTitle("ImageToHtml")
    win.SetSize(320, 240)
    win.SetStatusBar(app_status)
    win.SetContent(app_content)
    win.SetCreatedHandler(onCreated)
    win.SetCloseHandler(onClosing)
    win.SetFileDropHandler(onDrop)
    return win
Exemplo n.º 3
0
def MakeWindow():
    win = ez.Window()
    win.SetTitle("PyWPF")
    #win.SetIcon("./icon/Lenna.png")
    win.SetSize(640, 400)
    win.SetMenuBar(app_mainmenu)
    win.SetToolBar(app_tool)
    win.SetStatusBar(app_status)
    win.SetContent(app_content)
    win.SetCreatedHandler(onCreated)
    win.SetCloseHandler(onClosing)
    win.SetFileDropHandler(onFileDrop)
    return win