unreal.UIFrameworkSimpleButton

class unreal.UIFrameworkSimpleButton(outer: Object | None = None, name: Name | str = 'None')

Bases: UIFrameworkWidget

UIFramework Simple Button

C++ Source:

  • Plugin: UIFramework

  • Module: UIFramework

  • File: UIFSimpleButton.h

Editor Properties: (see get_editor_property/set_editor_property)

  • click_event (UIFrameworkClickEventArgument): [Read-Write]

  • is_enabled (bool): [Read-Write]

  • text (Text): [Read-Write]

  • visibility (SlateVisibility): [Read-Write]

  • widget_class (Class): [Read-Write]

property click_event: UIFrameworkClickEventArgument

[Read-Only]

Type:

(UIFrameworkClickEventArgument)

on_click(field) None

On Click

Parameters:

field (MVVMEventField) –

set_text(value) None

Set Text

Parameters:

value (Text) –

property text: Text

[Read-Only]

Type:

(Text)