On 1/1/08, Mike Lawrence <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm running pyglet 1.0beta3 with python 2.5 on OS 10.5.1. I'm having
> trouble making the mouse invisible as described in the programming
> guide (http://cours-info.iut-bm.univ-fcomte.fr/docs/python/pyglet/
> pyglet.window-module.html). When I run the following as a script:
>
> ########
> import pyglet
> from pyglet.window import Window
> win = Window(fullscreen=True)
> win.set_mouse_exclusive()
> ########
>
> I get the following output:
>
> Traceback (most recent call last):
>   File "problem.py", line 4, in <module>
>     win.set_mouse_exclusive()
> AttributeError: 'CarbonWindow' object has no attribute
> 'set_mouse_exclusive'

Documentation error, fixed just moments ago.  Try set_exclusive_mouse.

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to