Open ShaunKulesa opened 3 years ago
Ahh i see thanks. Is there a way to update its position?
Never mind figured it out.
Glad you figured it out. Let me know if you have any other questions.
Last little issue, when I call form.get_text()
it says self._layout is None.
File "C:\Users\Home\AppData\Local\Programs\Python\Python39-32\lib\site-packages\glooey\text.py", line 518, in get_text
return self._label.text
File "C:\Users\Home\AppData\Local\Programs\Python\Python39-32\lib\site-packages\glooey\text.py", line 162, in get_text
return self._layout.document.text
AttributeError: 'NoneType' object has no attribute 'document'
Hmm, I'm not sure what this issue is off hand. Did you attach the form to the GUI before calling get_text()
? If not, that could be the problem. Otherwise, if you can post post a minimal working example, I can take a look at it (probably later, though).
Ahh yes it was because I did it before adding it to gui. Thank you for this Entry/Form. Pyglets one wasn't capable of the things i needed for my engines gui.
Probably the last question, how do I get the text when I press enter? I see it already unfocused when I press enter
It says on the docs main description there should be a text entry, where is it?