unreal.ComboButtonStyle

class unreal.ComboButtonStyle(button_style=[[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [None], [None]], down_arrow_image=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], shadow_offset=[0.0, 0.0], shadow_color_and_opacity=[0.0, 0.0, 0.0, 1.0], menu_border_brush=[[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], menu_border_padding=[0.0, 0.0, 0.0, 0.0])

Bases: unreal.SlateWidgetStyle

Represents the appearance of an SComboButton

C++ Source:

  • Module: SlateCore

  • File: SlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • button_style (ButtonStyle): [Read-Write] The style to use for our SButton.

  • down_arrow_image (SlateBrush): [Read-Write] Image to use for the down arrow.

  • menu_border_brush (SlateBrush): [Read-Write] Brush to use to add a “menu border” around the drop-down content.

  • menu_border_padding (Margin): [Read-Write] Padding to use to add a “menu border” around the drop-down content.

  • shadow_color_and_opacity (LinearColor): [Read-Write] The color and opacity of the shadow for the down arrow. Only active if ShadowOffset is not (0,0).

  • shadow_offset (Vector2D): [Read-Write] How much should the shadow be offset for the down arrow? An offset of 0 implies no shadow.

property button_style

[Read-Write] The style to use for our SButton.

Type

(ButtonStyle)

property down_arrow_image

[Read-Write] Image to use for the down arrow.

Type

(SlateBrush)

property menu_border_brush

[Read-Write] Brush to use to add a “menu border” around the drop-down content.

Type

(SlateBrush)

property menu_border_padding

[Read-Write] Padding to use to add a “menu border” around the drop-down content.

Type

(Margin)

property shadow_color_and_opacity

[Read-Write] The color and opacity of the shadow for the down arrow. Only active if ShadowOffset is not (0,0).

Type

(LinearColor)

property shadow_offset

[Read-Write] How much should the shadow be offset for the down arrow? An offset of 0 implies no shadow.

Type

(Vector2D)