def ShowWeb(self): "ShowWeb" if app.IsWebPageMode(): app.HideWebPage() else: app.ShowWebPage("http://wiki.metin.co.kr/metin1help/01.htm", (0, 0, 320, 600))
def ShowWeb(self): "ShowWeb" if app.IsWebPageMode(): app.HideWebPage() else: app.ShowWebPage("http://unknownusertm.infinity-hosting.com/ishop", (0, 0, 320, 600))
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))
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()
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()