Package pycocoa :: Module runtime :: Class ObjCBoundMethod
[frames] | no frames]

Class ObjCBoundMethod

object --+
         |
        ObjCBoundMethod

Python wrapper for an Objective-C method (an IMP) which has been bound to some Id which is passed as the first method argument.

Instance Methods
 
__init__(self, method, objc_id)
Initialize with a method and ObjCInstance or ObjCClass object.
 
__repr__(self)
repr(x)
 
__call__(self, *args)
Call the method with the given arguments.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, method, objc_id)
(Constructor)

 

Initialize with a method and ObjCInstance or ObjCClass object.

Overrides: object.__init__

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)