PEATDB/Tables.py
def autoAdd_Columns(self, numcols=None):
        """Automatically add x number of cols"""
        if numcols == None:
            numcols = tkSimpleDialog.askinteger("Auto add rows.",
                                                "How many empty columns?",
                                                parent=self.parentframe)
        self.model.auto_AddColumns(numcols)
        self.parentframe.configure(width=self.width)
        self.redrawTable()
        return
Automatically add x number of cols
Automatically add x number of cols
Automatically add x number of cols
def autoAdd_Columns(self, numcols=None):
        if numcols == None:
            numcols = tkSimpleDialog.askinteger("Auto add rows.",
                                                "How many empty columns?",
                                                parent=self.parentframe)
        self.model.auto_AddColumns(numcols)
        self.parentframe.configure(width=self.width)
        self.redrawTable()
        return
def autoAdd_Columns ( self , numcols = None ) : if numcols == None : numcols = tkSimpleDialog . askinteger ( "Auto add rows." , "How many empty columns?" , parent = self . parentframe ) self . model . auto_AddColumns ( numcols ) self . parentframe . configure ( width = self . width ) self . redrawTable ( ) return
Automatically add x number of cols
Automatically add x number of cols
"""Automatically add x number of cols"""
self
numcols