3 ms·
Nice work. I have one out of curiosity question. In the example, there is the button called 'Calculate' and then action define in "gui.Calculate" block. But wh
by milansuk 6y ago
Nice work. I have one out of curiosity question.
In the example, there is the button called 'Calculate' and then action define in "gui.Calculate" block. But what if the name of the button was 'Calculate it'(with the space between words)? The action header would be gui.'Calculate it'?
- alfiopuglisi 6y agoHello, Guietta author here. For most widgets, the name is derived from the widget text removing all non-alphanumeric characters. So in your example it would become gui.Calculateit It is also possible to set a custom name using a tuple syntax (widget, 'name'). Like this: (['Calculate'], 'myname')