summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/examples/ui_notifications.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/examples/ui_notifications.py b/python/examples/ui_notifications.py
index 2f0a2927..d49c3571 100644
--- a/python/examples/ui_notifications.py
+++ b/python/examples/ui_notifications.py
@@ -98,6 +98,8 @@ class UINotification(UIContextNotification):
# This function only works in C++: Name is an out param (cpp: &name), and not modifiable by python.
print(f"py OnContextMenuCreated {context} {view} {menu}")
+ def OnActionExecutedImmutable(self, context, handler, name, ctx):
+ print(f"py OnActionExecutedImmutable {context} {handler} {name} {ctx}")
# Register as a global so it doesn't get destructed
notif = UINotification()