PEATDB/plugins/exampleplugin.py
def _createButtons(self, methods):
        """Dynamically create buttons for supplied methods"""
        for m in methods:           
            b=Button(self.mainwin,text=m[0],command=m[1])
            b.pack( side=TOP,fill=BOTH)            
        return
Dynamically create buttons for supplied methods
Dynamically create buttons for supplied methods
Dynamically create buttons for supplied methods
def _createButtons(self, methods):
        for m in methods:           
            b=Button(self.mainwin,text=m[0],command=m[1])
            b.pack( side=TOP,fill=BOTH)            
        return
def _createButtons ( self , methods ) : for m in methods : b = Button ( self . mainwin , text = m [ 0 ] , command = m [ 1 ] ) b . pack ( side = TOP , fill = BOTH ) return
Dynamically create buttons for supplied methods
Dynamically create buttons for supplied methods
"""Dynamically create buttons for supplied methods"""
self
methods