The api documentation says I can do
Code: Select all
parent = ch.getParent()
print("Parent: " + str(parent))
Code: Select all
<Phidget22.Phidget.Phidget instance at 0x1011b2ea8>
Code: Select all
var:_onError, val:None
var:handle, val:c_void_p(140473406883328)
var:_ErrorFactory, val:<class 'ctypes.CFunctionType'>
var:_PropertyChange, val:None
var:_DetachFactory, val:<class 'ctypes.CFunctionType'>
var:_onDetach, val:None
var:_AttachFactory, val:<class 'ctypes.CFunctionType'>
var:_Attach, val:None
var:_PropertyChangeFactory, val:<class 'ctypes.CFunctionType'>
var:_onAttach, val:None
var:_Detach, val:None
var:_onPropertyChange, val:None