(self)
return
apply
apply
apply
def apply(self):
        """apply"""
        cols = self.table.cols
        model = self.model
        absrow = self.table.get_AbsoluteRow(self.row)
        newname = self.fieldvars['Name'].get()
        if newname != self.recname:
            model.setRecName(newname, absrow)

        for col in range(cols):
            colname = model.getColumnName(col)
            if not colname in self.editable:
                continue
            if not colname in self.fieldvars:
                continue
            val = self.fieldvars[colname].get()
            model.setValueAt(val, absrow, col)
            #print 'changed field', colname

        self.table.redrawTable()
        return
def apply ( self ) : cols = self . table . cols model = self . model absrow = self . table . get_AbsoluteRow ( self . row ) newname = self . fieldvars [ 'Name' ] . get ( ) if newname != self . recname : model . setRecName ( newname , absrow ) for col in range ( cols ) : colname = model . getColumnName ( col ) if not colname in self . editable : continue if not colname in self . fieldvars : continue val = self . fieldvars [ colname ] . get ( ) model . setValueAt ( val , absrow , col ) #print 'changed field', colname self . table . redrawTable ( ) return