Example #1
0
 def __init__(self):
     DayOccurrenceView.__init__(self)
     self.maxHeight = ui.eventViewMaxHeight
     self.optionsWidget = gtk.HBox()
     ###
     hbox = gtk.HBox()
     spin = IntSpinButton(1, 9999)
     spin.set_value(ui.eventViewMaxHeight)
     spin.connect('changed', self.heightSpinChanged)
     hbox.pack_start(gtk.Label(_('Maximum Height')), 0, 0)
     hbox.pack_start(spin, 0, 0)
     self.optionsWidget.pack_start(hbox, 0, 0)
     ###
     self.optionsWidget.show_all()
Example #2
0
 def __init__(self):
     DayOccurrenceView.__init__(self)
     self.maxHeight = ui.eventViewMaxHeight
Example #3
0
 def __init__(self):
     DayOccurrenceView.__init__(self)
     self.maxHeight = ui.eventViewMaxHeight