API (python)

Module Summary:

omni.kit.window.popup_dialog

A set of simple popup dialogs with optional input fields and two buttons, OK and Cancel.

Module Details::

omni.kit.window.popup_dialog:

A set of simple popup dialogs with optional input fields and two buttons, OK and Cancel.

Example:

dialog = InputDialog(
    width=450,
    pre_label="prefix",
    post_label="postfix",
    ok_handler=on_okay,
    cancel_handler=on_cancel,
)