Hi guys!
I have the following code, everything is working, except that I can't get the function for hiding the tool bar to work. Originally I was using a different approach from a tutorial, it was working, but now that I added new things and changed some old, I get a problem.

Code:
error: AttributeError: 'Example' object has no attribute 'toolbar'
I tried changing the function "toolbar.Hide() " with...