When I click a button I’d like to programatically change it’s icon, like this:
self.CreateButton.icon(‘fa:plus’)
However, that’s generating this error:
TypeError: ‘str’ object is not callable
Any ideas?
When I click a button I’d like to programatically change it’s icon, like this:
self.CreateButton.icon(‘fa:plus’)
However, that’s generating this error:
TypeError: ‘str’ object is not callable
Any ideas?
You should be able to do this if I remember correctly.
self.CreateButton.icon = 'fa:plus'
Rookie mistake… thanks. Wonder when I’ll stop being a rookie…
When I walk away from making apps for more than a week I have Google most of my previous questions, ha!