MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / __init__

Method __init__

python/examples/hellopane.py:36–44  ·  view source on GitHub ↗
(self, widget)

Source from the content-addressed store, hash-verified

34# changes and update the pane accordingly.
35class HelloNotifications(UIContextNotification):
36 def __init__(self, widget):
37 UIContextNotification.__init__(self)
38 self.widget = widget
39
40 # __del__ will not be called because the widget owns a reference to this object. Use
41 # QWidget.destroyed event to know when to stop listening for notifications.
42 self.widget.destroyed.connect(self.destroyed)
43
44 UIContext.registerNotification(self)
45
46 def destroyed(self):
47 UIContext.unregisterNotification(self)

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
connectMethod · 0.45

Tested by

no test coverage detected