I have created a simple tonegod gui for typing in a chat message. The window has just one element: a textfield. If it is opened, I’d like to have the textfield the focus automatically.
Is this possible? I cannot find anything about this in the forum or in the documentation. I read the api docs, and found the message textfield.setHasFocus() but this is only for internal use.