Exemplo n.º 1
0
 def __init__(self, script, steps={}, messages={}):
     gtk.VBox.__init__(self)
     ConditionsEvents.__init__(self)
     
     self.script = script
     self.steps = steps
     self.messages = messages
            
     self.progress = gtk.ProgressBar()
     
     self.status = gtk.Label()
     self.status.set_alignment(0, 0.5)
     
     self.set_spacing(5)        
     self.pack_start(self.progress, False, False)
     self.pack_start(self.status, False, False)
     
     self._timeout = None
Exemplo n.º 2
0
    def __init__(self, script, steps={}, messages={}):
        gtk.VBox.__init__(self)
        ConditionsEvents.__init__(self)

        self.script = script
        self.steps = steps
        self.messages = messages

        self.progress = gtk.ProgressBar()

        self.status = gtk.Label()
        self.status.set_alignment(0, 0.5)

        self.set_spacing(5)
        self.pack_start(self.progress, False, False)
        self.pack_start(self.status, False, False)

        self._timeout = None
Exemplo n.º 3
0
 def __init__(self, function, args, kwargs):
     ConditionsEvents.__init__(self)
     self.function = function
     self.args = args
     self.kwargs = kwargs
     self.progress = None
Exemplo n.º 4
0
 def __init__(self, function, args, kwargs):
     ConditionsEvents.__init__(self)
     self.function = function
     self.args = args
     self.kwargs = kwargs
     self.progress = None