Tristam MacDonald wrote:
> As long as all windows are *not* 
> fullscreen, we can retrieve each window's event queue separately - but 
> as soon as one window becomes fullscreen, we have to retrieve events 
> application-wide, and manually handle hit detection and event dispatch 
> for the window system.

How are you doing fullscreen windows? I've implemented
fullscreen windows in PyGUI that behave the same way as
other windows with respect to event distribution.

The technique I use is:

* Create a window with no title bar that fills the
screen.

* Override canBecomeKeyWindow_ and canBecomeMainWindow_
to allow it to receive events despite not having a
title bar.

* Override windowDidBecomeMain_ and windowDidResignMain_
to hide and show the menu bar when the window gains
and loses the focus.

-- 
Greg

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