def __init__(self, EasyHybridSession=None): """ Class initialiser """ self.builder = gtk.Builder() if EasyHybridSession != None: self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.EasyHybridSession = EasyHybridSession self.window_control = EasyHybridSession.window_control self.builder.add_from_file( os.path.join(EasyHybrid_GUI, 'DialogMolecularDynamics', 'MolecularDynamicsDialog.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('MMDialog_molecular_dynamics') ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' self.window_control = WindowControl(self.builder) #----------------- Setup ComboBoxes -------------------------# combobox = 'MMDialog_combobox_molecular_dynamics_method' # combolist = [ "Velocity Verlet Dynamics", "Leap Frog Dynamics", "Langevin Dynamics" ] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0)
def main(): # encrypt = EncryptData() # encrypt.start() window = WindowControl() root = window.createWindow(250, 200) root.mainloop()
def __init__(self, EasyHybridSession=None): """ Class initialiser """ self.builder = gtk.Builder() if EasyHybridSession != None: self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.EasyHybridSession = EasyHybridSession self.window_control = EasyHybridSession.window_control self.builder.add_from_file( os.path.join(EasyHybrid_GUI, 'DialogMinimization', 'MinimizationDialog.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('02_MinimizationWindow') ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' self.window_control = WindowControl(self.builder) #----------------- Setup ComboBoxes -------------------------# combobox = '02_window_combobox_minimization_method' # combolist = ["Conjugate Gradient", "Steepest Descent", "LBFGS"] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0)
def OpenWindow (self, text): if self.Visible == False: self.project = self.EasyHybridSession.project EasyHybrid_ROOT = self.EasyHybridSession.EasyHybrid_ROOT EasyHybrid_GUI = self.EasyHybridSession.EasyHybrid_GUI self.builder = gtk.Builder() self.builder.add_from_file( os.path.join(EasyHybrid_GUI,'WindowUmbrellaSampling', 'UmbrellaSampling2.glade')) self.builder.connect_signals(self) self.window = self.builder.get_object('window1') self.sigma_pk1_pk3 = None self.sigma_pk3_pk1 = None self.builder.get_object("umbrella_entry_TRAJECTORY").set_text(text) ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' self.window_control = WindowControl(self.builder) #--------------------- Setup ComboBoxes ------------------------- combobox = 'combobox_SCAN_reaction_coordiante_type' combolist = ['simple-distance', 'multiple-distance'] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox1' combolist = ['sequential', 'from trajectory'] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox_optimization_method' combolist = ['Conjugate Gradient']#, 'Steepest Descent','LBFGS'] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox_molecular_dynamics_method' # combolist = ["Velocity Verlet Dynamics", "Leap Frog Dynamics"]#,"Langevin Dynamics"] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) #------------------------------------------------------------# # QC SPIN MULTIPLICITY spinbutton = 'spinbutton1' config = [0.0, 1.0, 500.0, 1.0, 0.0, 0.0] self.window_control.SETUP_SPINBUTTON(spinbutton, config) self.window.show() # self.builder.connect_signals(self) self.Visible = True gtk.main()
def __init__(self, EasyHybridSession): """ Class initialiser """ self.EasyHybridSession = EasyHybridSession self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.builder = gtk.Builder() self.builder.add_from_file( os.path.join(EasyHybrid_GUI, 'DialogLoadTrajectory', 'TrajectoryDialog.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('TrajectoryDialog') ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' self.window_control = WindowControl(self.builder) self.builder.get_object('filechooserbutton2').hide() #----------------- Setup ComboBoxes -------------------------# combobox = 'combobox1' # combolist = [ "folder - pDynamo", "trj - AMBER", "dcd - CHARMM", 'xtc - GROMACS' ] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0)
def __init__(self, EasyHybridSession=None): """ Class initialiser """ self.builder = gtk.Builder() if EasyHybridSession != None: self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.EasyHybridSession = EasyHybridSession self.window_control = EasyHybridSession.window_control #self.project = project #self.window_control = window_control #self.builder = gtk.Builder() #self.main_builder = main_builder self.builder.add_from_file( os.path.join(EasyHybrid_GUI, 'DialogNonBond', 'NonBondDialog.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('dialog1') ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' self.window_control = WindowControl(self.builder) #----------------- Setup ComboBoxes -------------------------# combobox = 'combobox1_nb_types' # combolist = nbList self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0)
def __init__(self, EasyHybridSession=None): self.builder = gtk.Builder() if EasyHybridSession != None: self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.window_control = EasyHybridSession.window_control self.EasyHybridSession = EasyHybridSession self.EasyHybrid_ROOT = EasyHybridSession.EasyHybrid_ROOT self.EasyHybrid_GUI = EasyHybridSession.EasyHybrid_GUI # - - - importing ORCA PATH from EasyHybridConfig file. - - - #-----------------------------------------------------------------------# try: # ORCA = EasyHybridSession.EasyHybridConfig['ORCAPATH'] # except: # ORCA = '' # #-----------------------------------------------------------------------# self.builder.add_from_file( os.path.join(self.EasyHybrid_GUI, 'MOPACEnergy', 'MOPACEnergy.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('dialog1') self.window_control = WindowControl(self.builder) # QC SPIN CHARGE spinbutton = 'spinbutton_charge' config = [0.0, -500.0, 500.0, 1.0, 0.0, 0.0] self.window_control.SETUP_SPINBUTTON(spinbutton, config) # QC SPIN MULTIPLICITY spinbutton = 'spinbutton_multiplicity' config = [0.0, 1.0, 500.0, 1.0, 0.0, 0.0] self.window_control.SETUP_SPINBUTTON(spinbutton, config) self.builder.get_object('filechooserbutton2').hide() #----------------- Setup ComboBoxes ----------------------------------------------# combobox = 'combobox1' # # combolist = ["folder - pDynamo" ] #, "trj - AMBER", "dcd - CHARMM", 'xtc - GROMACS']# self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) # combobox = 'combobox2' # # combolist = ["SCAN", 'SCAN-2D' ] #, "trj - AMBER", "dcd - CHARMM", 'xtc - GROMACS']# #---------------------------------------------------------------------------------# self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) # Hide unfinished widgets self.builder.get_object('checkbutton3').set_sensitive(False)
def __init__(self, EasyHybridSession=None): """ Class initialiser """ self.builder = gtk.Builder() if EasyHybridSession != None: self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.EasyHybridSession = EasyHybridSession self.window_control = EasyHybridSession.window_control self.EasyHybrid_GUI = EasyHybridSession.EasyHybrid_GUI else: self.EasyHybrid_ROOT = '' self.EasyHybrid_GUI = '' self.builder.add_from_file( os.path.join(self.EasyHybrid_GUI, 'DialogChargeRescale', 'ExportCoordinates.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('ExportCoordinates') combolist = ["xyz", "pdb", "pkl", "yaml"] #,"mol","cif","psf","crd","mol2"] combobox = 'combobox_file_type' ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' #cbox = self.builder.get_object(combobox) # remover isso depois ----> combobox_MM_model #store = gtk.ListStore(gobject.TYPE_STRING)# remover isso depois #cbox.set_model(store) # remover isso depois # # remover isso depois #for i in combolist: # remover isso depois # cbox.append_text(i) # remover isso depois # # remover isso depois #cell = gtk.CellRendererText() # remover isso depois #cbox.pack_start(cell, True) # remover isso depois #cbox.add_attribute(cell, 'text', 0) # remover isso depois #cbox.set_active(0) # remover isso depois self.window_control = WindowControl(self.builder) #----------------- Setup ComboBoxes -------------------------# #combolist = ["xyz","pdb","pkl","yaml","mol","cif","psf","crd","mol2"] #combobox = 'combobox_file_type' self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0)
def __init__(self, EasyHybridSession = None): """ Class initialiser """ self.builder = gtk.Builder() if EasyHybridSession != None: self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.EasyHybridSession = EasyHybridSession self.builder.add_from_file( os.path.join(EasyHybrid_GUI,'DialogNewProject', 'NewProjectDialog.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('dialog1') self.dualLog = None #self.scrath = os.environ.get('PDYNAMO_SCRATCH') # #self.builder.get_object('ProjectDirectory').set_text(self.scrath ) ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' self.window_control = WindowControl(self.builder) #----------------- Setup ComboBoxes -------------------------# combobox = 'combobox1' # combolist = ["AMBER", # "CHARMM", # # #"GROMACS", # "OPLS", # "pDynamo files(*.pkl,*.yaml)", "Other(*.pdb,*.xyz,*.mol2...)"] # # self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) #------------------------------------------------------------# localtime = time.asctime(time.localtime(time.time())) print "Local current time :", localtime localtime = localtime.split() # 0 1 2 3 4 #[Sun] [Sep] [28] [02:32:04] [2014] text = 'NewProject_' + localtime[1] + \ '_' + localtime[2] + '_' + localtime[4] self.builder.get_object("new_project_entry").set_text(text)
def OpenWindow(self): """ Function doc """ if self.Visible == False: self.builder = gtk.Builder() self.builder.add_from_file( os.path.join(EasyHybrid_GUI, 'WindowpDynamoSelections', 'pDynamoSelectionsWindow.glade')) self.builder.connect_signals(self) self.window = self.builder.get_object('window1') self.window_control = WindowControl(self.builder) #--------------------- Setup ComboBoxes -----------------------# combobox = 'combobox_selection_type' # combolist = ['ByComponent', 'Complement', 'ByLinearPolymer'] # self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) # # combobox = 'combobox_select_as_prune_fix_pymol' # combolist = ["Select in PyMOl", "FIX atoms", "PRUNE atoms"] # self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) # #--------------------------------------------------------------# self.builder.get_object('selection_entry1').set_text(self.chain) self.builder.get_object('selection_entry2').set_text(self.resn) self.builder.get_object('selection_entry3').set_text(str( self.resi)) self.builder.get_object('selection_entry4').set_text( self.atom_name) # SPINBUTTON spinbutton = 'selection_radius_spinbutton' config = [0.0, 1.0, 500.0, 1.0, 0.0, 0.0] self.window_control.SETUP_SPINBUTTON(spinbutton, config) self.builder.get_object('selection_radius_spinbutton').set_value( int(self.radius_distance)) self.project = self.EasyHybridSession.project self.project.importPDBInformantion() #self.build_treeview() self.window.show() self.builder.connect_signals(self) self.Visible = True gtk.main()
def OpenWindow(self, text): """ Function doc """ if self.Visible == False: self.builder = gtk.Builder() self.builder.add_from_file( os.path.join(self.EasyHybrid_GUI, 'WindowScan2D', 'ScanWindow2D.glade')) self.builder.connect_signals(self) self.window = self.builder.get_object('ScanWindow') self.coord2_sigma_pk1_pk3 = None self.coord2_sigma_pk3_pk1 = None self.coord1_sigma_pk1_pk3 = None self.coord1_sigma_pk3_pk1 = None self.builder.get_object("SCAN_entry_trajectory_name").set_text( text) ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' self.window_control = WindowControl(self.builder) #--------------------- Setup ComboBoxes ------------------------- combobox = 'combobox_SCAN_reaction_coordiante_type' combolist = ['simple-distance', 'multiple-distance'] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox_SCAN_reaction_coordiante2_type' combolist = ['simple-distance', 'multiple-distance'] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox_optimization_method' combolist = ['Conjugate Gradient', 'Steepest Descent', 'LBFGS'] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) self.window.show() # self.builder.connect_signals(self) self.Visible = True gtk.main()
def __init__(self, EasyHybridSession=None): '''''' self.builder = gtk.Builder() if EasyHybridSession != None: self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.window_control = EasyHybridSession.window_control self.EasyHybridSession = EasyHybridSession self.EasyHybrid_ROOT = EasyHybridSession.EasyHybrid_ROOT self.EasyHybrid_GUI = EasyHybridSession.EasyHybrid_GUI # - - - importing ORCA PATH from EasyHybridConfig file. - - - #-----------------------------------------------------------------------# try: # ORCA = EasyHybridSession.EasyHybridConfig['ORCAPATH'] # except: # ORCA = '' # #-----------------------------------------------------------------------# self.builder.add_from_file( os.path.join(self.EasyHybrid_GUI, 'DialogQuantumChemistrySetup', 'QuantumChemistrySetupDialog.glade')) self.builder.add_from_file( os.path.join(self.EasyHybrid_GUI, 'MessageDialogQuestion.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('dialog1') #self.builder.get_object('06_window_alignment3_ORCA1').hide() self.builder.get_object('06_window_alignment3_ORCA').hide() self.builder.get_object('06_window_alignment3_ORCA2').hide() if ORCA == None: ORCA = '' self.builder.get_object('ORCA_entry_command').set_text(ORCA) ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' self.window_control = WindowControl(self.builder) #--------------------- Setup ComboBoxes ------------------------- combobox = 'combobox1' combolist = SMO_Methods + DFT_Methods + ORCA_Method # = ORCA_Method = ['ab initio using ORCA'] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox1_ORCA_method' combolist = HF_list + KS_list self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox2_ORCA_SCF' combolist = SCF_ORCA self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox3_ORCA_basis' combolist = BASIS_ORCA self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox2_ORCA_POLARIZATION' combolist = POLARIZATION_ORCA self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox2_ORCA_DIFFUSE' combolist = DIFFUSE_ORCA self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) # QC SPIN CHARGE spinbutton = 'spinbutton_charge' config = [0.0, -500.0, 500.0, 1.0, 0.0, 0.0] self.window_control.SETUP_SPINBUTTON(spinbutton, config) # QC SPIN MULTIPLICITY spinbutton = 'spinbutton_multiplicity' config = [0.0, 1.0, 500.0, 1.0, 0.0, 0.0] self.window_control.SETUP_SPINBUTTON(spinbutton, config) # QC SPIN PAL - ORCA ONY spinbutton = 'SpinButton1_ORCA_pal' config = [0.0, 1.0, 500.0, 1.0, 0.0, 0.0] self.window_control.SETUP_SPINBUTTON(spinbutton, config) self.builder.get_object('combobox1_ORCA_method').connect( "changed", self.ORCA_check_parameters) self.builder.get_object('combobox2_ORCA_SCF').connect( "changed", self.ORCA_check_parameters) self.builder.get_object('combobox3_ORCA_basis').connect( "changed", self.ORCA_check_parameters) self.builder.get_object('combobox2_ORCA_POLARIZATION').connect( "changed", self.ORCA_check_parameters) self.builder.get_object('combobox2_ORCA_DIFFUSE').connect( "changed", self.ORCA_check_parameters) self.builder.get_object("ORCA_radiobutton_restrict").connect( "toggled", self.ORCA_check_parameters) self.builder.get_object("ORCA_radiobutton_unrestrict").connect( "toggled", self.ORCA_check_parameters)
def __init__(self, EasyHybridSession = None): self.builder = gtk.Builder() if EasyHybridSession != None: self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.window_control = EasyHybridSession.window_control self.EasyHybridSession = EasyHybridSession self.EasyHybrid_ROOT = EasyHybridSession.EasyHybrid_ROOT self.EasyHybrid_GUI = EasyHybridSession.EasyHybrid_GUI # - - - importing ORCA PATH from EasyHybridConfig file. - - - #-----------------------------------------------------------------------# try: # ORCA = EasyHybridSession.EasyHybridConfig['ORCAPATH']# except: # ORCA = '' # #-----------------------------------------------------------------------# self.builder.add_from_file( os.path.join(self.EasyHybrid_GUI, 'DialogTrajectoryEnergyRefine','TrajectoryEnergyRefine.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('dialog1') self.window_control = WindowControl(self.builder) self.builder.get_object('filechooserbutton2').hide() self.builder.get_object('vseparator1').hide() self.builder.get_object('vbox4').hide() self.builder.get_object('Optimize_Geometry_frame').hide() self.builder.get_object('checkbutton_exclude_MM_atoms').hide() #----------------- Setup ComboBoxes -------------------------# combobox = 'combobox1' # combolist = ["Scan 1D", "Scan 2D"]#, "trj - AMBER", "dcd - CHARMM", 'xtc - GROMACS'] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox4' # combolist = ["pkl", "xyz", 'pdb']#, "trj - AMBER", "dcd - CHARMM", 'xtc - GROMACS'] self.window_control.SETUP_COMBOBOXES(combobox, combolist, 0) combobox = 'combobox_optimization_method' # combolist = ['Conjugate Gradient', 'Steepest Descent','LBFGS'] self.window_control.SETUP_COMBOBOXES(combobox, combolist,0) combobox = 'combobox_reaction_coordiante_type1' combolist = ['simple-distance', 'multiple-distance'] self.window_control.SETUP_COMBOBOXES(combobox, combolist,0) combobox = 'combobox_reaction_coordiante_type2' combolist = ['simple-distance', 'multiple-distance'] self.window_control.SETUP_COMBOBOXES(combobox, combolist,0) self.refine_type = '1D' # QC SPIN MULTIPLICITY self.spinbutton = 'spinbutton2' config = [0.0, 1.0, 500.0, 1.0, 0.0, 0.0] self.window_control.SETUP_SPINBUTTON(self.spinbutton, config) #if self.builder.get_object('check_opt_geometry'): self.builder.get_object('vbox3').set_sensitive(False) self.sigma_pk1_pk3 = None self.sigma_pk3_pk1 = None
def __init__(self, EasyHybridSession=None): """ Class initialiser """ self.builder = gtk.Builder() if EasyHybridSession != None: self.project = EasyHybridSession.project self.main_builder = EasyHybridSession.builder self.EasyHybridSession = EasyHybridSession self.window_control = EasyHybridSession.window_control self.builder.add_from_file( os.path.join(EasyHybrid_GUI, 'DialogPreferences', 'Preferences.glade')) self.builder.connect_signals(self) self.dialog = self.builder.get_object('dialog_preferences') ''' -------------------------------------------------- - - - WindowControl - - - -------------------------------------------------- ''' self.window_control = WindowControl(self.builder) #colors = [ ] #colors = [ #'actinium','darksalmon','iodine','palecyan','sodium', #'aluminum','dash','iridium','palegreen','splitpea', #'americium','deepblue','iron','paleyellow','strontium', #'antimony','deepolive','krypton','palladium','sulfur', #'aquamarine','deeppurple','lanthanum','phosphorus','tantalum', #'argon','deepsalmon','lawrencium','pink','teal', #'arsenic','deepsalmon','lead','platinum','technetium', #'astatine','deepteal','lightblue','plutonium','tellurium', #'atomic','default','lightmagenta','polonium','terbium', #'auto','density','lightorange','potassium','thallium', #'barium','deuterium','lightpink','praseodymium','thorium', #'berkelium','dirtyviolet','lightteal','promethium','thulium', #'beryllium','dubnium','lime','protactinium','tin', #'bismuth','dysprosium','limegreen','pseudoatom','titanium', #'black','einsteinium','limon','purple','tungsten', #'blue','erbium','lithium','purpleblue','tv_blue', #'bluewhite','europium','lonepair','radium','tv_green', #'bohrium','fermium','lutetium','radon','tv_orange', #'boron','firebrick','magenta','raspberry','tv_red', #'brightorange','fluorine','magnesium','red','tv_yellow', #'bromine','forest','manganese','rhenium','uranium', #'brown','francium','marine','rhodium','vanadium', #'cadmium','gadolinium','meitnerium','rubidium','violet', #'calcium','gallium','mendelevium','ruby','violetpurple', #'californium','germanium','mercury','ruthenium','warmpink', #'carbon','gold','molybdenum','rutherfordium','wheat', #'cerium','gray','neodymium','salmon','white', #'cesium','green','neon','samarium','xenon', #'chartreuse','greencyan','neptunium','sand','yellow', #'chlorine','grey','nickel','scandium','yelloworange', #'chocolate','hafnium','niobium','seaborgium','ytterbium', #'chromium','hassium','nitrogen','selenium','yttrium', #'cobalt','helium','nobelium','silicon','zinc', #'copper','holmium','olive','silver','zirconium', #'curium','hotpink','orange','skyblue' #'current','hydrogen','osmium','slate' #'cyan','indium','oxygen','smudg' #] colors = [ 'darksalmon', 'palecyan', 'palegreen', 'deepblue', 'deeppurple', 'deepsalmon', 'deepsalmon', 'lightblue', 'lightorange', 'lightpink', 'dirtyviolet', 'lime', 'tin', 'limegreen', 'black', 'limon', 'purple', 'blue', 'purpleblue', 'tv_blue', 'bluewhite', 'tv_green', 'radon', 'tv_orange', 'firebrick', 'magenta', 'raspberry', 'tv_red', 'brightorange', 'red', 'tv_yellow', 'forest', 'brown', 'marine', 'violet', 'ruby', 'violetpurple', 'warmpink', 'wheat', 'gray', 'salmon', 'white', 'green', 'greencyan', 'sand', 'yellow', 'yelloworange', 'chocolate', 'olive', 'hotpink', 'orange', 'skyblue', 'slate', 'cyan', 'smudg' ] fixed_colors = [ 'black', 'grey10', 'grey20', 'grey30', 'grey40', 'grey50', 'grey60', 'grey70', 'grey80', 'grey90', 'white' ] bg_color = ['white', 'grey', 'black'] #----------------- Setup ComboBoxes -------------------------# combobox = 'combobox1' # self.window_control.SETUP_COMBOBOXES(combobox, colors, 0) #------------------------------------------------------------# #----------------- Setup ComboBoxes -------------------------# combobox = 'combobox2' # self.window_control.SETUP_COMBOBOXES(combobox, fixed_colors, 0) #------------------------------------------------------------# #----------------- Setup ComboBoxes -------------------------# combobox = 'combobox3' # self.window_control.SETUP_COMBOBOXES(combobox, bg_color, 0)