4 ms·
Why is the method to set the text on an object "get_text()" ?
by mcphage 5y ago
Why is the method to set the text on an object "get_text()" ?
- SamBam 5y agoIt seems slightly confusing, but I think the idea is that the brace is creating a new text object, which is returned and you can then add it to the scene. So it's not "get the current string" it's "give me a text object with this string." Could have been named `create_text()` perhaps.