britzl / gooey

Defold GUI system
MIT License
150 stars 22 forks source link

Add function to set text on text node #20

Closed britzl closed 6 years ago

britzl commented 6 years ago

Setting the text using gui.set_text() will be replaced the next time the input field is updated. Perhaps detect when gui.set_text() has been done?

britzl commented 6 years ago

Added gooey.input("node", gui.KEYBOARD_TYPE_DEFAULT).set_text("foobar")