Module windows
Types Window, MediaWindow, Screen, Style, wrapping ObjC NSWindow
, etc.
|
Screen
Screen Python Type, wrapping ObjC NSRect_t .
|
|
Style
Window style mask constants.
|
|
Window
Basic, base window Python Type, wrapping ObjC
NSWindow .
|
|
MediaWindow
Media window Python Type, wrapping ObjC
NSWindow/NSView .
|
|
ns2Window(ns)
Get the Window instance for an ObjC NSWindow or
NSNotification instance. |
|
|
|
NSWindowDelegate = ObjCClass('_NSWindowDelegate')
|
Get the Window instance for an ObjC NSWindow or
NSNotification instance.
- Parameters:
ns - The ObjC instance (NS... ).
- Returns:
- The window instance (Window).
- Raises:
AssertionError - Mismatched instances.
AttributeError - Unexpected ns type.
TypeError - Invalid ns type.
|