[Pygui] PyGUI-2.3.2 ValueError on MacOSX

Colin Brown baykiwi at gmail.com
Sat Dec 18 08:06:58 CET 2010


Greg Ewing wrote:

 > Can you please try adding the following method to class
 > FlippedNSGraphicsContext in GUI/Cocoa/Pixmap.py and tell me
 > whether it fixes the problem for you?
 >
 >    def focusStack(self):
 >      return self.base.focusStack()
Added the following lines to Pixmaps.py and the code now works okay:
     def focusStack(self):
         return self.base.focusStack()

     def saveGraphicsState(self):
         return self.base.saveGraphicsState()

     def restoreGraphicsState(self):
         return self.base.restoreGraphicsState()
Cheers
Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pygui/attachments/20101218/639190a0/attachment.html>


More information about the Pygui mailing list