unreal.UMGWidgetDescriptionResult

class unreal.UMGWidgetDescriptionResult(description: str = '', widgets: None = [])

Bases: StructBase

Return value of GetWidgetDescription.

C++ Source:

  • Plugin: UMGToolSet

  • Module: UMGToolSet

  • File: UMGToolSet.h

Editor Properties: (see get_editor_property/set_editor_property)

  • description (str): [Read-Write] Human-readable tree. Each line is prefixed [N] where N is the 0-based index into Widgets.

  • widgets (Array[UMGWidgetInfo]): [Read-Write] Flat walk-order list. result.Widgets[N] corresponds to line [N] in Description. Same entries as GetWidgets.

property description: str

[Read-Only] Human-readable tree. Each line is prefixed [N] where N is the 0-based index into Widgets.

Type:

(str)

property widgets: None

[Read-Only] Flat walk-order list. result.Widgets[N] corresponds to line [N] in Description. Same entries as GetWidgets.

Type:

(Array[UMGWidgetInfo])