Ive tried reading as many articles about this as i can, but cannot find anything that helps me. In my code, i have created a class EntryWidget which has an entry widget amongst other things in it, and in my main class Controller for the app, i have created an instance of the class EntryWidget called self.entry. I am trying to write a method which will be a command for an ok button, which primarily takes the text from the entry widget and then manipulates it. this code is from the main class Controller:
def ok(self):
self.input = self.entry.get()
self.command = ""
error:
AttributeError: EntryWidget instance has no attribute 'get'
the idea is that text is entered, then the ok button is hit which calls this method. sorry if this has been asked before, but i have read the other responses and they dont help.
thanks