def addToDialog( self, gridPosition ): "Add this to the dialog." euclidean.addElementToListTableIfNotThere( self, self.repository.repositoryDialog, settings.globalProfileSaveListenerListTable ) self.gridPosition = gridPosition.getCopy() self.gridPosition.increment() self.gridPosition.row = gridPosition.rowStart self.setRadioButtons()
def addToDialog( self, gridPosition ): "Add this to the dialog." euclidean.addElementToListTableIfNotThere( self, self.repository.repositoryDialog, settings.globalProfileSaveListenerListTable ) self.gridPosition = gridPosition.getCopy() self.gridPosition.row = gridPosition.rowStart self.gridPosition.increment() self.setRadioButtons()
def addToDialog( self, gridPosition ): "Add this to the dialog." self.activate = False self.menuButtonDisplay.setToNameAddToDialog( self.valueName, gridPosition ) self.menuButtonDisplay.menu.add_radiobutton( label = self.valueName, command = self.clickRadio, value = self.valueName, variable = self.menuButtonDisplay.radioVar ) self.menuLength = self.menuButtonDisplay.menu.index( settings.Tkinter.END ) if self.value: self.menuButtonDisplay.radioVar.set( self.valueName ) self.menuButtonDisplay.menu.invoke( self.menuLength ) euclidean.addElementToListTableIfNotThere( self.repository, self.repository.repositoryDialog, settings.globalProfileSaveListenerListTable ) self.activate = True
def addToDialog(self, gridPosition): "Add this to the dialog." self.activate = False self.menuButtonDisplay.setToNameAddToDialog(self.valueName, gridPosition) self.menuButtonDisplay.menu.add_radiobutton( label=self.valueName, command=self.clickRadio, value=self.valueName, variable=self.menuButtonDisplay.radioVar) self.menuLength = self.menuButtonDisplay.menu.index( settings.Tkinter.END) if self.value: self.menuButtonDisplay.radioVar.set(self.valueName) self.menuButtonDisplay.menu.invoke(self.menuLength) euclidean.addElementToListTableIfNotThere( self.repository, self.repository.repositoryDialog, settings.globalProfileSaveListenerListTable) self.activate = True
def __init__(self, menu, window): "Set the menu." self.menu = menu addToCraftMenu(menu) euclidean.addElementToListTableIfNotThere( self, window, settings.globalProfileSaveListenerListTable)
def addToDialog( self, gridPosition ): "Add this to the dialog." euclidean.addElementToListTableIfNotThere( self, self.repository.repositoryDialog, settings.globalProfileSaveListenerListTable )
def addToNameDictionary( self, name, xmlElement ): "Add to the name dictionary of all the XMLProcessor." euclidean.addElementToListTableIfNotThere(xmlElement, name, self.getRoot().nameDictionary)
def __init__( self, menu, window ): "Set the menu." self.menu = menu addToCraftMenu( menu ) euclidean.addElementToListTableIfNotThere( self, window, settings.globalProfileSaveListenerListTable )
def addToNameDictionary( self, name, xmlElement ): "Add to the name dictionary of all the XMLProcessor." euclidean.addElementToListTableIfNotThere(xmlElement, name, self.getRoot().nameDictionary)
def addToDialog(self, gridPosition): "Add this to the dialog." euclidean.addElementToListTableIfNotThere( self, self.repository.repositoryDialog, settings.globalProfileSaveListenerListTable)