Package pycocoa :: Module octypes :: Class NSRect
[frames] | no frames]

Class NSRect

   object --+        
            |        
    ??._CData --+    
                |    
_ctypes.Structure --+
                    |
                   NSRect

ObjC struc with origin and size.

Instance Methods

Inherited from _ctypes.Structure: __init__, __new__

Inherited from _CData: __ctypes_from_outparam__, __hash__, __reduce__, __setstate__

Inherited from object: __delattr__, __format__, __getattribute__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  _fields_ = (('origin', <class 'pycocoa.octypes.NSPoint'>), ('s...
  origin = <Field type=NSPoint, ofs=0, size=16>
  size = <Field type=NSSize, ofs=16, size=16>
Properties

Inherited from _CData: _b_base_, _b_needsfree_

Inherited from object: __class__

Class Variable Details

_fields_

Value:
(('origin', <class 'pycocoa.octypes.NSPoint'>),
 ('size', <class 'pycocoa.octypes.NSSize'>))