Example #1
0
 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
Example #2
0
 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