Ejemplo n.º 1
0
 def __init__(self, width, height):
     gtk.DrawingArea.__init__(self)
     self.connect("expose_event", self.__expose)
     self.surface = self.__loadSvg(addDataPrefix("glade/throbber.svg"),
                                   width, height)
     self.width = width
     self.height = height
     self.started = False
     repeat_sleep(self.redraw, 1. / MAX_FPS)
Ejemplo n.º 2
0
 def __init__(self, width, height):
     gtk.DrawingArea.__init__(self)
     self.connect("expose_event", self.__expose)
     self.surface = self.__loadSvg(addDataPrefix("glade/throbber.svg"),
                                   width, height)
     self.width = width
     self.height = height
     self.started = False
     repeat_sleep(self.redraw, 1./MAX_FPS)
Ejemplo n.º 3
0
 def __init__(self, width, height):       
     GObject.GObject.__init__(self)        
     self.connect("draw", self.__expose)
     self.surface = self.__loadSvg(addDataPrefix("glade/throbber.svg"),
                                   width, height)
     self.width = width
     self.height = height
     self.started = False
     self.stopped = False
     repeat_sleep(self.redraw, 1./MAX_FPS)
Ejemplo n.º 4
0
 def __init__(self, width, height):
     GObject.GObject.__init__(self)
     self.connect("draw", self.__expose)
     self.surface = self.__loadSvg(addDataPrefix("glade/throbber.svg"),
                                   width, height)
     self.width = width
     self.height = height
     self.started = False
     self.stopped = False
     repeat_sleep(self.redraw, 1. / MAX_FPS)