> * Cocoa: the framework is designed to manage its own run loop, thus
> we have to subvert a lot of functionality (and guess at how it is
> implemented).
I've had to grapple with this to some extent while
implementing PyGUI, so if you have any problems with
the event system, I might be able to help.
--
Greg
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
I don't know Cocoa (maybe someday I'll have time to learn), and I have
very little time, but I might be able to pitch in some testing time
when you get close. My department is running Snow leopard on 13"/15"
MBPros and SL Server on an Xserve already.
~ Nathan
<pyglet-cocoa.zip>
<pyglet-cocoa.zip>