unreal.EditorUtilityDialogResult

class unreal.EditorUtilityDialogResult(return_type: AppReturnType = Ellipsis, widget_instance: EditorUtilityDialogWidget = Ellipsis)

Bases: StructBase

Result returned by ShowModalEditorUtilityDialog. Contains the button the user pressed and a reference to the widget instance so the caller can read back any data the user entered.

C++ Source:

  • Module: Blutility

  • File: EditorUtilityDialogResult.h

Editor Properties: (see get_editor_property/set_editor_property)

  • return_type (AppReturnType): [Read-Write] Which button the user pressed to close the dialog (Ok, Cancel, Yes, No, etc.).

  • widget_instance (EditorUtilityDialogWidget): [Read-Write] The widget instance shown in the dialog. Cast to your subclass to read back user-entered data.

property return_type: AppReturnType

[Read-Only] Which button the user pressed to close the dialog (Ok, Cancel, Yes, No, etc.).

Type:

(AppReturnType)

property widget_instance: EditorUtilityDialogWidget

[Read-Only] The widget instance shown in the dialog. Cast to your subclass to read back user-entered data.

Type:

(EditorUtilityDialogWidget)