NSWindow
Thomas Cool <[email protected]>
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I'm starting with PyObjC and am having some trouble creating windows I am not a beginner at either python or cocoa by the way. Here is what i am trying (both with macports python 2.6 and builtin python 2.6) on 10.6.8 from AppKit import * a=NSWindow.alloc().init() simply this returns an error: Wed Jun 29 16:23:09 TCi7.local python[10060] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection Wed Jun 29 16:23:09 TCi7.local python[10060] <Error>: kCGErrorInvalidConnection: CGSNewWindowWithOpaqueShape: Invalid connection Traceback (most recent call last): File "<stdin>", line 1, in <module> objc.error: NSInternalInconsistencyException - Error (1002) creating CGSWindow Would anyone have any recommendations? T. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2