PEATDB/PEATApp.py
def createStatusPane(self):
        """Small status pane for db specific info"""
        statusframe = Frame(self.main)
        statusframe.grid(row=0,column=1,columnspan=1,rowspan=1,
                              sticky='news', padx=2)
        self.sizevar=StringVar()
        self.numrecsvar=StringVar()
        self.storagetypevar=StringVar()
        self.updateStatusPane()
        Label(statusframe, text='Size:',fg='gray50').pack(side=LEFT)
        l=Label(statusframe, textvariable=self.sizevar, fg='darkblue')
        l.pack(side=LEFT)
        Label(statusframe, text='Recs:',fg='gray50').pack(side=LEFT)
        l=Label(statusframe, textvariable=self.numrecsvar, fg='darkblue')
        l.pack(side=LEFT)
        Label(statusframe, text='Storage:',fg='gray50').pack(side=LEFT)
        l=Label(statusframe, textvariable=self.storagetypevar, fg='darkblue')
        l.pack(side=LEFT)
        return
Small status pane for db specific info
Small status pane for db specific info
Small status pane for db specific info
def createStatusPane(self):
        statusframe = Frame(self.main)
        statusframe.grid(row=0,column=1,columnspan=1,rowspan=1,
                              sticky='news', padx=2)
        self.sizevar=StringVar()
        self.numrecsvar=StringVar()
        self.storagetypevar=StringVar()
        self.updateStatusPane()
        Label(statusframe, text='Size:',fg='gray50').pack(side=LEFT)
        l=Label(statusframe, textvariable=self.sizevar, fg='darkblue')
        l.pack(side=LEFT)
        Label(statusframe, text='Recs:',fg='gray50').pack(side=LEFT)
        l=Label(statusframe, textvariable=self.numrecsvar, fg='darkblue')
        l.pack(side=LEFT)
        Label(statusframe, text='Storage:',fg='gray50').pack(side=LEFT)
        l=Label(statusframe, textvariable=self.storagetypevar, fg='darkblue')
        l.pack(side=LEFT)
        return
def createStatusPane ( self ) : statusframe = Frame ( self . main ) statusframe . grid ( row = 0 , column = 1 , columnspan = 1 , rowspan = 1 , sticky = 'news' , padx = 2 ) self . sizevar = StringVar ( ) self . numrecsvar = StringVar ( ) self . storagetypevar = StringVar ( ) self . updateStatusPane ( ) Label ( statusframe , text = 'Size:' , fg = 'gray50' ) . pack ( side = LEFT ) l = Label ( statusframe , textvariable = self . sizevar , fg = 'darkblue' ) l . pack ( side = LEFT ) Label ( statusframe , text = 'Recs:' , fg = 'gray50' ) . pack ( side = LEFT ) l = Label ( statusframe , textvariable = self . numrecsvar , fg = 'darkblue' ) l . pack ( side = LEFT ) Label ( statusframe , text = 'Storage:' , fg = 'gray50' ) . pack ( side = LEFT ) l = Label ( statusframe , textvariable = self . storagetypevar , fg = 'darkblue' ) l . pack ( side = LEFT ) return
Small status pane for db specific info
Small status pane for db specific info
"""Small status pane for db specific info"""
self