MCPcopy Create free account
hub / github.com/LabPy/lantz / __new__

Method __new__

lantz/ui/widgets.py:296–305  ·  view source on GitHub ↗

:param parent: parent widget. :param target: driver object to connect. :param feat: Feat to connect.

(cls, parent, target, feat)

Source from the content-addressed store, hash-verified

294 """
295
296 def __new__(cls, parent, target, feat):
297 """
298 :param parent: parent widget.
299 :param target: driver object to connect.
300 :param feat: Feat to connect.
301 """
302 widget = WidgetMixin.from_feat(feat, parent)
303 widget.bind_feat(feat)
304 widget.lanz_target = target
305 return widget
306
307
308class DictFeatWidget(QtGui.QWidget):

Callers

nothing calls this directly

Calls 2

from_featMethod · 0.80
bind_featMethod · 0.45

Tested by

no test coverage detected