Пример #1
0
    def _create_title_field(self):
        cnf, grid = {}, {}

        cnf['text'] = 'Titulo'
        cnf['pady'] = 4

        grid['row'] = 0
        grid['column'] = 0
        grid['sticky'] = 'W'

        self.title_field['label'] =\
            TKUtils.get_label(master=self, cnf=cnf, grid=grid)

        cnf, grid = {}, {}

        grid['row'] = 0
        grid['column'] = 1

        self.title_field['input'] =\
            TKUtils.get_input(master=self, cnf=cnf, grid=grid)
Пример #2
0
    def _create_desc_field(self):
        cnf, grid = {}, {}

        cnf['text'] = 'Descrição'
        cnf['pady'] = 4

        grid['row'] = 1
        grid['column'] = 0
        grid['sticky'] = 'W'

        self.desc_field['label'] = TKUtils.get_label(master=self,
                                                     cnf=cnf,
                                                     grid=grid)

        cnf, grid = {}, {}

        grid['row'] = 1
        grid['column'] = 1

        self.desc_field['input'] = TKUtils.get_input(master=self,
                                                     cnf=cnf,
                                                     grid=grid)