CSSG-Labs / PyNote

Text Editor Written in Python
GNU General Public License v3.0
3 stars 4 forks source link

Fix call to Tk class to construct toplevel Tk widget #9

Closed PatrickBruso closed 2 years ago

PatrickBruso commented 2 years ago

Our application currently initializes the tcl/tk interpreter implicitly when it creates our first widget. Instead, we should explicitly create the Tk instance as seen in this stackoverflow thread. We need to construct a toplevel Tk widget using the Tk() class and then create an instance of our Application class referencing that widget.