I’m following the instructions until the “double-click on the button” instruction … which I do, and then I get taken to a page of python. At this point, the tutorial step doesn’t change, and I’m left with a blinking cursor at a ‘name_box’ method.
I guess I have two questions:
Why is the method called ‘name_box’? The button is called ‘button_1’ - it’s the text field that’s called ‘name_box’.
Why doesn’t the tutorial step update?
I think the second question is probably related to the first - but I can’t for the life of me work out what I’ve done wrong. I’m definitely clicking on the button, and everything’s made sense up until this point. I’ve included a screenshot which I think sums everything up.
Huh. I’ve just left the tutorial and followed my instincts with a clean slate. I purposely named the text field my_name_field this time … but the generated button event handler method is still called name_field … intriguing!
So:
I still don’t know why the event handler is being generated with this name.
The tutorial doesn’t work for me - or maybe I’ve misunderstood what I was supposed to do!
That explains why the method has a weird name - although I still don’t understand why it defaults to name_box - any idea why the tutorial isn’t moving on at the point I double click the button?
To change the name of the function, you need to change the name in the box and click the button next to it. Double clicking the button doesn’t work even though you change its name