Example #1
0
 def setup(self):
     self.table = dos.table(parent = self)
     self.row   = dos.tr(parent = self.table)
     self.col_0 = dos.td(parent = self.row)
     self.col_1 = dos.td(parent = self.row)
     self.front = FrontTitle(parent = self.col_0)
     self.back  = BackTitle(parent = self.col_1, entry = self.entry)
Example #2
0
    def __init__(self, parent):
        blog_master_div.__init__(self, parent = parent)
        self.table                   = dos.table(parent = self)
        self.table.style.width       = css.percent(100)
        self.row                     = dos.tr(parent = self.table)
        self.col_0                   = dos.td(parent = self.row)
        self.col_1                   = dos.td(parent = self.row)
        self.col_1.style.width       = css.percent(100)
        self.col_2                   = dos.td(parent = self.row)
        self.col_3                   = dos.td(parent = self.row)
        self.col_4                   = dos.td(parent = self.row)

        self.button_show_hide        = ButtonShowHide(parent = self.col_0, entry = self.parent)
        self.title                   = ToolbarTitle(parent = self.col_1,   entry = self.parent)
        self.button_move_down        = ButtonMoveDown(parent = self.col_2, entry = self.parent)
        self.button_move_up          = ButtonMoveUp(parent = self.col_3,   entry = self.parent)
        self.button_delete           = ButtonDelete(parent = self.col_4,   entry = self.parent)