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 buttonscheck_box_type
(SlateCheckBoxType): [Read-Write] The visual type of the checkboxchecked_hovered_image
(SlateBrush): [Read-Write] CheckBox appearance when checked and hoveredchecked_image
(SlateBrush): [Read-Write] CheckBox appearance when the CheckBox is checkedchecked_pressed_image
(SlateBrush): [Read-Write] CheckBox appearance when checked and pressedchecked_slate_sound
(SlateSound): [Read-Write] The sound the check box should play when checkedforeground_color
(SlateColor): [Read-Write] The foreground colorhovered_slate_sound
(SlateSound): [Read-Write] The sound the check box should play when initially hovered overpadding
(Margin): [Read-Write] Paddingunchecked_hovered_image
(SlateBrush): [Read-Write] CheckBox appearance when the CheckBox is unchecked and hoveredunchecked_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 hoveredunchecked_slate_sound
(SlateSound): [Read-Write] The sound the check box should play when uncheckedundetermined_hovered_image
(SlateBrush): [Read-Write] CheckBox appearance when CheckBox is undetermined and hoveredundetermined_image
(SlateBrush): [Read-Write] CheckBox appearance when the CheckBox is undeterminedundetermined_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
- property check_box_type¶
[Read-Write] The visual type of the checkbox
- Type
- property checked_hovered_image¶
[Read-Write] CheckBox appearance when checked and hovered
- Type
- property checked_image¶
[Read-Write] CheckBox appearance when the CheckBox is checked
- Type
- property checked_pressed_image¶
[Read-Write] CheckBox appearance when checked and pressed
- Type
- property checked_slate_sound¶
[Read-Write] The sound the check box should play when checked
- Type
- property foreground_color¶
[Read-Write] The foreground color
- Type
- property hovered_slate_sound¶
[Read-Write] The sound the check box should play when initially hovered over
- Type
- property unchecked_hovered_image¶
[Read-Write] CheckBox appearance when the CheckBox is unchecked and hovered
- Type
- property unchecked_image¶
[Read-Write] CheckBox appearance when the CheckBox is unchecked (normal)
- Type
- property unchecked_pressed_image¶
[Read-Write] CheckBox appearance when the CheckBox is unchecked and hovered
- Type
- property unchecked_slate_sound¶
[Read-Write] The sound the check box should play when unchecked
- Type
- property undetermined_hovered_image¶
[Read-Write] CheckBox appearance when CheckBox is undetermined and hovered
- Type
- property undetermined_image¶
[Read-Write] CheckBox appearance when the CheckBox is undetermined
- Type
- property undetermined_pressed_image¶
[Read-Write] CheckBox appearance when CheckBox is undetermined and pressed
- Type