def __init__(self): Page.__init__(self) self._Icons = {} self._CanvasHWND = None self._MyList = [] self._SwapMyList = [] self._MyStack = MusicLibStack()
def __init__(self): Page.__init__(self) self._Icons = {} self._CanvasHWND = None self._MyList = [] self._MyStack = FavStack() self._Emulator = {}
def __init__(self): Page.__init__(self) self._Icons = {} self._MyStack = RPCStack() #title file type ## Two level url , only github.com repos = [ {"title":"github.com/clockworkpi/warehouse","file":"https://raw.githubusercontent.com/clockworkpi/warehouse/master/index.json","type":"source"} ] self._MyStack.Push(repos)
def __init__(self): Page.__init__(self) self._CityLabel = Label() self._TempLabel = Label() self._TempSummaryLabel = MultiLabel() self._WeatherSummaryLabel = MultiLabel() self._SummarySunLabel = MultiLabel() self._ErrorLabel = Label() self._Icons = {} self._Fonts = {} try: with open( os.path.dirname(os.path.abspath(__file__)) + '/config.json', 'r') as f: config = json.load(f) self._api_key = config['api'] self._location = config['location'] except Exception, e: print("read 'weather/config.json' error: %s" % str(e)) self._errorText = "Error: Check your 'config.json' file"
def Init(self): Page.Init(self) if self._Screen != None: if self._Screen._CanvasHWND != None and self._CanvasHWND == None: self._HWND = self._Screen._CanvasHWND self._CanvasHWND = pygame.Surface( (self._Screen._Width, self._Screen._Height)) if os.path.isfile(self._GamePNG): self._GameIcon = IconItem() self._GameIcon._ImageName = self._GamePNG self._GameIcon._MyType = ICON_TYPES["STAT"] self._GameIcon._Parent = self self._GameIcon.Adjust(290, 70, 128, 128, 0) self.InitLabels() self.CheckDevilutionMPQ() self.CheckGameInstalled() self.UpdateFootMsg() self.UpdateLabel("content_git_rev", self.GitGetRevision(), 24) self.UpdateLabel("content_bin_rev", self.ExectuableGetRevision(), 24)
def __init__(self): Page.__init__(self) self._Icons = {}
def __init__(self): Page.__init__(self) self._Icons = {} self._CanvasHWND = None self._MyList = []
def __init__(self): Page.__init__(self) self._MyList = [] self._CanvasHWND = None
def __init__(self): Page.__init__(self) self._WirelessList = [] self._CanvasHWND = None
def __init__(self): Page.__init__(self) self._Icons = {} if "arm" in platform.machine(): os.system("git config --global core.filemode false")
def __init__(self): Page.__init__(self) self._Icons = {} if "arm" in platform.machine(): pass
def __init__(self): Page.__init__(self)