Example #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)
Example #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)
Example #3
0
 def updateVars(self):
     VcsBaseWidgetClass.updateVars(self)
     self.group.showSeconds = self.showSecondsCheck.get_active()
Example #4
0
 def updateWidget(self):
     VcsBaseWidgetClass.updateWidget(self)
     self.showSecondsCheck.set_active(self.group.showSeconds)
Example #5
0
 def updateVars(self):
     VcsBaseWidgetClass.updateVars(self)
     self.group.showSeconds = self.showSecondsCheck.get_active()
Example #6
0
 def updateWidget(self):
     VcsBaseWidgetClass.updateWidget(self)
     self.showSecondsCheck.set_active(self.group.showSeconds)