… like this using python from within an extension?
It’s called the Notification Manager. Here’s a simple example:
import omni.kit.notification_manager as nm
ok_button = nm.NotificationButtonInfo("OK", on_complete=None)
cancel_button = nm.NotificationButtonInfo("CANCEL", on_complete=None)
notification_info = nm.post_notification("Notification Example", hide_after_timeout=False, duration=0, status=nm.NotificationStatus.WARNING, button_infos=[ok_button, cancel_button])
And here’s the documentation: omni.kit.notification_manager: Notification Manager Extension — kit-sdk 103.1 documentation
1 Like
Thanks a lot, I will try it when I have time.
Bruno
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.