unreal.WindowStyle

class unreal.WindowStyle(minimize_button_style=[[[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], [[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], [[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], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [None], [None]], maximize_button_style=[[[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], [[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], [[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], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [None], [None]], restore_button_style=[[[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], [[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], [[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], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [None], [None]], close_button_style=[[[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], [[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], [[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], [[0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [0.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0], [None], [None]], title_text_style=[[None, None, [0, False, False, None, [0.0, 0.0, 0.0, 1.0]], 'None', 24, 0], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [0.0, 0.0], [0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 0.0, 0.0], [[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], [[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], [[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]], active_title_brush=[[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], inactive_title_brush=[[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], flash_title_brush=[[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_color=[[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], outline_brush=[[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], outline_color=[[0.1, 0.1, 0.1, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], border_brush=[[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_brush=[[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], child_background_brush=[[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 SWindow

C++ Source:

  • Module: SlateCore

  • File: SlateTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • active_title_brush (SlateBrush): [Read-Write] Brush used to draw the window title area when the window is active

  • background_brush (SlateBrush): [Read-Write] Brush used to draw the window background

  • background_color (SlateColor): [Read-Write] Color used to draw the window background

  • border_brush (SlateBrush): [Read-Write] Brush used to draw the window border

  • child_background_brush (SlateBrush): [Read-Write] Brush used to draw the background of child windows

  • close_button_style (ButtonStyle): [Read-Write] Style used to draw the window close button

  • flash_title_brush (SlateBrush): [Read-Write] Brush used to draw the window title area when the window is flashing

  • inactive_title_brush (SlateBrush): [Read-Write] Brush used to draw the window title area when the window is inactive

  • maximize_button_style (ButtonStyle): [Read-Write] Style used to draw the window maximize button

  • minimize_button_style (ButtonStyle): [Read-Write] Style used to draw the window minimize button

  • outline_brush (SlateBrush): [Read-Write] Brush used to draw the window outline

  • outline_color (SlateColor): [Read-Write] Color used to draw the window outline

  • restore_button_style (ButtonStyle): [Read-Write] Style used to draw the window restore button

  • title_text_style (TextBlockStyle): [Read-Write] Style used to draw the window title text

property active_title_brush

[Read-Write] Brush used to draw the window title area when the window is active

Type

(SlateBrush)

property background_brush

[Read-Write] Brush used to draw the window background

Type

(SlateBrush)

property background_color

[Read-Write] Color used to draw the window background

Type

(SlateColor)

property border_brush

[Read-Write] Brush used to draw the window border

Type

(SlateBrush)

property child_background_brush

[Read-Write] Brush used to draw the background of child windows

Type

(SlateBrush)

property close_button_style

[Read-Write] Style used to draw the window close button

Type

(ButtonStyle)

property flash_title_brush

[Read-Write] Brush used to draw the window title area when the window is flashing

Type

(SlateBrush)

property inactive_title_brush

[Read-Write] Brush used to draw the window title area when the window is inactive

Type

(SlateBrush)

property maximize_button_style

[Read-Write] Style used to draw the window maximize button

Type

(ButtonStyle)

property minimize_button_style

[Read-Write] Style used to draw the window minimize button

Type

(ButtonStyle)

property outline_brush

[Read-Write] Brush used to draw the window outline

Type

(SlateBrush)

property outline_color

[Read-Write] Color used to draw the window outline

Type

(SlateColor)

property restore_button_style

[Read-Write] Style used to draw the window restore button

Type

(ButtonStyle)

property title_text_style

[Read-Write] Style used to draw the window title text

Type

(TextBlockStyle)