unreal.CheckBoxStyle

class unreal.CheckBoxStyle(check_box_type=SlateCheckBoxType.CHECK_BOX, unchecked_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], unchecked_hovered_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], unchecked_pressed_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], checked_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], checked_hovered_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], checked_pressed_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], undetermined_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], undetermined_hovered_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], undetermined_pressed_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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], padding=[2.0, 0.0, 0.0, 0.0], background_image=[[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], background_hovered_image=[[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], background_pressed_image=[[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], foreground_color=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], hovered_foreground=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], pressed_foreground=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], checked_foreground=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], checked_hovered_foreground=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], checked_pressed_foreground=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], undetermined_foreground=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], border_background_color=[[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], checked_slate_sound=[None], unchecked_slate_sound=[None], hovered_slate_sound=[None])

Bases: unreal.SlateWidgetStyle

Represents the appearance of an SCheckBox

C++ Source:

  • Module: SlateCore

  • File: SlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • background_hovered_image (SlateBrush): [Read-Write] Background Hovered Image: Background appearance when hovered

  • background_image (SlateBrush): [Read-Write] Background Image: Background appearance

  • background_pressed_image (SlateBrush): [Read-Write] Background Pressed Image: Background appearance when pressed

  • border_background_color (SlateColor): [Read-Write] Border Background Color: BorderBackgroundColor refers to the actual color and opacity of the supplied border image on toggle buttons

  • check_box_type (SlateCheckBoxType): [Read-Write] Check Box Type: The visual type of the checkbox

  • checked_foreground (SlateColor): [Read-Write] Checked Foreground: Foreground Color when checked

  • checked_hovered_foreground (SlateColor): [Read-Write] Checked Hovered Foreground: Foreground Color when checked and pressed

  • checked_hovered_image (SlateBrush): [Read-Write] Checked Hovered Image: CheckBox appearance when checked and hovered

  • checked_image (SlateBrush): [Read-Write] Checked Image: CheckBox appearance when the CheckBox is checked

  • checked_pressed_foreground (SlateColor): [Read-Write] Checked Pressed Foreground: Foreground Color when checked and pressed

  • checked_pressed_image (SlateBrush): [Read-Write] Checked Pressed Image: CheckBox appearance when checked and pressed

  • checked_slate_sound (SlateSound): [Read-Write] Checked Slate Sound: The sound the check box should play when checked

  • foreground_color (SlateColor): [Read-Write] Foreground Color: The normal unchecked foreground color

  • hovered_foreground (SlateColor): [Read-Write] Hovered Foreground: Foreground Color when hovered

  • hovered_slate_sound (SlateSound): [Read-Write] Hovered Slate Sound: The sound the check box should play when initially hovered over

  • padding (Margin): [Read-Write] Padding: Padding

  • pressed_foreground (SlateColor): [Read-Write] Pressed Foreground: Foreground Color when pressed

  • unchecked_hovered_image (SlateBrush): [Read-Write] Unchecked Hovered Image: CheckBox appearance when the CheckBox is unchecked and hovered

  • unchecked_image (SlateBrush): [Read-Write] Unchecked Image: CheckBox appearance when the CheckBox is unchecked (normal)

  • unchecked_pressed_image (SlateBrush): [Read-Write] Unchecked Pressed Image: CheckBox appearance when the CheckBox is unchecked and hovered

  • unchecked_slate_sound (SlateSound): [Read-Write] Unchecked Slate Sound: The sound the check box should play when unchecked

  • undetermined_foreground (SlateColor): [Read-Write] Undetermined Foreground: Foreground Color when the check state is indeterminate

  • undetermined_hovered_image (SlateBrush): [Read-Write] Undetermined Hovered Image: CheckBox appearance when CheckBox is undetermined and hovered

  • undetermined_image (SlateBrush): [Read-Write] Undetermined Image: CheckBox appearance when the CheckBox is undetermined

  • undetermined_pressed_image (SlateBrush): [Read-Write] Undetermined Pressed Image: CheckBox appearance when CheckBox is undetermined and pressed

property background_hovered_image

[Read-Write] Background Hovered Image: Background appearance when hovered

Type

(SlateBrush)

property background_image

[Read-Write] Background Image: Background appearance

Type

(SlateBrush)

property background_pressed_image

[Read-Write] Background Pressed Image: Background appearance when pressed

Type

(SlateBrush)

property border_background_color

[Read-Write] Border Background Color: BorderBackgroundColor refers to the actual color and opacity of the supplied border image on toggle buttons

Type

(SlateColor)

property check_box_type

[Read-Write] Check Box Type: The visual type of the checkbox

Type

(SlateCheckBoxType)

property checked_foreground

[Read-Write] Checked Foreground: Foreground Color when checked

Type

(SlateColor)

property checked_hovered_foreground

[Read-Write] Checked Hovered Foreground: Foreground Color when checked and pressed

Type

(SlateColor)

property checked_hovered_image

[Read-Write] Checked Hovered Image: CheckBox appearance when checked and hovered

Type

(SlateBrush)

property checked_image

[Read-Write] Checked Image: CheckBox appearance when the CheckBox is checked

Type

(SlateBrush)

property checked_pressed_foreground

[Read-Write] Checked Pressed Foreground: Foreground Color when checked and pressed

Type

(SlateColor)

property checked_pressed_image

[Read-Write] Checked Pressed Image: CheckBox appearance when checked and pressed

Type

(SlateBrush)

property checked_slate_sound

[Read-Write] Checked Slate Sound: The sound the check box should play when checked

Type

(SlateSound)

property foreground_color

[Read-Write] Foreground Color: The normal unchecked foreground color

Type

(SlateColor)

property hovered_foreground

[Read-Write] Hovered Foreground: Foreground Color when hovered

Type

(SlateColor)

property hovered_slate_sound

[Read-Write] Hovered Slate Sound: The sound the check box should play when initially hovered over

Type

(SlateSound)

property padding

[Read-Write] Padding: Padding

Type

(Margin)

property pressed_foreground

[Read-Write] Pressed Foreground: Foreground Color when pressed

Type

(SlateColor)

property unchecked_hovered_image

[Read-Write] Unchecked Hovered Image: CheckBox appearance when the CheckBox is unchecked and hovered

Type

(SlateBrush)

property unchecked_image

[Read-Write] Unchecked Image: CheckBox appearance when the CheckBox is unchecked (normal)

Type

(SlateBrush)

property unchecked_pressed_image

[Read-Write] Unchecked Pressed Image: CheckBox appearance when the CheckBox is unchecked and hovered

Type

(SlateBrush)

property unchecked_slate_sound

[Read-Write] Unchecked Slate Sound: The sound the check box should play when unchecked

Type

(SlateSound)

property undetermined_foreground

[Read-Write] Undetermined Foreground: Foreground Color when the check state is indeterminate

Type

(SlateColor)

property undetermined_hovered_image

[Read-Write] Undetermined Hovered Image: CheckBox appearance when CheckBox is undetermined and hovered

Type

(SlateBrush)

property undetermined_image

[Read-Write] Undetermined Image: CheckBox appearance when the CheckBox is undetermined

Type

(SlateBrush)

property undetermined_pressed_image

[Read-Write] Undetermined Pressed Image: CheckBox appearance when CheckBox is undetermined and pressed

Type

(SlateBrush)