Hi Samson, There is an example on bitbucket, which you can find at: examples/text_input.py https://bitbucket.org/pyglet/pyglet/src/examples/text_input <https://bitbucket.org/pyglet/pyglet/src/738617edac87a5e313414b790db412763983524e/examples/text_input.py?at=default&fileviewer=file-view-default> You should be able to get some ideas from the TextWidget class in this example.
Are you using the pyglet graphics module, and batches/groups in your project? On Monday, April 24, 2017 at 3:10:09 AM UTC+9, Samson Liu wrote: > > Hello there > > Is possible to have text field input on pyglet? Like an input bar at the > bottom of the screen while the 3d is running? > If it's possible, how is it usually setup? > > Thanks so much! > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
