>
> [EMAIL PROTECTED] wrote:
>> G'day,
>>
>> I searched the FAQ and this list for my problem, and haven't found
>> anything. I apologise in advance if this problem has been reported/
>> solved before.
>>
>> I am writing a simple application to display a grid of images, and I
>> am trying to get it to support resizing. However any time I add a
>> on_resize event handler, all I get is a blackscreen.
>>
> The default on_resize handler defined on Window sets up the OpenGL
> viewport and an orthogonal projection.  You can either
>
> * call super() in your method to call Window.on_resize, or
> * use push_handlers() to add your event handler without replacing the
> existing one.
>
Ah, thank you very much. Is there a preference for either? Also, do  
you mind if I add this to the FAQ?

Cheers,
Steve

--~--~---------~--~----~------------~-------~--~----~
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