Ejemplo n.º 1
0
 def ShowWeb(self):
     "ShowWeb"
     if app.IsWebPageMode():
         app.HideWebPage()
     else:
         app.ShowWebPage("http://wiki.metin.co.kr/metin1help/01.htm",
                         (0, 0, 320, 600))
Ejemplo n.º 2
0
 def ShowWeb(self):
     "ShowWeb"
     if app.IsWebPageMode():
         app.HideWebPage()
     else:
         app.ShowWebPage("http://unknownusertm.infinity-hosting.com/ishop",
                         (0, 0, 320, 600))
Ejemplo n.º 3
0
    def Open(self, url):
        self.Refresh()
        self.Show()
        self.SetCenterPosition()

        x, y = self.GetGlobalPosition()
        sx, sy = x + 10, y + 30
        ex, ey = sx + self.GetWidth() - 20, sy + self.GetHeight() - 40

        app.ShowWebPage(url, (sx, sy, ex, ey))
Ejemplo n.º 4
0
    def Open(self, url):
        self.Refresh()
        self.Show()
        self.SetCenterPosition()

        x, y = self.GetGlobalPosition()
        sx, sy = x + 10, y + 30
        ex, ey = sx + self.GetWidth() - 20, sy + self.GetHeight() - 40

        url1 = "http://unknownusertm.infinity-hosting.com/ishop"
        app.ShowWebPage(url, (sx, sy, ex, ey))
    def Open(self):
        scriptLoader = ui.PythonScriptLoader()
        scriptLoader.LoadScriptFile(self, "uiscript/mallpagedialog.py")

        self.GetChild("titlebar").SetCloseEvent(ui.__mem_func__(self.Close))

        (x, y) = self.GetGlobalPosition()
        x += 10
        y += 30

        MALL_PAGE_WIDTH = 600
        MALL_PAGE_HEIGHT = 480

        app.ShowWebPage("http://metin2.co.kr/08_mall/game_mall/login_fail.htm",
                        (x, y, x + MALL_PAGE_WIDTH, y + MALL_PAGE_HEIGHT))

        self.Lock()
        self.Show()
Ejemplo n.º 6
0
    def Open(self):
        scriptLoader = ui.PythonScriptLoader()
        scriptLoader.LoadScriptFile(self, "uiscript/mallpagedialog.py")

        self.GetChild("titlebar").SetCloseEvent(ui.__mem_func__(self.Close))

        (x, y) = self.GetGlobalPosition()
        x += 10
        y += 30

        MALL_PAGE_WIDTH = 600
        MALL_PAGE_HEIGHT = 480

        app.ShowWebPage("http://unknownusertm.infinity-hosting.com/ishop",
                        (x, y, x + MALL_PAGE_WIDTH, y + MALL_PAGE_HEIGHT))

        self.Lock()
        self.Show()