pKaTool/pKaTool_main.py
def add_to_pulldown(self,pdbfilename,label):
        """Add a new titration to the menus"""
        self.calc_disp[pdbfilename]=IntVar()
        self.display_menu.add_checkbutton(label=label+':'+pdbfilename,
                                          variable=self.calc_disp[pdbfilename],
                                          onvalue=1,offvalue=0,
                                          command=self.update_display_calc)
        #
        # Now the select menu
        #
        self.select_menu.add_radiobutton(label=label+':'+pdbfilename,
                                         variable=self.calc_select,
                                         value=pdbfilename,
                                         indicatoron=1,
                                         command=self.update_selected_calc)
        return
Add a new titration to the menus
Add a new titration to the menus
Add a new titration to the menus
def add_to_pulldown(self,pdbfilename,label):
        self.calc_disp[pdbfilename]=IntVar()
        self.display_menu.add_checkbutton(label=label+':'+pdbfilename,
                                          variable=self.calc_disp[pdbfilename],
                                          onvalue=1,offvalue=0,
                                          command=self.update_display_calc)
         Now the select menu
        self.select_menu.add_radiobutton(label=label+':'+pdbfilename,
                                         variable=self.calc_select,
                                         value=pdbfilename,
                                         indicatoron=1,
                                         command=self.update_selected_calc)
        return
def add_to_pulldown ( self , pdbfilename , label ) : self . calc_disp [ pdbfilename ] = IntVar ( ) self . display_menu . add_checkbutton ( label = label + ':' + pdbfilename , variable = self . calc_disp [ pdbfilename ] , onvalue = 1 , offvalue = 0 , command = self . update_display_calc ) self . select_menu . add_radiobutton ( label = label + ':' + pdbfilename , variable = self . calc_select , value = pdbfilename , indicatoron = 1 , command = self . update_selected_calc ) return
Add a new titration to the menus
Add a new titration to the menus
"""Add a new titration to the menus""" # # Now the select menu #
self
pdbfilename
label