Hello Again, I would like to update a pyglet Label from some other thread. It seems that this won't work directly (as is usual with ui toolkits)
What is the general solution to this? At the moment I am trying to use pyglet.schedule_once( update_function, 0) which nearly works, but does not call the update function unless the mouse is moved around first. Looking the pyglet code the scheduled functions go into an a dict, which may work, but there are is no locking in these functions. The other solution I have in mind is to write a customised pyglet run loop that uses a python Queue to call callback functions. - Jason -- 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.
