Esempio n. 1
0
    def __init__(self, **kwargs):
        super(Tag, self).__init__(**kwargs)
        Master.__init__(self)

        self.fullscreen = False

        self.w = pypixel.WIDTH
        self.h = pypixel.HEIGHT - conf.bar_height

        self.y_offset = conf.bar_height

        self.bar_hidden = False
Esempio n. 2
0
    def __init__(self, **kwargs):
        super(Tag, self).__init__(**kwargs)
        Master.__init__(self)

        self.fullscreen = False

        self.w = pypixel.WIDTH
        self.h = pypixel.HEIGHT - conf.bar_height

        self.y_offset = conf.bar_height

        self.bar_hidden = False
Esempio n. 3
0
  def __init__ (self, url=None, net=None, fileName=None):
    # Fuse.__init__ (self)
    Master.__init__ (self, fileName=fileName)
    self.debug (1, 'v: logging in %s' % fileName)
    self.inodes= {}
    self.policy= policies.WeightedUniform ()

    navel= None
    if url:
      key= self.getNavelKey (url)
      navel= self._peers.getNavel (url, key)
    else:
      while not navel:
        navel= self.discover (net)
    self.gossip (navel)
Esempio n. 4
0
 def __init__(self, **kwargs):
     super(Column, self).__init__(**kwargs)
     Master.__init__(self)
     self.x = None
     self.w = None
Esempio n. 5
0
 def __init__(self, **kwargs):
     super(Column, self).__init__(**kwargs)
     Master.__init__(self)
     self.x = None
     self.w = None