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], 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], 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], 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], 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], 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], 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], 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], 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], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], padding=[2.0, 0.0, 0.0, 0.0], foreground_color=[[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)

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

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

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

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

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

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

  • foreground_color (SlateColor): [Read-Write] The foreground color

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

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

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

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

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

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

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

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

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

property border_background_color

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

Type

(SlateColor)

property check_box_type

[Read-Write] The visual type of the checkbox

Type

(SlateCheckBoxType)

property checked_hovered_image

[Read-Write] CheckBox appearance when checked and hovered

Type

(SlateBrush)

property checked_image

[Read-Write] CheckBox appearance when the CheckBox is checked

Type

(SlateBrush)

property checked_pressed_image

[Read-Write] CheckBox appearance when checked and pressed

Type

(SlateBrush)

property checked_slate_sound

[Read-Write] The sound the check box should play when checked

Type

(SlateSound)

property foreground_color

[Read-Write] The foreground color

Type

(SlateColor)

property hovered_slate_sound

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

Type

(SlateSound)

property padding

[Read-Write] Padding

Type

(Margin)

property unchecked_hovered_image

[Read-Write] CheckBox appearance when the CheckBox is unchecked and hovered

Type

(SlateBrush)

property unchecked_image

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

Type

(SlateBrush)

property unchecked_pressed_image

[Read-Write] CheckBox appearance when the CheckBox is unchecked and hovered

Type

(SlateBrush)

property unchecked_slate_sound

[Read-Write] The sound the check box should play when unchecked

Type

(SlateSound)

property undetermined_hovered_image

[Read-Write] CheckBox appearance when CheckBox is undetermined and hovered

Type

(SlateBrush)

property undetermined_image

[Read-Write] CheckBox appearance when the CheckBox is undetermined

Type

(SlateBrush)

property undetermined_pressed_image

[Read-Write] CheckBox appearance when CheckBox is undetermined and pressed

Type

(SlateBrush)