then not possible caught exceptions on callbacks? what the fine way
for this then? a custom ChangeSceneEvent as Drew say before?

Thanks.

On 9 mar, 00:16, "Alex Holkner" <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 9, 2008 at 8:51 AM, Juan Jose Alonso
>
> <[EMAIL PROTECTED]> wrote:
>
> >  Here your example:
>
> >  http://www.box.net/shared/4ro0up68s4
>
> >  The example start in Demo1 scene, if press any key raise the
> >  exception, not captured.
>
> Right, my mistake.  On OS X and Windows events are dispatched from an
> operating system callback, via dispatch_events().  ctypes doesn't pass
> exceptions back up through callbacks, so it just gets dumped to the
> console.
>
> You'll see the behaviour you expect on Linux, which doesn't need a
> callback for events.  It seems like you'll need to engineer your
> engine a little differently to cope with Windows and OS X, however.
>
> 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