MCPcopy Index your code
hub / github.com/PyQt5/PyQt / registerObjects

Method registerObjects

QWebChannel/Lib/WebChannelObject.py:80–86  ·  view source on GitHub ↗

注册多个对象 @param objects: 对象列表 @type objects: list

(self, objects)

Source from the content-addressed store, hash-verified

78 self.m_webchannel.registerObject(name, obj)
79
80 def registerObjects(self, objects):
81 """注册多个对象
82 @param objects: 对象列表
83 @type objects: list
84 """
85 for name, obj in objects:
86 self.registerObject(name, obj)
87
88 def deregisterObject(self, obj):
89 """注销对象

Callers

nothing calls this directly

Calls 1

registerObjectMethod · 0.95

Tested by

no test coverage detected