Exemplo n.º 1
0
 def __init__(self, group):
     VcsBaseWidgetClass.__init__(self, group)
     ######
     hbox = gtk.HBox()
     label = gtk.Label(_('Show Seconds'))
     label.set_alignment(0, 0.5)
     self.sizeGroup.add_widget(label)
     pack(hbox, label)
     pack(hbox, label)
     self.showSecondsCheck = gtk.CheckButton('')
     pack(hbox, self.showSecondsCheck)
     pack(self, hbox)
Exemplo n.º 2
0
 def __init__(self, group):
     VcsBaseWidgetClass.__init__(self, group)
     ######
     hbox = gtk.HBox()
     label = gtk.Label(_('Show Seconds'))
     label.set_alignment(0, 0.5)
     self.sizeGroup.add_widget(label)
     pack(hbox, label)
     pack(hbox, label)
     self.showSecondsCheck = gtk.CheckButton('')
     pack(hbox, self.showSecondsCheck)
     pack(self, hbox)
Exemplo n.º 3
0
 def updateVars(self):
     VcsBaseWidgetClass.updateVars(self)
     self.group.showSeconds = self.showSecondsCheck.get_active()
Exemplo n.º 4
0
 def updateWidget(self):
     VcsBaseWidgetClass.updateWidget(self)
     self.showSecondsCheck.set_active(self.group.showSeconds)
Exemplo n.º 5
0
 def updateVars(self):
     VcsBaseWidgetClass.updateVars(self)
     self.group.showSeconds = self.showSecondsCheck.get_active()
Exemplo n.º 6
0
 def updateWidget(self):
     VcsBaseWidgetClass.updateWidget(self)
     self.showSecondsCheck.set_active(self.group.showSeconds)