diff options
| author | Alexander Khosrowshahi <alexk@vector35.com> | 2025-07-16 12:55:28 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2025-07-22 09:21:43 -0400 |
| commit | b8430f79f94a95e2301228a93cfd92b8995c099e (patch) | |
| tree | 1bc59ea6187925dcd1db5ef5be25026c54be6c17 /python/examples | |
| parent | b29278c256f0b2269e2a28ab80d158e8005c19a3 (diff) | |
Add OnActionExecutedImmutable to ui notifications and python api
Diffstat (limited to 'python/examples')
| -rw-r--r-- | python/examples/ui_notifications.py | 2 |
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() |
