예제 #1
0
파일: weekcal.py 프로젝트: Noori/starcal
 def confStr(self):
     text = CustomizableCalObj.confStr(self)
     if self.customizeWidth:
         text += 'ui.%s = %r\n'%(
             self.getWidthAttr(),
             self.getWidthValue(),
         )
     if self.customizeFont:
         text += 'ui.%s = %r\n'%(
             self.getFontAttr(),
             self.getFontValue(),
         )
     return text
예제 #2
0
파일: monthcal.py 프로젝트: karoon/starcal2
 def confStr(self):
     text = CustomizableCalObj.confStr(self)
     text += 'ui.mcalHeight=%r\n'%ui.mcalHeight
     text += 'ui.mcalLeftMargin=%r\n'%ui.mcalLeftMargin
     text += 'ui.mcalTopMargin=%r\n'%ui.mcalTopMargin
     return text