UI: could not bind action, button name not defined.
Howdy! I’m a beginner fooling around with the ui module. I’ve created a pyui layout in the editor, and set my button actions to functions in my python script, but I’m getting an error that the button names aren’t defined? Isn’t that supposed to be happening in the pyui file?
Here’s a link to my project if anyone has time to make a suggestion.
The relevant files are guild-ios.py and guild-ios.pyui
I think you'll need to place the
nextButtonfunction above the
load_viewcall, but there might be other issues that I'm not seeing right now.
- Do what Ole wrote.
- Do the same thing for the
- Both functions (
nextButton) should have one argument.
- Either rename
Then it will work. Except other issues like accessing local variable
seedbefore assignment, etc. But these errors are not Pythonista related.
Thanks, that did it!