I am working with classes for the first time in Tkinter. I have no experience working with classes before this, although I have had experience with basic coding syntax before.
I am trying to make a function plotter.
If I have a class PlotApp. This is my the class that is used in
root = Tk()
app = PlotApp(root)
root.mainloop()
The class PlotApp has this
FunctionFrameInstance = FunctionFrame(self)
FunctionFrameInstance.pack(fill=X)
ButtonFrameInstance = ButtonFrame(self)
ButtonFrameInstance.pack(fill=X)
The FunctionFrame class has a text Entry box.
The ButtonFrame has a "Add Function" button.
If..
FunctionFrame has a text input box
ButtonFrame has a button
How can I do something basic like print what the user has entered in the inpux box when the button is clicked (just using the print command for IDLE).
P.S I have only just started learning Python and I have only just been introduced to Tkinter and classes, so my understanding is very lacking.