Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First Widget tutorial - use class variables
* Correct whitespace issues in 6_button.py * Make "painter" a class variable (self.painter) * Reference `self.clear_canvas` when binding the clear button callback * Call `self.painter.canvas.clear()` in button callback * Adjust the number of parameters for callback method
- Loading branch information