def getRadioPluginsAddPluginGroupFrame(directoryPath, importantFileNames, names, repository):
 repository.pluginGroupFrame = settings.PluginGroupFrame()
 radioPlugins = []
 for name in names:
  radioPlugin = settings.RadioPlugin().getFromRadio((name in importantFileNames), repository.pluginGroupFrame.latentStringVar, name, repository, (name == importantFileNames[0]))
  radioPlugin.updateFunction = repository.pluginGroupFrame.update
  radioPlugins.append(radioPlugin)
 defaultRadioButton = settings.getSelectedRadioPlugin((importantFileNames + [radioPlugins[0].name]), radioPlugins)
 repository.pluginGroupFrame.getFromPath(defaultRadioButton, directoryPath, repository)
 return radioPlugins

def getRadioPluginsAddPluginGroupFrame ( directoryPath , importantFileNames , names , repository ) : repository . pluginGroupFrame = settings . PluginGroupFrame ( ) radioPlugins = [ ] for name in names : radioPlugin = settings . RadioPlugin ( ) . getFromRadio ( ( name in importantFileNames ) , repository . pluginGroupFrame . latentStringVar , name , repository , ( name == importantFileNames [ 0 ] ) ) radioPlugin . updateFunction = repository . pluginGroupFrame . update radioPlugins . append ( radioPlugin ) defaultRadioButton = settings . getSelectedRadioPlugin ( ( importantFileNames + [ radioPlugins [ 0 ] . name ] ) , radioPlugins ) repository . pluginGroupFrame . getFromPath ( defaultRadioButton , directoryPath , repository ) return radioPlugins
get the radio plugins and add the plugin frame .