unreal.WrapButtonStyle

class unreal.WrapButtonStyle(padding: Margin = Ellipsis, wrap_button_index: int = 0, expand_brush: SlateBrush = Ellipsis, has_down_arrow: bool = False, combo_button_style: type = (), include_separator: bool = False, separator_brush: type = (), separator_thickness: type = (), separator_padding: type = ())

Bases: StructBase

Wrap Button Style

C++ Source:

  • Module: SlateCore

  • File: ToolBarStyle.h

Editor Properties: (see get_editor_property/set_editor_property)

  • combo_button_style (‘undefined’): [Read-Write] The styling of the combo button that opens the wrapping menu

  • expand_brush (SlateBrush): [Read-Write] The brush used for the expand arrow when the toolbar runs out of room and needs to display toolbar items in a menu

  • has_down_arrow (bool): [Read-Write] Whether the combo box includes a down arrow

  • include_separator (bool): [Read-Write] Whether a separator should appear adjacent to the combo button

  • padding (Margin): [Read-Write] The padding around the wrap button

  • separator_brush (‘undefined’): [Read-Write] The appearance of the separator

  • separator_padding (‘undefined’): [Read-Write] Any padding around the separator

  • separator_thickness (‘undefined’): [Read-Write] How wide/tall the separator should be

  • wrap_button_index (int32): [Read-Write] Where in the toolbar the wrap button should appear. e.g. 0 for the left side, -1 for the right side.

property combo_button_style: type

[Read-Write] The styling of the combo button that opens the wrapping menu

Type:

(‘undefined’)

property expand_brush: SlateBrush

[Read-Write] The brush used for the expand arrow when the toolbar runs out of room and needs to display toolbar items in a menu

Type:

(SlateBrush)

property has_down_arrow: bool

[Read-Write] Whether the combo box includes a down arrow

Type:

(bool)

property include_separator: bool

[Read-Write] Whether a separator should appear adjacent to the combo button

Type:

(bool)

property padding: Margin

[Read-Write] The padding around the wrap button

Type:

(Margin)

property separator_brush: type

[Read-Write] The appearance of the separator

Type:

(‘undefined’)

property separator_padding: type

[Read-Write] Any padding around the separator

Type:

(‘undefined’)

property separator_thickness: type

[Read-Write] How wide/tall the separator should be

Type:

(‘undefined’)

property wrap_button_index: int

[Read-Write] Where in the toolbar the wrap button should appear. e.g. 0 for the left side, -1 for the right side.

Type:

(int32)