unreal.EditableTextStyle

class unreal.EditableTextStyle(font=[None, None, [0, False, False, None, [0.0, 0.0, 0.0, 1.0]], 'Regular', 9, 0], color_and_opacity=[[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], background_image_selected=[[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], background_image_composing=[[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], caret_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])

Bases: unreal.SlateWidgetStyle

Represents the appearance of an SEditableText

C++ Source:

  • Module: SlateCore

  • File: SlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • background_image_composing (SlateBrush): [Read-Write] Background image for the selected text

  • background_image_selected (SlateBrush): [Read-Write] Background image for the selected text

  • caret_image (SlateBrush): [Read-Write] Image brush used for the caret

  • color_and_opacity (SlateColor): [Read-Write] The color and opacity of this text

  • font (SlateFontInfo): [Read-Write] Font family and size to be used when displaying this text.

property background_image_composing

[Read-Write] Background image for the selected text

Type

(SlateBrush)

property background_image_selected

[Read-Write] Background image for the selected text

Type

(SlateBrush)

property caret_image

[Read-Write] Image brush used for the caret

Type

(SlateBrush)

property color_and_opacity

[Read-Write] The color and opacity of this text

Type

(SlateColor)

property font

[Read-Write] Font family and size to be used when displaying this text.

Type

(SlateFontInfo)