Hello. I am having the same problem and wanted to know the whole step by
step process of implementing this "__init__.py" file from the pull request.
Please I am working for a project and using pyglet and am on a deadline.
Kindly Reply as soon as possible.
Thank you
On Wednesday, January 24, 2018 at 3:58:29 PM UTC+5, Doug World wrote:
> This simple program, using the latest pyglet 1.3.0 does not trigger the
> event on_mouse_press. However it does trigger on event on_mouse_release.
> What am I doing wrong? Thanks.
>
> #Using pyglet 1.3.0 we never see the on_mouse_press event
> import pyglet
> window = pyglet.window.Window(width=400, height=300, caption="TEST pyglet
> on_mouse_press event")
>
>
> @window.event
> def on_mouse_press(x, y, button, modifiers):
> print('on_mouse_press')
>
>
> @window.event
> def on_mouse_release(x, y, button, modifiers):
> print('on_mouse_release')
>
>
> @window.event
> def on_draw():
> window.clear()
> #label.draw()
>
> pyglet.app.run()
>
>
--
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.