def init_display_data(self): """ fill in the combo boxes with values. """ dba = DatabaseAccess(self.config) # Accounts for acc in dba.get_account_list(): self.gui.add_account_from(acc) self.gui.add_account_to(acc) # Market codes for mcd in dba.get_markets(): self.gui.add_market_code(mcd) # Currencies for currency in dba.get_currencies(): self.gui.add_currency_from(currency) self.gui.add_currency_to(currency) # Commodity names self.fillcmb_commodity_name() self.filltxt_market_description() self.filltxt_commodity_description() # Pool self.fill_spn_pool() dba = None