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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.NO_DRAW_TYPE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [[1.0, 0.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_FOREGROUND], [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, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[32.0, 32.0], [0.0, 0.0, 0.0, 0.0], [[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], TextTransformPolicy.NONE, TextOverflowPolicy.CLIP], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], outline_color=[[1.0, 1.0, 1.0, 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], border_color=[[1.0, 1.0, 1.0, 1.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], 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], [[0.0, 0.0, 0.0, 1.0], [[0.0, 0.0, 0.0, 0.0], SlateColorStylingMode.USE_COLOR_SPECIFIED], 0.0, SlateBrushRoundingType.HALF_HEIGHT_RADIUS, False], None, SlateBrushDrawType.IMAGE, SlateBrushTileType.NO_TILE, SlateBrushMirrorType.NO_MIRROR], window_corner_radius=0, border_padding=[5.0, 5.0, 5.0, 5.0])¶
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] Active Title Brush: Brush used to draw the window title area when the window is activebackground_brush
(SlateBrush): [Read-Write] Background Brush: Brush used to draw the window backgroundbackground_color
(SlateColor): [Read-Write] Background Color: Color used to draw the window backgroundborder_brush
(SlateBrush): [Read-Write] Border Brush: Brush used to draw the window borderborder_color
(SlateColor): [Read-Write] Border Color: Color used to draw the window borderborder_padding
(Margin): [Read-Write] Border Padding: Window corner rounding. If this value is <= 0 no rounding will occur. Used for regular, non-maximized windows only (not tool-tips or decorators.)child_background_brush
(SlateBrush): [Read-Write] Child Background Brush: Brush used to draw the background of child windowsclose_button_style
(ButtonStyle): [Read-Write] Close Button Style: Style used to draw the window close buttonflash_title_brush
(SlateBrush): [Read-Write] Flash Title Brush: Brush used to draw the window title area when the window is flashinginactive_title_brush
(SlateBrush): [Read-Write] Inactive Title Brush: Brush used to draw the window title area when the window is inactivemaximize_button_style
(ButtonStyle): [Read-Write] Maximize Button Style: Style used to draw the window maximize buttonminimize_button_style
(ButtonStyle): [Read-Write] Minimize Button Style: Style used to draw the window minimize buttonoutline_brush
(SlateBrush): [Read-Write] Outline Brush: Brush used to draw the window outlineoutline_color
(SlateColor): [Read-Write] Outline Color: Color used to draw the window outlinerestore_button_style
(ButtonStyle): [Read-Write] Restore Button Style: Style used to draw the window restore buttontitle_text_style
(TextBlockStyle): [Read-Write] Title Text Style: Style used to draw the window title textwindow_corner_radius
(int32): [Read-Write] Window Corner Radius: Window corner rounding. If this value is <= 0 no rounding will occur. Used for regular, non-maximized windows only (not tool-tips or decorators.)
- property active_title_brush¶
[Read-Write] Active Title Brush: Brush used to draw the window title area when the window is active
- Type
- property background_brush¶
[Read-Write] Background Brush: Brush used to draw the window background
- Type
- property background_color¶
[Read-Write] Background Color: Color used to draw the window background
- Type
- property border_brush¶
[Read-Write] Border Brush: Brush used to draw the window border
- Type
- property border_color¶
[Read-Write] Border Color: Color used to draw the window border
- Type
- property border_padding¶
[Read-Write] Border Padding: Window corner rounding. If this value is <= 0 no rounding will occur. Used for regular, non-maximized windows only (not tool-tips or decorators.)
- Type
(Margin)
- property child_background_brush¶
[Read-Write] Child Background Brush: Brush used to draw the background of child windows
- Type
- property close_button_style¶
[Read-Write] Close Button Style: Style used to draw the window close button
- Type
- property flash_title_brush¶
[Read-Write] Flash Title Brush: Brush used to draw the window title area when the window is flashing
- Type
- property inactive_title_brush¶
[Read-Write] Inactive Title Brush: Brush used to draw the window title area when the window is inactive
- Type
- property maximize_button_style¶
[Read-Write] Maximize Button Style: Style used to draw the window maximize button
- Type
- property minimize_button_style¶
[Read-Write] Minimize Button Style: Style used to draw the window minimize button
- Type
- property outline_brush¶
[Read-Write] Outline Brush: Brush used to draw the window outline
- Type
- property outline_color¶
[Read-Write] Outline Color: Color used to draw the window outline
- Type
- property restore_button_style¶
[Read-Write] Restore Button Style: Style used to draw the window restore button
- Type
- property title_text_style¶
[Read-Write] Title Text Style: Style used to draw the window title text
- Type
- property window_corner_radius¶
[Read-Write] Window Corner Radius: Window corner rounding. If this value is <= 0 no rounding will occur. Used for regular, non-maximized windows only (not tool-tips or decorators.)
- Type
(int32)