summaryrefslogtreecommitdiff
path: root/python/examples
diff options
context:
space:
mode:
authorJosh F <josh@vector35.com>2022-07-06 13:40:52 -0400
committerJosh F <josh@vector35.com>2022-07-18 16:13:50 -0400
commit11458f3160e9c82d3e0f48b7013d952b729ec38b (patch)
tree4c2165c208fa9542a2c744b7a3f94be52877315e /python/examples
parentc3362d1ffb2c581c0647a1e9f480b98e7976fe25 (diff)
Memory map sidebar widget + segment/section notifications
Diffstat (limited to 'python/examples')
-rw-r--r--python/examples/notification_callbacks.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/python/examples/notification_callbacks.py b/python/examples/notification_callbacks.py
index 24d798de..47282884 100644
--- a/python/examples/notification_callbacks.py
+++ b/python/examples/notification_callbacks.py
@@ -107,5 +107,23 @@ class DemoNotification(BinaryDataNotification):
def type_field_ref_changed(self, *args):
log.log_info(inspect.stack()[0][3] + str(args))
+ def segment_added(self, *args):
+ log.log_info(inspect.stack()[0][3] + str(args))
+
+ def segment_updated(self, *args):
+ log.log_info(inspect.stack()[0][3] + str(args))
+
+ def segment_removed(self, *args):
+ log.log_info(inspect.stack()[0][3] + str(args))
+
+ def section_added(self, *args):
+ log.log_info(inspect.stack()[0][3] + str(args))
+
+ def section_updated(self, *args):
+ log.log_info(inspect.stack()[0][3] + str(args))
+
+ def section_removed(self, *args):
+ log.log_info(inspect.stack()[0][3] + str(args))
+
PluginCommand.register("Register Notification", "", reg_notif)