On Mon, 17 Apr 2017 22:57:41 -0500
boB Stepp wrote:
> I have yet to do much class writing with tkinter, but if I am
> understanding things correctly, in your Sudoku class where you
> instantiate a Canvas instance, you assign it to the name "the_canvas".
> This will be local to the __init__ method
On 18/04/17 00:13, Phil wrote:
> Thank you for reading this.
>
> How do I reference the_canvas from my solve() method?
> class Sudoku(Frame):
> def __init__(self, parent):
> Frame.__init__(self, parent)
> self.parent = parent
>
> parent.title("Sudoku solver")
>
Sorry for the unnecessary post with no response -- inadvertent click
on "Send" button which was too near Gmail's "..." button to expand
content.
On Mon, Apr 17, 2017 at 6:13 PM, Phil wrote:
> Thank you for reading this.
>
> How do I reference the_canvas from my solve() method? Despite hours of
>
On Mon, Apr 17, 2017 at 6:13 PM, Phil wrote:
> Thank you for reading this.
>
> How do I reference the_canvas from my solve() method? Despite hours of
> searching I haven't been able to solve this or find a similar example. All
> that I've gained is a headache.
>
> Exception in Tkinter callback
>
Thank you for reading this.
How do I reference the_canvas from my solve() method? Despite hours of
searching I haven't been able to solve this or find a similar example. All that
I've gained is a headache.
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3