summaryrefslogtreecommitdiff
path: root/python/examples/notification_callbacks.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/notification_callbacks.py')
-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)