def increase(self,w,a):
self.value+=1.0
fraction=self.value/self.max_value
self.progressbar.set_fraction(fraction)
while Gtk.events_pending():
Gtk.main_iteration()
if self.value==self.max_value:
self.hide()
评论列表
文章目录