The tests and examples have only been run with 64-bit Python 2.7.15
and 3.7.0 using Python-VLC 2.2.8, 3.0.1 and 3.0.3 (with the compatible
VLC App), but
only on macOS 10.13.5 or 10.13.6 High Sierra. PyCocoa has not been
tested on iOS nor with 32-bit Python and does not work with PyPy nor with Intel(R) Python.
|
|
AlertPanel
Python Type to show an alert, wrapping ObjC NSAlert.
|
|
|
Allocator_t
ObjC CFAllocatorRef type.
|
|
|
App
Python App Type, wrapping an ObjC
NSApplication.
|
|
|
Array_t
|
|
|
AutoResizeError
AutoResize option error.
|
|
|
BOOL_t
ObjC boolean type.
|
|
|
Block_t
ObjC block type.
|
|
|
BrowserPanel
Python Type to show a URL or file.
|
|
|
CFIndex_t
|
|
|
CFRange_t
ObjC struct with fields loc[ation] and
len[gth] (both CFIndex_t).
|
|
|
CGBitmapInfo_t
|
|
|
CGDirectDisplayID_t
|
|
|
CGError_t
|
|
|
CGFloat_t
|
|
|
CGGlyph_t
|
|
|
CGPoint_t
ObjC struct with fields x and
y (both CGFloat_t).
|
|
|
CGRect_t
ObjC struct with fields origin and
size (NSPoint_t, NSSize_t).
|
|
|
CGSize_t
ObjC struct with fields width and
height (both CGFloat_t).
|
|
|
CTFontOrientation_t
|
|
|
CTFontSymbolicTraits_t
|
|
|
Cache2
Two-level cache implemented by two dicts, a primary
level-1 dict and a secondary level-2
dict.
|
|
|
Class_t
ObjC Class type, encoding b'#'.
|
|
|
Data_t
|
|
|
Dict
Python dict Type, wrapping an ObjC
NSMutableDictionary.
|
|
|
Dictionary_t
|
|
|
ErrorPanel
Python Type to show an NSError alert, wrapping ObjC
NSAlert.
|
|
|
Font
Python Font Type, wrapping ObjC NSFont.
|
|
|
FontError
Font selection error.
|
|
|
FontTraitError
Font traits error.
|
|
|
FrozenDict
Python immutable dict Type, wrapping an (immutable)
ObjC NSDictionary.
|
|
|
FrozenSet
Python frozenset Type, wrapping an immutable ObjC
NSSet.
|
|
|
IMP_t
ObjC IMPlementation type.
|
|
|
Id_t
ObjC Id/self type, encoding b'@'.
|
|
|
Item
Python menu Item Type, wrapping ObjC NSMenuItem.
|
|
|
ItemSeparator
Python menu ItemSeparator Type, wrapping ObjC
NSMenuItem.separatorItem.
|
|
|
Ivar_t
ObjC instance variable type.
|
|
|
List
Python list Type, wrapping an ObjC
NSMutableArray.
|
|
|
MediaWindow
Media window Python Type, wrapping ObjC
NSWindow/NSView.
|
|
|
Menu
Python Menu Type, wrapping ObjC NSMenu.
|
|
|
MenuBar
Python MenuBar Type, wrapping ObjC NSMenu.
|
|
|
Method_t
ObjC method type.
|
|
|
NSDecimal
Optimized, Python NSDecimalNumber class.
|
|
|
NSDouble_t
|
|
|
NSExceptionHandler_t
|
|
|
NSFloat_t
|
|
|
NSInteger_t
|
|
|
NSMakePoint
ObjC struct with fields x and
y (both CGFloat_t).
|
|
|
NSMakeRange
ObjC struct with fields loc[ation] and
len[gth] (both NSUInteger_t).
|
|
|
NSMakeRect
ObjC struct, like NSRect_t with different signature and properties.
|
|
|
NSMakeSize
ObjC struct with fields width and
height (both CGFloat_t).
|
|
|
NSPoint_t
ObjC struct with fields x and
y (both CGFloat_t).
|
|
|
NSRange_t
ObjC struct with fields loc[ation] and
len[gth] (both NSUInteger_t).
|
|
|
NSRect4_t
ObjC struct, like NSRect_t with different signature and properties.
|
|
|
NSRect_t
ObjC struct with fields origin and
size (NSPoint_t, NSSize_t).
|
|
|
NSSize_t
ObjC struct with fields width and
height (both CGFloat_t).
|
|
|
NSStr
Python wrapper for the ObjC NS[Constant]String.
|
|
|
NSTimeInterval_t
|
|
|
NSUInteger_t
|
|
|
NumberType_t
|
|
|
Number_t
|
|
|
ObjCBoundClassMethod
Python wrapper for a bound ObjC class method, only to distinguish
bound class from bound instance methods.
|
|
|
ObjCBoundMethod
Python wrapper for a bound ObjC instance method, an IMP_t.
|
|
|
ObjCClass
Python wrapper for an ObjC class.
|
|
|
ObjCClassMethod
Python class representing an unbound ObjC class method, only to
distinguish class methods from instance methods.
|
|
|
ObjCConstant
Python wrapper for an ObjC constant.
|
|
|
ObjCInstance
Python wrapper for an ObjC instance.
|
|
|
ObjCMethod
Python class representing an unbound ObjC instance method, actually
an IMP_t.
|
|
|
ObjCSubclass
Python class creating an ObjC sub-class of an existing ObjC
(super)class.
|
|
|
ObjC_t
Base type to pretty-print ctypes c_void_p.
|
|
|
OpenPanel
Python Type to select a file, wrapping ObjC
NSOpenPanel.
|
|
|
OptionFlags_t
|
|
|
Paper
Python Paper Type, wrapping an opaque ObjC
PMPaper.
|
|
|
PaperCustom
Create a custom Paper.
|
|
|
PaperMargins
Python PaperMargins Type, wrapping an ObjC
PMPaperMargins.
|
|
|
Point
Python Type, wrapping an ObjC NSPoint_t.
|
|
|
Point2
Python Type, like Point, different signature.
|
|
|
Printer
Python Printer Type, wrapping ObjC
NSPrinter and PMPrinter.
|
|
|
Protocol_t
ObjC protocol type.
|
|
|
Rect
Python Type, wrapping an ObjC NSRect_t.
|
|
|
Rect4
Python Type, like Rect, but signature as ObjC NSRect4_t.
|
|
|
RunLoop_t
ObjC CFRunLoopRef type.
|
|
|
SEL_t
ObjC SELector/cmd type, encoding b':'.
|
|
|
SavePanel
Python Type to save a file, wrapping ObjC NSSavePanel.
|
|
|
Screen
Screen Python Type, wrapping ObjC NSRect_t.
|
|
|
Set
Python set Type, wrapping an ObjC
NSMutableSet.
|
|
|
Set_t
|
|
|
Size
Python Type, wrapping an ObjC NSSize_t.
|
|
|
Size2
Python Type, like Size, different signature.
|
|
|
Str
Python str Type, wrapping (immutable) ObjC
NSStr[ing].
|
|
|
StrAttd
Python str Type, wrapping (immutable) ObjC
NSAttributedString.
|
|
|
String_t
|
|
|
Struct_t
ObjC struct type.
|
|
|
Table
Python rows and columns {Table} Type, wrapping an ObjC
NSTableView.
|
|
|
TableWindow
Python Type for a vertically scrollable window, wrapping ObjC
NSWindow/NSScrollView.
|
|
|
TextPanel
Scrollable text panel Python Type, wrapping ObjC
NSAlert.
|
|
|
TextWindow
Scrollable text window Python Type, wrapping ObjC
NSWindow/NSView.
|
|
|
Tile
Dock tile for an App, wrapping an ObjC NSDockTile.
|
|
|
TimeInterval_t
|
|
|
Tuple
Python tuple Type, wrapping an immutable ObjC
NSArray.
|
|
|
TypeCodeError
Error in ObjC type encoding.
|
|
|
TypeID_t
|
|
|
TypeRef_t
ObjC opaque type.
|
|
|
URL_t
ObjC URL type.
|
|
|
UniChar_t
|
|
|
Union_t
ObjC union type.
|
|
|
UnknownPtr_t
Unknown pointer.
|
|
|
Unknown_t
Unknown type.
|
|
|
VoidPtr_t
Same as c_void_p, but distinguishable from
c_void_p.
|
|
|
Window
Basic window Python Type, wrapping ObjC NSWindow.
|
|
|
WindowError
Window error.
|
|
|
WindowStyleError
Window style error.
|
|
|
at
Acronym NSStr.
|
|
|
objc_method_description_t
ObjC struct with fields name and
types (SEL_t, c_char_p).
|
|
|
objc_property_attribute_t
ObjC struct with fields name and
value (both c_char_p).
|
|
|
objc_property_t
ObjC property Class.
|
|
|
objc_super_t
ObjC struct with fields receiver and
class (Id_t, Class_t).
|
|
|
unichar_t
|
|
|
None2NS(py)
Return the NSNull singleton for Python's
None. |
|
|
|
|
add_ivar(clas,
name,
ctype)
Add an instance variable to an ObjC class, |
|
|
|
|
add_method(clas,
name_,
method,
encoding)
Add a method to an ObjC class. |
|
|
|
|
add_protocol(clas,
protocol)
Add a protocol to an ObjC class. |
|
|
|
|
add_subclass(superclas,
name,
register=False)
Create a new sub-class of the given super-class. |
|
|
|
|
|
|
|
aspect_ratio(width,
height)
Compute the smallest, integer aspect ratio. |
|
|
|
|
autoResizes(*options)
Return a combination of auto resize options, specified by name. |
|
|
|
|
bool2NS(py)
Create an NSBoolean instance from a Python
bool. |
|
|
|
|
bytes2NS(py)
Create an NSData instance from Python
bytes. |
|
|
|
|
bytes2repr(bytestr)
Represent bytes or str as
b"...". |
|
|
|
|
bytes2str(bytestr,
dflt=missing,
name='')
Convert bytes/unicode to str
if needed. |
|
|
|
|
clip(bytestr,
limit=50)
Clip a string to the given length limit. |
|
|
|
|
closeTables()
Close all tables. |
|
|
|
|
dict2NS(py,
frozen=False)
Create an NS[Mutable]Dictionary instance from a Python
dict. |
|
|
|
|
flint(f)
Return int for integer float. |
|
|
|
|
float2NS(py)
Create an NSNumber instance from a Python
float or int. |
|
|
|
|
fontTraits(*traits)
Return a font traits mask for the named traits. |
|
|
|
|
|
|
|
|
|
|
fontnamesof(family)
Yield the available font names of a family. |
|
|
|
|
fontsof(family,
size=0,
weight=None)
Yield the available fonts of a family. |
|
|
|
|
fontsof4(family)
Yield the available fonts of a family. |
|
|
|
|
frozenset2NS(py)
Create an (immutable) NSSet instance from a Python
frozenset. |
|
|
|
|
gcd(a,
b)
Calculate the Greatest Common Divisor of a and b. |
|
|
|
|
generator2NS(py)
Create an NSArray instance from a Python
generator. |
|
|
|
|
get_c_func_t(encoding,
codes=None)
Get the ctypes function type for a given function
signature. |
|
|
|
|
get_class(name)
Get a registered ObjC class by name. |
|
|
|
|
get_classes(*prefixes)
Yield all loaded ObjC classes with a name starting with one of the
given prefixes. |
|
|
|
|
|
|
|
get_classnameof(objc,
dflt=missing)
Get the name of the ObjC class of an object. |
|
|
|
|
|
|
|
|
|
|
get_ivar(objc,
name,
ctype=None)
Get the value of an instance variable (ivar). |
|
|
|
|
get_ivars(clas,
*prefixes)
Yield all instance variables (ivar) of an ObjC class with a name
starting with one of the given prefixes. |
|
|
|
|
get_lib(name)
Find and load a .dylib library. |
|
|
|
|
get_libPC()
Get the PrintCore framework library. |
|
|
|
|
get_lib_framework(name,
services='ApplicationServices',
version='')
Load a Frameworks services .framework library. |
|
|
|
|
|
|
|
get_method(clas,
name)
Get a method of an ObjC class by name. |
|
|
|
|
get_methods(clas,
*prefixes)
Yield all methods of an ObjC class with a name starting with one of
the given prefixes. |
|
|
|
|
get_papers(*printers)
Yield the papers available at the given printer(s). |
|
|
|
|
get_printer(*prefixes)
Find a printer by name or by ID or get the default printer. |
|
|
|
|
|
|
|
get_printers(server=None)
Yield all printers available at the given server. |
|
|
|
|
get_properties(clas_or_proto,
*prefixes)
Yield all properties of an ObjC class or protocol with a name
starting with one of the given prefixes. |
|
|
|
|
|
|
|
get_protocols(clas,
*prefixes)
Yield all protocols of an ObjC class with a name starting with one of
the given prefixes. |
|
|
|
|
get_resolutions(*printers)
Yield the resolutions supported by the given printer(s). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inst2strepr(inst,
strepr,
*attrs)
Convert an instance's attributes, maintaining the order. |
|
|
|
|
int2NS(py)
Create an NSNumber instance from a Python
int or long. |
|
|
|
|
isAlias(path)
Resolve a macOS file or folder alias. |
|
|
|
|
isClass(objc)
Check whether an object is an ObjC clas. |
|
|
|
|
isImmutable(objc,
mutableClass,
immutableClass,
name='ns')
Check that an ObjC object is an instance of the immutable class. |
|
|
|
|
isLink(path)
Resolve a file or folder link or alias. |
|
|
|
|
isMetaClass(objc)
Check whether an object is an ObjC metaclass. |
|
|
|
|
isNone(obj)
Return True if obj is None, NSMain.nil,
NSMain.Null, etc. |
|
|
|
|
isObjCInstanceOf(objc,
*Classes,
**name_missing)
Check whether an ObjC object is an instance of some ObjC class. |
|
|
|
|
isinstanceOf(inst,
*classes,
**name_missing)
Check a Python instance' class. |
|
|
|
iterator
|
iterbytes(collection)
iter(callable, sentinel) -> iterator |
|
|
|
|
lambda1(arg)
Inlieu of using lambda arg: arg. |
|
|
|
|
leaked2()
Return the number of memory leaks. |
|
|
|
|
list2NS(py)
Create an NSMutableArray instance from a Python
list. |
|
|
|
|
map2NS(py)
Create an NSArray instance from a Python
map. |
|
|
|
|
name2objc(name_)
Convert a (selector) name to bytes and ObjC naming
rules. |
|
|
|
|
name2py(name_)
Convert a (selector) name str and Python naming
conventions. |
|
|
|
|
name2pymethod(name_)
Convert a (selector) name to a valid Python callback method. |
|
|
|
|
ns2App(ns)
Get the App
instance from an NSApplication or an
NSNotification instance. |
|
|
|
|
ns2Item(ns)
Get the Python instance for an NSMenuItem. |
|
|
|
|
ns2Type(ns)
Convert an NS... ObjC object to an instance of the
corresponding Python Type and value. |
|
|
|
|
ns2Window(ns)
Get the Window instance for an ObjC NSWindow or
NSNotification instance. |
|
|
|
|
ns2py(ns,
dflt=missing)
Convert (an instance of) an ObjC class to an instance of the
equivalent Python standard type or wrapper and value. |
|
|
|
|
nsArray2listuple(ns,
ctype=<class 'ctypes.c_void_p'>)
Create a Python list or tuple from an
NS[Mutable]Array. |
|
|
|
|
nsBoolean2bool(ns,
dflt=missing)
Create a Python bool from an NSBoolean. |
|
|
|
|
nsBundleRename(ns_title,
match='Python')
Change the bundle title if the current title matches. |
|
|
|
|
|
|
|
|
|
|
nsDictionary2dict(ns,
ctype_keys=<class 'ctypes.c_void_p'>,
ctype_vals=<class 'ctypes.c_void_p'>)
Create a Python dict from an
NS[Mutable]Dictionary. |
|
|
|
|
nsIter(ns,
reverse=False)
Iterate over an NS.. ObjC objects's (reverse)
enumerator. |
|
|
|
|
nsIter2(ns,
reverse=False)
Iterate over an NS.. ObjC objects's (reverse)
enumerator. |
|
|
|
|
nsLog(ns_fmt,
*ns_args)
Formatted ObjC write to the console. |
|
|
|
|
nsLogf(fmt,
*args)
Formatted write to the console. |
|
|
|
|
nsNull2none(ns)
Return Python None for an NS/CFNull or
nil. |
|
|
|
|
nsNumber2num(ns,
dflt=missing)
Create a Python Decimal, int or
float from an NSNumber. |
|
|
|
|
nsOf(inst)
Return the .NS ObjC object of a Python wrapper or Type
instance. |
|
|
|
|
nsSet2set(ns,
ctype=<class 'ctypes.c_void_p'>)
Create a Python set or frozenset from an
NS[Mutable]Set. |
|
|
|
|
nsString2str(ns,
dflt=None)
Create a Python str or unicode from an
NS[Mutable]Str[ing]. |
|
|
|
|
nsTextSize3(text,
ns_font=None)
Return the size of a multi-line text. |
|
|
|
|
nsTextView(text,
ns_font)
Return an NSTextView for the given text string. |
|
|
|
|
nsThrow(ns_exception)
Mimick ObjC's @throw NSException to raise an exception. |
|
|
|
|
nsURL2str(ns)
Create a Python str from NSURL string. |
|
|
|
|
nsUncaughtExceptionHandler(handler)
Install an ObjC NSException handler, the handler
signature must match NSExceptionHandler_t def
handler(ns_exc): .... |
|
|
|
|
printf(fmt,
*args,
**kwds)
Formatted print fmt % args with optional keywords. |
|
|
|
|
|
|
|
property2(inst,
name)
Return the property get and set method. |
|
|
|
|
|
|
|
py2NS(py)
Convert (an instance of) a Python object into an instance of the
equivalent NS... ObjC class: |
|
|
|
|
range2NS(py)
Create an NSArray instance from a Python
range. |
|
|
|
|
|
|
|
release(objc)
Release an ObjC instance to be deleted, eventually. |
|
|
|
|
retain(objc)
Preserve an ObjC instance from destruction. |
|
|
|
|
send_message(objc,
sel_name_,
*args,
**resargtypes)
Send message to an ObjC object. |
|
|
|
|
send_super(objc,
sel_name_,
*args,
**resargtypes)
Send message to the super-class of an ObjC object. |
|
|
|
|
send_super_init(objc)
Send 'init' message to the super-class of an ObjC object. |
|
|
|
|
set2NS(py)
Create an NSMutableSet instance from a Python
set. |
|
|
|
|
set_ivar(objc,
name,
value,
ctype=None)
Set an instance variable of an ObjC object. |
|
|
|
|
split_emcoding2(encoding,
start=0)
Split the type encoding of a method signature into separate,
single encodings and the combined encoding. |
|
|
|
|
split_encoding(encoding)
Split a type encoding into separate type encodings. |
|
|
|
|
str2NS(py)
Create an NSStr instance from a Python str. |
|
|
|
|
str2bytes(bytestr,
dflt=missing,
name='')
Convert str to bytes/unicode
if needed. |
|
|
|
|
title2action(title)
Convert a menu item title to a Python callback method
name. |
|
|
|
|
tuple2NS(py)
Create an immutable NSArray instance from a Python
tuple. |
|
|
|
|
type2NS(py)
Create the NS... ObjC object for a Python Type or
wrapper instance. |
|
|
|
|
type2strepr(inst,
strepr=<type 'str'>)
Represent a Python Type instance as str or
repr. |
|
|
|
|
unicode2NS(py)
Create an NSStr instance from a Python
unicode string. |
|
|
|
|
url2NS(py,
url2=None)
Create an NSURL instance from a Python string. |
|
|
|
|
windowStyles(*styles)
Return a combination of window styles, specified by name. |
|
|
|
|
z1000str(size,
sep='_')
Convert a size to string with 1_000's seperator. |
|
|
|
|
zSIstr(size,
B='B',
K=1024)
Convert a size to string with SI-units suffix. |
|
|
|
|
zfstr(flt,
prec=3)
Format a float and strip trailing zero decimals. |
|
|
|
|
AlertStyle = AlertStyle.Critical=1<...
|
|
|
AutoResize = AutoResize.HeightSizable=1<...
|
|
|
BezelStyle = BezelStyle.Disclosure...
|
|
|
Border = Border.Bezel=1<...
|
|
|
CGImageEncoding = '{CGImage=}'
|
|
|
CGPointEncoding = '{CGPoint=dd}'
|
|
|
CGRectEncoding = '{CGRect={CGPoint=dd}{CGSize=dd}}'
|
|
|
CGSizeEncoding = '{CGSize=dd}'
|
|
|
DEFAULT_UNICODE = 'utf-8'
|
|
|
FontTrait = FontTrait.Bold=1<...
|
|
|
Fonts = Fonts.App=Font(name='Helvetica', family='Helvetica', s...
|
|
|
NO = False
|
|
|
NSAlert = ObjCClass('NSAlert')
|
|
|
NSAlphaShiftKeyMask = 65536
|
|
|
NSAlternateKeyMask = 524288
|
|
|
NSAnyEventMask = 4294967295
|
|
|
NSApplication = ObjCClass('NSApplication')
|
|
|
NSApplicationActivationPolicyAccessory = 1
|
|
|
NSApplicationActivationPolicyProhibited = 2
|
|
|
NSApplicationActivationPolicyRegular = 0
|
|
|
NSApplicationDefined = 15
|
|
|
NSApplicationDelegate = ObjCClass('_NSApplicationDelegate')
|
|
|
NSApplicationDidHideNotification = c_void_p(140735460761536)
|
|
|
NSApplicationDidUnhideNotification = c_void_p(140735460761632)
|
|
|
NSApplicationPresentationDefault = 0
|
|
|
NSApplicationPresentationDisableHideApplication = 256
|
|
|
NSApplicationPresentationDisableProcessSwitching = 32
|
|
|
NSApplicationPresentationHideDock = 2
|
|
|
NSApplicationPresentationHideMenuBar = 8
|
|
|
NSArray = ObjCClass('NSArray')
|
|
|
NSAttributedString = ObjCClass('NSAttributedString')
|
|
|
NSAutoreleasePool = ObjCClass('NSAutoreleasePool')
|
|
|
NSBackingStoreBuffered = 2
|
|
|
NSBackingStoreNonretained = 1
|
|
|
NSBackingStoreRetained = 0
|
|
|
NSBeginFunctionKey = 63274
|
|
|
NSBezierPath = ObjCClass('NSBezierPath')
|
|
|
NSBoolean = NSNumber.numberWithBool_
|
|
|
NSBundle = ObjCClass('NSBundle')
|
|
|
NSCancelButton = 0
|
|
|
NSCenterTextAlignment = 2
|
|
|
NSColor = ObjCClass('NSColor')
|
|
|
NSCommandKeyMask = 1048576
|
|
|
NSConcreteNotification = ObjCClass('NSConcreteNotification')
|
|
|
NSConstantString = ObjCClass('NSConstantString')
|
|
|
NSControlKeyMask = 262144
|
|
|
NSData = ObjCClass('NSData')
|
|
|
NSDecimalNumber = ObjCClass('NSDecimalNumber')
|
|
|
NSDefaultRunLoopMode = c_void_p(140735469941112)
|
|
|
NSDeleteFunctionKey = 63272
|
|
|
NSDictionary = ObjCClass('NSDictionary')
|
|
|
NSDockTile = ObjCClass('NSDockTile')
|
|
|
NSDouble = NSNumber.numberWithDouble_
|
|
|
NSEndFunctionKey = 63275
|
|
|
NSEnumerator = ObjCClass('NSEnumerator')
|
|
|
NSError = ObjCClass('NSError')
|
|
|
NSEventTrackingRunLoopMode = c_void_p(140735460756224)
|
|
|
NSException = ObjCClass('NSException')
|
|
|
NSFileHandlingPanelCancelButton = 0
|
|
|
NSFileHandlingPanelOKButton = 1
|
|
|
NSFlagsChanged = 12
|
|
|
NSFloat = NSNumber.numberWithDouble_
|
|
|
NSFloatEncoding = 'f'
|
|
|
NSFont = ObjCClass('NSFont')
|
|
|
NSFontBoldMask = 2
|
|
|
NSFontClarendonSerifsClass = 1073741824
|
|
|
NSFontClassMask = 4026531840
|
|
|
NSFontColorGlyphsMask = 8192
|
|
|
NSFontCompositeMask = 16384
|
|
|
NSFontCompressedMask = 512
|
|
|
NSFontCondensedMask = 64
|
|
|
NSFontDescriptor = ObjCClass('NSFontDescriptor')
|
|
|
NSFontExpandedMask = 32
|
|
|
NSFontFreeformSerifsClass = 1879048192
|
|
|
NSFontItalicMask = 1
|
|
|
NSFontManager = ObjCClass('NSFontManager')
|
|
|
NSFontModernSerifsClass = 805306368
|
|
|
NSFontMonoSpaceMask = 1024
|
|
|
NSFontNarrowMask = 16
|
|
|
NSFontNonStandardCharacterSetMask = 8
|
|
|
NSFontOldStyleSerifsClass = 268435456
|
|
|
NSFontOrnamentalsClass = 2415919104
|
|
|
NSFontPanel = ObjCClass('NSFontPanel')
|
|
|
NSFontPosterMask = 256
|
|
|
NSFontSansSerifClass = 2147483648
|
|
|
NSFontScriptsClass = 2684354560
|
|
|
NSFontSlabSerifsClass = 1342177280
|
|
|
NSFontSmallCapsMask = 128
|
|
|
NSFontSymbolicClass = 3221225472
|
|
|
NSFontTransitionalSerifsClass = 536870912
|
|
|
NSFontUIOptimizedMask = 4096
|
|
|
NSFontUnboldMask = 4
|
|
|
NSFontUnitalicMask = 16777216
|
|
|
NSFontUnknownClass = 0
|
|
|
NSFontVerticalMask = 2048
|
|
|
NSFunctionKeyMask = 8388608
|
|
|
NSHelpKeyMask = 4194304
|
|
|
NSHomeFunctionKey = 63273
|
|
|
NSImage = ObjCClass('NSImage')
|
|
|
NSImageView = ObjCClass('NSImageView')
|
|
|
NSInsertFunctionKey = 63271
|
|
|
NSInt = NSNumber.numberWithInt_
|
|
|
NSIntegerEncoding = 'l'
|
|
|
NSIntegerMax = 9223372036854775807
|
|
|
NSJustifiedTextAlignment = 3
|
|
|
NSKeyDown = 10
|
|
|
NSKeyUp = 11
|
|
|
NSLayoutManager = ObjCClass('NSLayoutManager')
|
|
|
NSLeftTextAlignment = 0
|
|
|
NSLong = NSNumber.numberWithLong_
|
|
|
NSLongLong = NSNumber.numberWithLongLong_
|
|
|
NSMain = NSMain.Application=NSApplication(<Id_t at 0x10b1063b0...
|
|
|
NSMenu = ObjCClass('NSMenu')
|
|
|
NSMenuItem = ObjCClass('NSMenuItem')
|
|
|
NSMutableArray = ObjCClass('NSMutableArray')
|
|
|
NSMutableData = ObjCClass('NSMutableData')
|
|
|
NSMutableDictionary = ObjCClass('NSMutableDictionary')
|
|
|
NSMutableSet = ObjCClass('NSMutableSet')
|
|
|
NSMutableString = ObjCClass('NSMutableString')
|
|
|
NSNaturalTextAlignment = 4
|
|
|
NSNotFound = 9223372036854775807
|
|
|
NSNotification = ObjCClass('NSNotification')
|
|
|
NSNotificationCenter = ObjCClass('NSNotificationCenter')
|
|
|
NSNull = ObjCClass('NSNull')
|
|
|
NSNumber = ObjCClass('NSNumber')
|
|
|
NSNumericPadKeyMask = 2097152
|
|
|
NSOKButton = 1
|
|
|
NSObject = ObjCClass('NSObject')
|
|
|
NSOpenPanel = ObjCClass('NSOpenPanel')
|
|
|
NSPageDownFunctionKey = 63277
|
|
|
NSPageLayout = ObjCClass('NSPageLayout')
|
|
|
NSPageUpFunctionKey = 63276
|
|
|
NSPointEncoding = '{CGPoint=dd}'
|
|
|
NSPointZero = NSPoint_t(0, 0)
|
|
|
NSPrintInfo = ObjCClass('NSPrintInfo')
|
|
|
NSPrintOperation = ObjCClass('NSPrintOperation')
|
|
|
NSPrintPanel = ObjCClass('NSPrintPanel')
|
|
|
NSPrinter = ObjCClass('NSPrinter')
|
|
|
NSRangeEncoding = '{_NSRange=QQ}'
|
|
|
NSRectEncoding = '{CGRect={CGPoint=dd}{CGSize=dd}}'
|
|
|
NSRightTextAlignment = 1
|
|
|
NSSavePanel = ObjCClass('NSSavePanel')
|
|
|
NSScreen = ObjCClass('NSScreen')
|
|
|
NSScrollView = ObjCClass('NSScrollView')
|
|
|
NSSet = ObjCClass('NSSet')
|
|
|
NSShiftKeyMask = 131072
|
|
|
NSSizeEncoding = '{CGSize=dd}'
|
|
|
NSSquareStatusItemLength = -2
|
|
|
NSStatusBar = ObjCClass('NSStatusBar')
|
|
|
NSString = ObjCClass('NSString')
|
|
|
NSTableColumn = ObjCClass('NSTableColumn')
|
|
|
NSTableView = ObjCClass('NSTableView')
|
|
|
NSTableViewDashedHorizontalGridLineMask = 8
|
|
|
NSTableViewDelegate = ObjCClass('_NSTableViewDelegate', 'NSTab...
|
|
|
NSTableViewGridNone = 0
|
|
|
NSTableViewSolidHorizontalGridLineMask = 2
|
|
|
NSTableViewSolidVerticalGridLineMask = 1
|
|
|
NSTextAlignmentCenter = 2
|
|
|
NSTextAlignmentJustified = 3
|
|
|
NSTextAlignmentLeft = 0
|
|
|
NSTextAlignmentNatural = 4
|
|
|
NSTextAlignmentRight = 1
|
|
|
NSTextField = ObjCClass('NSTextField')
|
|
|
NSTextView = ObjCClass('NSTextView')
|
|
|
NSTextWritingDirectionEmbedding = 0
|
|
|
NSTextWritingDirectionOverride = 2
|
|
|
NSThread = ObjCClass('NSThread')
|
|
|
NSTrackingActiveInActiveApp = 64
|
|
|
NSTrackingCursorUpdate = 4
|
|
|
NSTrackingMouseEnteredAndExited = 1
|
|
|
NSTrackingMouseMoved = 2
|
|
|
NSUIntegerEncoding = 'L'
|
|
|
NSURL = ObjCClass('NSURL')
|
|
|
NSVariableStatusItemLength = -1
|
|
|
NSView = ObjCClass('NSView')
|
|
|
NSWindow = ObjCClass('NSWindow')
|
|
|
NSWindowCloseButton = 0
|
|
|
NSWindowDelegate = ObjCClass('_NSWindowDelegate')
|
|
|
NSWindowDocumentIconButton = 4
|
|
|
NSWindowMiniaturizeButton = 1
|
|
|
NSWindowStyleMaskClosable = 2
|
|
|
NSWindowStyleMaskMiniaturizable = 4
|
|
|
NSWindowStyleMaskResizable = 8
|
|
|
NSWindowStyleMaskTitled = 1
|
|
|
NSWindowStyleMaskUsual = 15
|
|
|
NSWindowStyleMaskUtilityWindow = 16
|
|
|
NSWindowToolbarButton = 3
|
|
|
NSWindowZoomButton = 2
|
|
|
NSZoneEncoding = '{_NSZone=}'
|
|
|
OBJC_ASSOCIATION_COPY = 771
|
|
|
OBJC_ASSOCIATION_COPY_NONATOMIC = 3
|
|
|
OBJC_ASSOCIATION_RETAIN = 769
|
|
|
OBJC_ASSOCIATION_RETAIN_NONATOMIC = 1
|
|
|
PanelButton = PanelButton.Cancel...
|
|
|
PyObjectEncoding = '{PyObject=@}'
|
|
|
WindowStyle = WindowStyle.Closable=1<...
|
|
|
YES = True
|
|
|
libAppKit = <CDLL '/System/Library/Frameworks/AppKit.framework...
|
|
|
libCF = <CDLL '/System/Library/Frameworks/CoreFoundation.frame...
|
|
|
libCT = <CDLL '/System/Library/Frameworks/CoreText.framework/C...
|
|
|
libFoundation = <CDLL '/System/Library/Frameworks/Foundation.f...
|
|
|
libPC = None
hash(x)
|
|
|
libobjc = <CDLL '/usr/lib/libobjc.dylib', handle 11363a680 at ...
|
|
|
libquartz = <CDLL '/System/Library/Frameworks/quartz.framework...
|
|
|
missing = missing
|