Exemplo n.º 1
0
 def __init__(self):
     Page.__init__(self)
     self._Icons = {}
     self._CanvasHWND = None
     self._MyList = []
     self._MyStack = FavStack()
     self._Emulator = {}
Exemplo n.º 2
0
 def __init__(self):
     Page.__init__(self)
     self._Icons = {}
     self._CanvasHWND = None
     self._MyList = []
     self._SwapMyList = []
     self._MyStack = MusicLibStack()
Exemplo n.º 3
0
 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)
Exemplo n.º 4
0
    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"
Exemplo n.º 5
0
 def __init__(self):
     Page.__init__(self)
     self._Icons = {}
Exemplo n.º 6
0
 def __init__(self):
     Page.__init__(self)
     self._Icons = {}
     self._CanvasHWND = None
     self._MyList = []
Exemplo n.º 7
0
 def __init__(self):
     Page.__init__(self)
     self._MyList = []
     self._CanvasHWND = None
Exemplo n.º 8
0
 def __init__(self):
     Page.__init__(self)
     self._WirelessList = []
     self._CanvasHWND = None
Exemplo n.º 9
0
    def __init__(self):
        Page.__init__(self)
        self._Icons = {}

        if "arm" in platform.machine():
            os.system("git config --global core.filemode false")
Exemplo n.º 10
0
 def __init__(self):
     Page.__init__(self)
     self._Icons = {}
     
     if "arm" in platform.machine():
         pass
Exemplo n.º 11
0
 def __init__(self):
     Page.__init__(self)