コード例 #1
0
 def spaced_section_box(bool, name):
   box = mforms.newSectionBox(bool, name)
   box.set_padding(PropelForm.defaults['space'])
   box.set_spacing(PropelForm.defaults['space'])
   return box
コード例 #2
0
ファイル: wb_admin_grt.py プロジェクト: Arrjaan/Cliff
 def add_section(self, label_text, is_content_expandable, header_mode):
     section = newSectionBox(is_content_expandable, label_text, header_mode)
     section.set_name(label_text)
     self.add(section, not is_content_expandable, True)
     return section
コード例 #3
0
 def add_section(self, label_text, is_content_expandable, header_mode):
     section = newSectionBox(is_content_expandable, label_text, header_mode)
     section.set_name(label_text)
     self.add(section, not is_content_expandable, True)
     return section