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
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